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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
jbe 0x416f91
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x44c]
xor ebx, ebx
xor ebp, ebp
cmp eax, 8
jb 0x416c99
mov ecx, esi
call fcn.00416b60
mov byte [esi + 0x454], al
mov dword [esi + 0x44c], ebx
mov ecx, dword [esi + 0x44c]
mov al, byte [esi + 0x454]
mov edx, 1
shl edx, cl
test al, dl
je 0x416cb5
mov ebp, 1
mov eax, dword [esp + 0x14]
mov edi, ebp
and ebp, 0xffff
inc ecx
cmp ebp, eax
mov dword [esi + 0x44c], ecx
jle 0x416d04
mov ebp, dword [esp + 0x1c]
cmp ebx, 0xf
jge 0x416cfd
push 1
mov ecx, esi
call fcn.00416bb0
lea ecx, [edi + edi]
add ebp, 4
or eax, ecx
inc ebx
mov edi, eax
mov eax, dword [ebp]
mov edx, edi
and edx, 0xffff
cmp edx, eax
jg 0x416cd0
cmp ebx, 0xf
jl 0x416d04
mov eax, 0x87770015
jmp 0x416d2e
mov ecx, dword [esp + 0x1c]
xor eax, eax
and edi, 0xffff
mov ax, word [ecx + ebx*2 + 0x78]
mov edx, eax
mov eax, dword [ecx + ebx*4 + 0x3c]
sub edx, eax
xor eax, eax
add edx, edi
mov ax, word [ecx + edx*2 + 0x96]
cmp eax, 0x10
jge 0x416d43
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x416f81
jne 0x416e02
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x44c], 8
jb 0x416d98
mov eax, dword [esi + 0x450]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x416d79
mov ecx, esi
call fcn.00416560
mov ecx, dword [esi + 0x450]
mov eax, dword [esi + 8]
cmp ecx, eax
jae 0x416d65
mov eax, dword [esi + 0x450]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x44c], ebx
mov cl, byte [edx + eax]
inc eax
mov dword [esi + 0x450], eax
mov byte [esi + 0x454], cl
mov eax, dword [esi + 0x44c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov cl, byte [esi + 0x454]
test cl, dl
je 0x416dbc
mov edx, 1
mov ecx, edi
shl edx, cl
or ebp, edx
inc eax
inc edi
cmp edi, 2
mov dword [esi + 0x44c], eax
jb 0x416d4f
lea edx, [ebp + 3]
xor ecx, ecx
cmp edx, ebx
jle 0x416f81
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [eax + edi*4]
cmp edi, dword [esp + 0x24]
je 0x416f9d
mov ebx, dword [eax - 4]
inc edi
mov dword [eax], ebx
add eax, 4
inc ecx
mov dword [esp + 0x10], edi
cmp ecx, edx
jl 0x416de1
jmp 0x416f81
cmp eax, 0x11
jne 0x416ec5
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x44c], 8
jb 0x416e5a
mov ecx, dword [esi + 0x450]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x416e3b
mov ecx, esi
call fcn.00416560
mov edx, dword [esi + 0x450]
mov eax, dword [esi + 8]
cmp edx, eax
jae 0x416e27
mov eax, dword [esi + 0x450]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44c], ebx
mov cl, byte [ecx + eax]
inc eax
mov dword [esi + 0x450], eax
mov byte [esi + 0x454], cl
mov eax, dword [esi + 0x44c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov cl, byte [esi + 0x454]
test cl, dl
je 0x416e7e
mov edx, 1
mov ecx, edi
shl edx, cl
or ebp, edx
inc eax
inc edi
cmp edi, 3
mov dword [esi + 0x44c], eax
jb 0x416e11
lea edx, [ebp + 3]
xor ecx, ecx
cmp edx, ebx
jle 0x416f81
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [eax + edi*4]
cmp edi, dword [esp + 0x24]
je 0x416f9d
mov dword [eax], 0
inc edi
add eax, 4
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], edi
jl 0x416ea3
jmp 0x416f81
cmp eax, 0x12
jne 0x416f9d
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x44c], 8
jb 0x416f1d
mov ecx, dword [esi + 0x450]
mov eax, dword [esi + 8]
cmp ecx, eax
jb 0x416efe
mov ecx, esi
call fcn.00416560
mov edx, dword [esi + 0x450]
mov eax, dword [esi + 8]
cmp edx, eax
jae 0x416eea
mov eax, dword [esi + 0x450]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x44c], ebx
mov cl, byte [ecx + eax]
inc eax
mov dword [esi + 0x450], eax
mov byte [esi + 0x454], cl
mov eax, dword [esi + 0x44c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov cl, byte [esi + 0x454]
test cl, dl
je 0x416f41
mov edx, 1
mov ecx, edi
shl edx, cl
or ebp, edx
inc eax
inc edi
cmp edi, 7
mov dword [esi + 0x44c], eax
jb 0x416ed4
lea edx, [ebp + 0xb]
xor ecx, ecx
cmp edx, ebx
jle 0x416f81
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [eax + edi*4]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
cmp edi, ebx
je 0x416f9d
mov dword [eax], 0
inc edi
add eax, 4
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], edi
jl 0x416f62
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jb 0x416c77
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0x87770015
pop ebx
add esp, 8
ret 0xc