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

Disassembly:
sub esp, 0x60
cmp dword [0x4508c0], 0
push ebp
mov ebp, dword [esp + 0x68]
push edi
je 0x41a6a5
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 0x41a6b9
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.00415350
test eax, eax
je 0x41aa59
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.004153e0
add esp, 0x18
test eax, eax
je 0x41a916
push esi
jmp 0x41a710
movzx eax, byte [esp + 0x12]
add dword [esp + 0x28], 1
test al, al
js 0x41aa23
and eax, 0x3f
add eax, 0xffffffff
cmp eax, 0xc
ja case.0x41a731.1
jmp dword [eax*4 + 0x41aa64]
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 0x4290c6
push edx
push edi
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x41a731.1
mov eax, dword [esp + 0x14]
movsx ecx, word [eax]
jmp 0x41a73f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x41a73f
cmp dword [esp + 0x7c], 0
je case.0x41a731.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 0x4290c6
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.00419ba0
add esp, 0x2c
jmp case.0x41a731.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 0x4290c6
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, 0x433d94
je 0x41a800
mov ecx, dword [eax]
cmp dword [0x437014], 0
mov eax, 0x433e44
jne 0x41a813
mov eax, 0x433e40
push ecx
push eax
mov ecx, ebp
call fcn.00413430
push 0x433e3c
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp case.0x41a731.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 0x4290c6
push eax
push str._n_s_7s_7s____20s__f
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x24
jmp case.0x41a731.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 0x4290c6
push ecx
push str._n_s_7s_7s____20s__
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
cmp dword [0x437014], 0
mov ebx, 0x433e44
jne 0x41a8a1
mov ebx, 0x433e40
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push edx
call fcn.00413de0
mov esi, eax
push esi
push ebx
mov ecx, ebp
call fcn.00413430
push 0x433e3c
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x14
cmp edi, esi
je 0x41a8db
mov eax, dword [0x438ec8]
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.004153e0
add esp, 0x18
test eax, eax
jne 0x41a710
pop esi
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop ebp
add esp, 0x60
ret
cmp dword [0x437014], 0
je 0x41a933
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
jmp 0x41a93a
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 0x4290c6
push eax
push edi
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x41a731.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 0x4290c6
push edx
push str._n_s_7s_7s____20s__g
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x24
jmp case.0x41a731.1
cmp dword [0x4508c0], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea esi, [esp + 0x3c]
push edx
je 0x41a9ee
call fcn.004138f0
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 0x4290c6
push eax
push str._n_s_7s_7s____20s___s
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x28
jmp case.0x41a731.1
call fcn.004138b0
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 0x4290c6
push eax
push str._n_s_7s_7s____20s__s
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x28
jmp case.0x41a731.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 0x4290c6
push eax
push ecx
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x20
jmp case.0x41a731.1
pop edi
xor eax, eax
pop ebp
add esp, 0x60
ret