Function at 0x417db7
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 0x417e4a
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 0x417ded
mov dword [ebp - 0xc], 1
jmp 0x417df2
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
test cl, cl
je 0x417dfd
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x417e04
mov dword [ebp - 8], 1
lea ebx, [edi + 0x70]
mov ecx, ebx
call fcn.004093e2
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x417e24
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.00417c61
dec dword [ebp - 0xc]
jne 0x417e18
add edi, 0x7c
mov ecx, edi
call fcn.004093e2
mov ebx, dword [ebp - 8]
test ebx, ebx
jbe 0x417e3f
mov ecx, edi
call fcn.00417c61
dec ebx
jne 0x417e35
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x7c]
jb 0x417dcc
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x417f5b
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 0x417e7d
mov ebx, dword [ecx + 4]
jmp 0x417e7f
mov ebx, edx
test al, al
je 0x417e87
mov ecx, edx
jmp 0x417e8a
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.00412b24
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 0x41a4b0
add ecx, 0x18
call fcn.0041777e
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + eax]
push 0x41a4b0
add ecx, 0x18
call fcn.0041777e
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x417f32
cmp dword [ebp - 8], 0
je 0x417f42
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 0x417f42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x417f4c
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 0x417e58
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 0x417f7b
mov eax, dword [eax + 0x70]
push dword [ebx]
mov ecx, dword [eax]
call fcn.0040c120
jmp 0x417f8a
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
push dword [ecx]
mov ecx, dword [eax]
call fcn.00412da5
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x417fe3
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 0x417fcd
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edx + ebx]
mov ecx, dword [ecx + eax*4]
call fcn.00412da5
jmp 0x417fda
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040c120
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x417f99
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8