Function at 0x10003380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1011efc5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x1c], edi
jge 0x100033b7
xor ebp, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x20]
mov dword [esp + 0x70], 1
mov ecx, dword [ecx + 4]
push eax
call fcn.100e37f0
mov ebx, dword [esp + 0x24]
cmp ebx, edi
mov esi, dword [esp + 0x28]
jne 0x100033e8
xor eax, eax
jmp 0x100033fd
mov ecx, esi
sub ecx, ebx
mov eax, 0x63e7063f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x80], eax
jbe 0x1000342d
cmp ebx, edi
jne 0x10003413
mov dword [esp + 0x80], edi
jmp 0x1000342d
sub esi, ebx
mov eax, 0x63e7063f
imul esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
push ecx
call fcn.10007d70
cmp ebp, dword [esp + 0x80]
mov dword [esp + 0x1c], 1
mov ebx, ebp
jae 0x10003563
imul ebp, ebp, 0x148
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x7c], edi
mov ebp, dword [esp + 0x24]
cmp ebp, edi
je 0x1000348a
mov ecx, dword [esp + 0x28]
sub ecx, ebp
mov eax, 0x63e7063f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10003494
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
add ebp, edx
cmp eax, edi
je 0x100034bd
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x100034c3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 4]
add edi, dword [esp + 0x7c]
lea eax, [ebp + 0xc]
push eax
lea esi, [esp + 0x34]
call fcn.10015480
mov ecx, esi
push ecx
lea esi, [esp + 0x50]
call fcn.100a8030
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x74], 2
call dword [0x1012717c]
mov ecx, esi
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp + 0xdc]
push edx
lea ecx, [edi + 0x1c]
call dword [0x1012717c]
mov eax, dword [ebp + 0x2c]
add dword [esp + 0x7c], 0x58
add dword [esp + 0x14], 0x148
add dword [esp + 0x18], 1
mov esi, dword [esp + 0x78]
mov dword [edi + 0x38], eax
mov ecx, dword [ebp + 0x28]
mov dword [edi + 0x3c], ecx
mov edx, dword [ebp + 0x40]
mov dword [edi + 0x48], edx
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x4c], eax
mov ecx, dword [ebp + 0x38]
mov dword [edi + 0x40], ecx
mov edx, dword [ebp + 0x3c]
mov dword [edi + 0x44], edx
mov eax, dword [ebp]
mov dword [edi + 0x50], eax
add ebx, 1
xor edi, edi
cmp ebx, dword [esp + 0x80]
jb 0x10003467
mov byte [esp + 0x70], 0
mov ebx, dword [esp + 0x24]
cmp ebx, edi
je 0x100035dd
mov eax, dword [esp + 0x28]
cmp ebx, eax
mov ebp, eax
mov dword [esp + 0x80], ebx
je 0x100035d4
mov edi, 3
jmp 0x10003590
lea ecx, [ebx + 0xdc]
mov dword [esp + 0x70], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x70], 0
test byte [ebx + 0x64], 1
je 0x100035b8
mov ecx, dword [ebx + 0x5c]
push ecx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [ebx + 0x5c], 0
add ebx, 0x148
cmp ebx, ebp
mov dword [esp + 0x80], ebx
jne 0x10003590
mov ebx, dword [esp + 0x24]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc