Function at 0x417ecd
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 0x417f60
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 0x417f03
mov dword [ebp - 0xc], 1
jmp 0x417f08
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
test cl, cl
je 0x417f13
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x417f1a
mov dword [ebp - 8], 1
lea ebx, [edi + 0x70]
mov ecx, ebx
call fcn.00417d76
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x417f3a
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.0041373b
dec dword [ebp - 0xc]
jne 0x417f2e
add edi, 0x7c
mov ecx, edi
call fcn.00417d76
mov ebx, dword [ebp - 8]
test ebx, ebx
jbe 0x417f55
mov ecx, edi
call fcn.0041373b
dec ebx
jne 0x417f4b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x7c]
jb 0x417ee2
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x418071
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 0x417f93
mov ebx, dword [ecx + 4]
jmp 0x417f95
mov ebx, edx
test al, al
je 0x417f9d
mov ecx, edx
jmp 0x417fa0
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.00412c86
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.00417893
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + eax]
push 0x41a4b0
add ecx, 0x18
call fcn.00417893
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x418048
cmp dword [ebp - 8], 0
je 0x418058
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 0x418058
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x418062
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 0x417f6e
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 0x418091
mov eax, dword [eax + 0x70]
push dword [ebx]
mov ecx, dword [eax]
call fcn.0040aca0
jmp 0x4180a0
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 0x4180f9
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 0x4180e3
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edx + ebx]
mov ecx, dword [ecx + eax*4]
call fcn.00401ae1
jmp 0x4180f0
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040aca0
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x4180af
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8