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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x7c], 0
push edi
jbe 0x417ded
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x78]
shl ecx, 2
mov edi, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov cl, byte [esi + 0x60]
test cl, cl
je 0x417d90
mov dword [ebp - 0xc], 1
jmp 0x417d95
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
test cl, cl
je 0x417da0
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x417da7
mov dword [ebp - 8], 1
lea ebx, [edi + 0x70]
mov ecx, ebx
call fcn.00409447
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x417dc7
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.00413643
dec dword [ebp - 0xc]
jne 0x417dbb
add edi, 0x7c
mov ecx, edi
call fcn.00409447
mov ebx, dword [ebp - 8]
test ebx, ebx
jbe 0x417de2
mov ecx, edi
call fcn.00413643
dec ebx
jne 0x417dd8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x7c]
jb 0x417d6f
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x417efe
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x30]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
mov edx, dword [edx + eax*4]
sub eax, dword [edi + edx*4]
mov edi, eax
mov al, byte [esi + 0x60]
test al, al
je 0x417e20
mov ebx, dword [ecx + 4]
jmp 0x417e22
mov ebx, edx
test al, al
je 0x417e2a
mov ecx, edx
jmp 0x417e2d
mov ecx, dword [ecx + 4]
mov dl, al
neg dl
sbb edx, edx
not edx
and edx, edi
neg al
mov dword [ebp - 0x10], edx
sbb eax, eax
and eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esi + 0x78]
shl edi, 2
mov ecx, dword [edi + eax]
mov ecx, dword [ecx + 0x7c]
push dword [ecx + edx*4]
mov ecx, dword [ebp - 0x10]
shl ebx, 2
mov eax, dword [ebx + eax]
mov eax, dword [eax + 0x70]
push dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x14], edx
call fcn.00412b2d
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + eax]
push 0x41a4a8
add ecx, 0x18
call fcn.0041774f
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + eax]
push 0x41a4a8
add ecx, 0x18
call fcn.0041774f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x417ed5
cmp dword [ebp - 8], 0
je 0x417ee5
mov ecx, dword [eax]
mov edi, 0x80000
push edi
push dword [ebp - 0x10]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x417ee5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x417eef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x417dfb
cmp byte [esi + 0x60], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*4]
mov ebx, dword [ebp + 8]
je 0x417f1e
mov eax, dword [eax + 0x70]
push dword [ebx]
mov ecx, dword [eax]
call fcn.0040abd0
jmp 0x417f2d
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
push dword [ecx]
mov ecx, dword [eax]
call fcn.00409012
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x417f86
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + edi*4]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi + 0x30]
shl ecx, 2
sub eax, dword [ecx + edx]
cmp byte [esi + 0x60], 0
mov edx, dword [esi + 0x78]
mov ecx, dword [ecx + edx]
je 0x417f70
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edx + ebx]
mov ecx, dword [ecx + eax*4]
call fcn.00409012
jmp 0x417f7d
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040abd0
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x417f3c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8