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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x890], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
test esi, esi
jne 0x41c7b7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0xa2]
push eax
mov word [esp + 0xa4], dx
call fcn.004da450
add esp, 0xc
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x4a2]
push edx
mov word [esp + 0x4a4], cx
call fcn.004da450
add esp, 0xc
push esi
lea ecx, [esp + 0x3c]
call fcn.0041a8a0
lea ebx, [esp + 0x24]
call fcn.00406f20
lea ebx, [esp + 0x18]
call fcn.00406f20
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov esi, ebx
mov dword [eax + 8], ecx
call fcn.0041aa20
lea ecx, [esp + 0x38]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c84f
movzx edx, word [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x41c857
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x58]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c873
movzx eax, word [esp + 0x62]
mov dword [esp + 0x10], eax
jmp 0x41c87b
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x88]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c899
movzx ebx, word [esp + 0x90]
jmp 0x41c89c
or ebx, 0xffffffff
lea ecx, [esp + 0x78]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c8b4
movzx edi, word [esp + 0x78]
jmp 0x41c8b7
or edi, 0xffffffff
lea ecx, [esp + 0x48]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c8cf
movzx esi, word [esp + 0x4e]
jmp 0x41c8d2
or esi, 0xffffffff
lea ecx, [esp + 0x68]
lea eax, [esp + 0x24]
call fcn.00406fa0
test al, al
je 0x41c8ea
movzx eax, word [esp + 0x6a]
jmp 0x41c8ed
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
push edi
push esi
push eax
push str._d__d__d__d:_d:_d
lea edx, [esp + 0xb4]
call fcn.00401000
add esp, 0x1c
lea ecx, [esp + 0x68]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c92b
movzx eax, word [esp + 0x74]
mov dword [esp + 0x10], eax
jmp 0x41c933
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x48]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c94f
movzx ecx, word [esp + 0x52]
mov dword [esp + 0x14], ecx
jmp 0x41c957
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x78]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c972
movzx edi, word [esp + 0x80]
jmp 0x41c975
or edi, 0xffffffff
lea ecx, [esp + 0x88]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c993
movzx ebx, word [esp + 0x88]
jmp 0x41c996
or ebx, 0xffffffff
lea ecx, [esp + 0x58]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c9ae
movzx esi, word [esp + 0x5e]
jmp 0x41c9b1
or esi, 0xffffffff
lea ecx, [esp + 0x38]
lea eax, [esp + 0x18]
call fcn.00406fa0
test al, al
je 0x41c9c9
movzx eax, word [esp + 0x3a]
jmp 0x41c9cc
or eax, 0xffffffff
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push edi
push ebx
push esi
push eax
push str._d__d__d__d:_d:_d
lea edx, [esp + 0x4b4]
call fcn.00401000
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xb4]
mov ecx, eax
add esp, 0x1c
sub edx, ecx
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ca00
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x498]
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ca20
mov ecx, dword [esp + 0x89c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4