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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
cmp dword [ebp + 8], 0
jne 0x41d5e3
xor eax, eax
jmp 0x41d801
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov edx, 8
imul edx, edx, 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
and edx, 0xffff0000
jne 0x41d63c
mov dword [ebp - 0x2c], 1
jmp 0x41d643
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 1], al
mov dword [ebp - 0x18], 0
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x41d6bf
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], 0
jmp 0x41d676
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x24]
jae 0x41d6bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
movsx eax, word [edx + ecx*2]
add eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x30]
jne 0x41d6bb
mov edx, dword [ebp - 0x30]
and edx, 0xffff
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x18], edx
jmp 0x41d6bd
jmp 0x41d66d
jmp 0x41d72e
mov dword [ebp - 0xc], 0
jmp 0x41d6d1
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x18]
jae 0x41d72e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00403090
add esp, 8
test eax, eax
jne 0x41d72c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
movsx ecx, word [eax + edx*2]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
and edx, 0xffff
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x18], edx
jmp 0x41d72e
jmp 0x41d6c8
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d890
add esp, 8
movzx edx, al
test edx, edx
je 0x41d7fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push 0x2e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041d850
add esp, 8
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040325c
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0041d810
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x14]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00402eb0
add esp, 4
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
call fcn.0040325c
add esp, 4
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041d810
add esp, 0xc
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
mov byte [eax], 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041d590
add esp, 8
jmp 0x41d801
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret