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

Disassembly:
sub esp, 0x60
cmp dword [0x437dc8], 0
push ebp
mov ebp, dword [esp + 0x68]
push edi
je 0x40a125
mov edi, str._n_s_7s_7s____20s___X
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], str._n_s_7s_7s___20s___X
jmp 0x40a139
mov dword [esp + 0x1c], str._n_s_7s_7s____20s__d
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], str._n_s_7s_7s___20s__d
call fcn.00404dd0
test eax, eax
je 0x40a4d9
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x28]
lea eax, [esp + 0x27]
mov dword [esp + 0x3c], 0
call fcn.00404e60
add esp, 0x18
test eax, eax
je 0x40a396
push esi
jmp 0x40a190
movzx eax, byte [esp + 0x12]
add dword [esp + 0x28], 1
test al, al
js 0x40a4a3
and eax, 0x3f
add eax, 0xffffffff
cmp eax, 0xc
ja case.0x40a1b1.1
jmp dword [eax*4 + 0x40a4e4]
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push 0x419157
push edx
push edi
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x40a1b1.1
mov eax, dword [esp + 0x14]
movsx ecx, word [eax]
jmp 0x40a1bf
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x40a1bf
cmp dword [esp + 0x7c], 0
je case.0x40a1b1.1
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
push esi
push eax
push ecx
push edx
push 0x419157
push ebx
push str._n_s_7s_7s___s._s
push ebp
call sub.MSVCRT.dll_fprintf
mov eax, dword [esp + 0x34]
push eax
add ebx, 7
push ebx
push ebp
mov eax, esi
call fcn.00409620
add esp, 0x2c
jmp case.0x40a1b1.1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 0x419157
push ecx
push str._n_s_7s_7s____20s__
push ebp
call sub.MSVCRT.dll_fprintf
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp dword [eax], 0
mov ecx, 0x41c374
je 0x40a280
mov ecx, dword [eax]
cmp dword [0x41f014], 0
mov eax, 0x41c424
jne 0x40a293
mov eax, 0x41c420
push ecx
push eax
mov ecx, ebp
call fcn.00402eb0
push 0x41c41c
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp case.0x40a1b1.1
mov edx, dword [esp + 0x14]
fld dword [edx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push 0x419157
push eax
push str._n_s_7s_7s____20s__f
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x24
jmp case.0x40a1b1.1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 0x419157
push ecx
push str._n_s_7s_7s____20s__
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
cmp dword [0x41f014], 0
mov ebx, 0x41c424
jne 0x40a321
mov ebx, 0x41c420
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push edx
call fcn.00403860
mov esi, eax
push esi
push ebx
mov ecx, ebp
call fcn.00402eb0
push 0x41c41c
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x14
cmp edi, esi
je 0x40a35b
mov eax, dword [0x4203f4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1a]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0x2c]
lea eax, [esp + 0x2b]
call fcn.00404e60
add esp, 0x18
test eax, eax
jne 0x40a190
pop esi
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop ebp
add esp, 0x60
ret
cmp dword [0x41f014], 0
je 0x40a3b3
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
jmp 0x40a3ba
mov edx, dword [esp + 0x14]
movzx eax, byte [edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push 0x419157
push eax
push edi
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x40a1b1.1
mov ecx, dword [esp + 0x14]
fld qword [ecx]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push 0x419157
push edx
push str._n_s_7s_7s____20s__g
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x24
jmp case.0x40a1b1.1
cmp dword [0x437dc8], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea esi, [esp + 0x3c]
push edx
je 0x40a46e
call fcn.00403370
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push 0x419157
push eax
push str._n_s_7s_7s____20s___s
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x28
jmp case.0x40a1b1.1
call fcn.00403330
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push 0x419157
push eax
push str._n_s_7s_7s____20s__s
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x28
jmp case.0x40a1b1.1
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push 0x419157
push eax
push ecx
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x40a1b1.1
pop edi
xor eax, eax
pop ebp
add esp, 0x60
ret