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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x571c91
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x59ad00]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
push edi
mov eax, dword [0x59ad00]
xor eax, esp
push eax
lea eax, [esp + 0x8f8]
mov dword fs:[0], eax
mov eax, dword [str._TMP_pnew.bin]
mov ecx, dword [0x57bd58]
mov edx, dword [0x57bd5c]
mov dword [esp + 0x4bc], eax
movzx eax, word [0x57bd60]
push 0x1f2
mov dword [esp + 0x4c4], ecx
xor ebx, ebx
lea ecx, [esp + 0x4ce]
push ebx
push ecx
mov dword [esp + 0x4d0], edx
mov word [esp + 0x4d4], ax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x4c8]
push 0x200
push edx
call fcn.00535d40
mov eax, dword [str._TMP_ztop.tmp]
mov ecx, dword [0x57bd48]
mov edx, dword [0x57bd4c]
mov dword [esp + 0x2d0], eax
movzx eax, word [0x57bd50]
push 0x1f2
mov dword [esp + 0x2d8], ecx
lea ecx, [esp + 0x2e2]
push ebx
push ecx
mov dword [esp + 0x2e4], edx
mov word [esp + 0x2e8], ax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x2dc]
push 0x200
push edx
call fcn.00535d40
mov ecx, dword [0x57bd38]
mov eax, dword [str._TMP_stockf.res]
mov edx, dword [0x57bd3c]
push 0x1f0
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe8], eax
mov eax, dword [0x57bd40]
lea ecx, [esp + 0xf8]
push ebx
push ecx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0xf0]
push 0x200
push edx
call fcn.00535d40
mov eax, dword [str._TMP_spi.res]
mov ecx, dword [0x57bd28]
mov edx, dword [0x57bd2c]
push 0x1f3
mov dword [esp + 0x700], ecx
mov dword [esp + 0x6fc], eax
mov al, byte [0x57bd30]
lea ecx, [esp + 0x709]
push ebx
push ecx
mov dword [esp + 0x70c], edx
mov byte [esp + 0x710], al
call sub.MSVCR100.dll_memset
add esp, 0x48
lea edx, [esp + 0x6bc]
push 0x200
push edx
call fcn.00535d40
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0050bae0
lea ecx, [esp + 0x14]
mov dword [esp + 0x900], ebx
call fcn.0050bb20
cmp eax, ebx
je 0x41e7ba
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push 0x57bb5c
call esi
push str._Invalid_outil.par._n
call esi
push 0x57bb5c
call esi
add esp, 0xc
jmp 0x41ea07
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x18]
call fcn.0050bc80
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.0050bc60
fld qword [esp + 0x8c]
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x41e82b
mov esi, dword [sym.imp.MSVCR100.dll_printf]
fstp st(1)
push 0x57bb5c
fstp st(0)
call esi
push 0x57bce8
call esi
push 0x57bb5c
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x900], 0xffffffff
call fcn.0050baf0
or eax, 0xffffffff
jmp 0x41ea1d
fsubrp st(1)
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
fstp qword [esp + 0x40]
call fcn.0050bca0
fld qword [esp + 0x3c]
fmul qword [0x57bce0]
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x41e85a
fstp qword [esp + 0x2c]
jmp 0x41e85c
fstp st(0)
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.0050bcf0
mov eax, dword [esp + 0x38]
dec eax
je 0x41e89a
dec eax
je 0x41e893
sub eax, 8
je 0x41e88c
push str._Invalid_morphing_start_type_____n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
jmp 0x41ea07
mov edi, 3
jmp 0x41e89f
mov edi, 1
jmp 0x41e89f
mov edi, 2
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x904], 1
call fcn.0050c490
xor esi, esi
cmp al, bl
je 0x41e8ef
cmp dword [esp + 0xb4], 0x10
mov esi, dword [esp + 0xa0]
jae 0x41e8ef
lea esi, [esp + 0xa0]
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x18]
call fcn.0050bcd0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x18]
call fcn.0050c330
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0050bcb0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x4c4]
push ecx
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x90c], 2
call fcn.0041e1b0
fld qword [esp + 0x38]
add esp, 0xc
lea edx, [esp + 0x6bc]
push edx
push esi
push edi
sub esp, 0x30
fstp qword [esp + 0x28]
lea eax, [esp + 0x90]
fld qword [esp + 0xd0]
lea ecx, [esp + 0x50]
fstp qword [esp + 0x20]
fld qword [esp + 0xc0]
fstp qword [esp + 0x18]
fld qword [esp + 0x78]
fstp qword [esp + 0x10]
fld qword [esp + 0x80]
fstp qword [esp + 8]
fld qword [esp + 0x88]
fstp qword [esp]
push eax
call fcn.0041d0f0
add esp, 0x40
lea ecx, [esp + 0x54]
call fcn.0041de90
cmp dword [esp + 0xb4], 0x10
jb 0x41e9ee
mov ecx, dword [esp + 0xa0]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x900], 0xffffffff
call fcn.0050baf0
xor eax, eax
mov ecx, dword [esp + 0x8f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret