Function at 0x414980
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 0x414a13
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 0x4149b6
mov dword [ebp - 0xc], 1
jmp 0x4149bb
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
test cl, cl
je 0x4149c6
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4149cd
mov dword [ebp - 8], 1
lea ebx, [edi + 0x70]
mov ecx, ebx
call fcn.00414806
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x4149ed
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.0041482a
dec dword [ebp - 0xc]
jne 0x4149e1
add edi, 0x7c
mov ecx, edi
call fcn.00414806
mov ebx, dword [ebp - 8]
test ebx, ebx
jbe 0x414a08
mov ecx, edi
call fcn.0041482a
dec ebx
jne 0x4149fe
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x7c]
jb 0x414995
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x414b24
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 0x414a46
mov ebx, dword [ecx + 4]
jmp 0x414a48
mov ebx, edx
test al, al
je 0x414a50
mov ecx, edx
jmp 0x414a53
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.0040f8ca
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 0x416480
add ecx, 0x18
call fcn.00414323
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + eax]
push 0x416480
add ecx, 0x18
call fcn.00414323
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x414afb
cmp dword [ebp - 8], 0
je 0x414b0b
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 0x414b0b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x414b15
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 0x414a21
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 0x414b44
mov eax, dword [eax + 0x70]
push dword [ebx]
mov ecx, dword [eax]
call fcn.004090a0
jmp 0x414b53
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
push dword [ecx]
mov ecx, dword [eax]
call fcn.0040f54b
xor edi, edi
cmp dword [esi + 0x24], edi
jbe 0x414bac
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 0x414b96
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edx + ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040f54b
jmp 0x414ba3
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.004090a0
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x414b62
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8