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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x592b00
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
cmp dword [ebp + 0x34], 0
jne 0x47126a
lea eax, [esp + 0x44]
push eax
call fcn.00410c80
mov dword [esp + 0x88], 0
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov edi, dword [ebp + 0x50]
mov eax, dword [ebp + 0x38]
test esi, esi
je 0x470ff3
cmp esi, eax
je 0x470ff9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x47105f
test esi, esi
jne 0x47105b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x18]
jne 0x471012
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ecx
call eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0042ca80
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0042cb30
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [esp + 0x20]
call fcn.00469990
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x470fe5
mov esi, dword [esi]
jmp 0x471007
mov eax, dword [ebp + 0x18]
push 1
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00457080
mov byte [esp + 0x88], 1
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00457320
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx]
mov esi, eax
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x3c]
test eax, eax
je 0x4710b3
cmp eax, esi
je 0x4710b9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x47114a
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x47113e
call edi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4710d6
call edi
test esi, esi
jne 0x471142
call edi
cmp ebx, dword [esi + 0x14]
jne 0x4710e3
call edi
mov esi, dword [ebp + 0x30]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 8]
add ebp, 0x1c
lea eax, [esp + 0x18]
push eax
push ecx
push esi
mov dword [esp + 0x24], edx
call fcn.004645f0
mov ecx, ebp
mov edi, eax
call fcn.00415da0
mov eax, dword [esp + 0x20]
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
test eax, eax
jne 0x471146
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x47112b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x4710a7
mov eax, dword [esi]
jmp 0x4710cf
mov esi, dword [esi]
jmp 0x4710dc
mov eax, dword [eax]
jmp 0x471120
mov byte [esp + 0x88], 3
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
cmp eax, ecx
je 0x471186
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x471171
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
xor edi, edi
add esp, 4
mov dword [esp + 0x3c], edi
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x88], 7
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], edi
cmp eax, ecx
je 0x4711e5
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4711d0
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x74], edi
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x60]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x88], 0xb
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x58]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], edi
cmp eax, ecx
je 0x471245
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x5c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x471230
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x88], 0xffffffff
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret