Function at 0x417250
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 0x4172e3
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 0x417286
mov dword [ebp - 0xc], 1
jmp 0x41728b
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
test cl, cl
je 0x417296
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41729d
mov dword [ebp - 8], 1
lea ebx, [edi + 0x70]
mov ecx, ebx
call fcn.004170d6
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x4172bd
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.004170fa
dec dword [ebp - 0xc]
jne 0x4172b1
add edi, 0x7c
mov ecx, edi
call fcn.004170d6
mov ebx, dword [ebp - 8]
test ebx, ebx
jbe 0x4172d8
mov ecx, edi
call fcn.004170fa
dec ebx
jne 0x4172ce
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x7c]
jb 0x417265
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x4173f4
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 0x417316
mov ebx, dword [ecx + 4]
jmp 0x417318
mov ebx, edx
test al, al
je 0x417320
mov ecx, edx
jmp 0x417323
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 0x412059
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 0x4194b0
add ecx, 0x18
call fcn.00416bfe
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + eax]
push 0x4194b0
add ecx, 0x18
call fcn.00416bfe
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4173cb
cmp dword [ebp - 8], 0
je 0x4173db
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 0x4173db
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4173e5
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 0x4172f1
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 0x417414
mov eax, dword [eax + 0x70]
push dword [ebx]
mov ecx, dword [eax]
call fcn.0040c2e0
jmp 0x417423
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
push dword [ecx]
mov ecx, dword [eax]
call fcn.00401ae1
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x41747c
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 0x417466
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edx + ebx]
mov ecx, dword [ecx + eax*4]
call fcn.00401ae1
jmp 0x417473
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040c2e0
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x417432
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8