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

Disassembly:
sub esp, 0x12c
push ebx
push ebp
mov edx, 4
push esi
mov esi, 8
mov ebx, pe_nt_image_headers32
mov ebp, 0xa0
push edi
mov edi, 2
mov dword [esp + 0x5c], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xe4], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0xf4], edx
mov dword [esp + 0x130], edx
mov edx, dword [ecx + 0x14c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0x10
mov dword [esp + 0x68], 0x1e
mov dword [esp + 0x6c], 0x3c
mov dword [esp + 0x74], 0x78
mov dword [esp + 0x80], 0x78
mov dword [esp + 0x88], 0x3c
mov dword [esp + 0x8c], 0x1e
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], 1
mov edi, dword [esp + edx*4 + 0x58]
mov ebp, 0x64
mov ebx, 0xc8
mov dword [esp + 0x38], edi
mov edi, dword [ecx + 0x9c]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
xor ebx, ebx
mov dword [esp + 0x118], ebp
xor ebp, ebp
xor eax, eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], 0x10
mov dword [esp + 0xb4], 0x14
mov dword [esp + 0xb8], 0x20
mov dword [esp + 0xbc], 0x28
mov dword [esp + 0xd0], 0x28
mov dword [esp + 0xd4], 0x20
mov dword [esp + 0xd8], 0x14
mov dword [esp + 0xdc], 0x10
mov dword [esp + 0xe0], esi
mov dword [esp + 0xec], 1
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], 0x14
mov dword [esp + 0x100], 0x19
mov dword [esp + 0x104], 0x28
mov dword [esp + 0x108], 0x32
mov dword [esp + 0x11c], 0x32
mov dword [esp + 0x120], 0x28
mov dword [esp + 0x124], 0x19
mov dword [esp + 0x128], 0x14
mov dword [esp + 0x12c], esi
mov dword [esp + 0x138], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
cmp edi, 0x280
jne 0x416d67
mov ebp, dword [esp + edx*4 + 0xa4]
mov dword [esp + 0x44], ebp
cmp edi, 0x320
jne 0x416d7a
mov ebp, dword [esp + edx*4 + 0xf0]
mov dword [esp + 0x44], ebp
mov edi, ebp
imul edi, ebp
cmp edx, esi
mov dword [esp + 0x50], edi
jg 0x416d8f
mov edx, dword [ecx + 0x140]
jmp 0x416d95
mov edx, dword [ecx + 0x13c]
mov esi, dword [edx + 0xa0]
cmp ebp, 1
je 0x417001
cmp dword [ecx + 0xa0], ebx
mov dword [esp + 0x2c], ebx
jle 0x417059
jmp 0x416dc0
cmp dword [ecx + 0x9c], ebx
mov dword [esp + 0x28], ebx
jle 0x416fe9
cmp ebp, ebx
jle 0x416ece
mov eax, dword [ecx + 0x9c]
lea edx, [eax + eax*2]
imul eax, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x48], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
jmp 0x416e02
xor ebx, ebx
mov edx, eax
xor eax, eax
cmp ebp, 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], 0
jl 0x416e73
lea edi, [ebp - 2]
shr edi, 1
inc edi
lea eax, [edi + edi]
mov dword [esp + 0x54], eax
movzx eax, byte [esi + edx]
add ebx, eax
movzx eax, byte [esi + edx + 1]
add dword [esp + 0x4c], eax
movzx eax, byte [esi + edx + 2]
add dword [esp + 0x34], eax
movzx eax, byte [esi + edx + 3]
add dword [esp + 0x40], eax
movzx eax, byte [esi + edx + 4]
add dword [esp + 0x30], eax
movzx eax, byte [esi + edx + 5]
add dword [esp + 0x3c], eax
add edx, 6
sub edi, 1
jne 0x416e30
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
cmp eax, ebp
jge 0x416e91
movzx eax, byte [esi + edx]
add dword [esp + 0x18], eax
movzx eax, byte [esi + edx + 1]
movzx edx, byte [esi + edx + 2]
add dword [esp + 0x1c], eax
add dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add eax, edx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
add eax, edx
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
add eax, ebx
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x48]
sub dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
jne 0x416e00
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
cdq
idiv edi
mov bl, al
mov eax, dword [esp + 0x1c]
cdq
idiv edi
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x14]
cdq
idiv edi
movzx edi, bl
mov ebx, dword [esp + 0x140]
mov edx, ebx
sub edx, edi
shl edx, 8
add edx, dword [esp + 0x38]
shl edi, 8
mov edx, dword [ecx + edx*4 + 0x40bf4]
add edx, edi
movzx edi, byte [esp + 0x12]
sub ebx, edi
shl ebx, 8
add ebx, dword [esp + 0x38]
shl edi, 8
mov ebx, dword [ecx + ebx*4 + 0x40bf4]
add ebx, edi
mov edi, dword [esp + 0x140]
sar ebx, 8
sar edx, 8
mov byte [esp + 0x12], bl
movzx eax, al
sub edi, eax
shl eax, 8
shl edi, 8
add edi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + edi*4 + 0x40bf4]
add eax, dword [esp + 0x48]
sar eax, 8
mov byte [esp + 0x13], al
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x24], eax
jle 0x416fc5
jmp 0x416f74
mov bl, byte [esp + 0x12]
mov edi, dword [esp + 0x2c]
add eax, edi
imul eax, dword [ecx + 0x9c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebp
lea eax, [eax + eax*2]
jmp 0x416f94
mov bl, byte [esp + 0x12]
mov edi, dword [ecx + 0x68]
mov byte [eax + edi], dl
mov edi, dword [ecx + 0x68]
mov byte [edi + eax + 1], bl
mov edi, dword [ecx + 0x68]
mov bl, byte [esp + 0x13]
mov byte [edi + eax + 2], bl
add eax, 3
sub dword [esp + 0x20], 1
jne 0x416f90
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ebp
mov dword [esp + 0x24], eax
jl 0x416f70
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, ebp
xor ebx, ebx
cmp eax, dword [ecx + 0x9c]
mov dword [esp + 0x28], eax
jl 0x416dd0
mov eax, dword [esp + 0x2c]
add eax, ebp
cmp eax, dword [ecx + 0xa0]
mov dword [esp + 0x2c], eax
jl 0x416dc0
jmp 0x417059
xor ebp, ebp
cmp dword [ecx + 0xa0], ebx
jle 0x417059
jmp 0x417010
xor edi, edi
cmp dword [ecx + 0x9c], ebx
jle 0x417050
lea ebx, [ebx]
movzx ebx, byte [esi + eax]
mov edx, dword [ecx + 0x68]
mov byte [eax + edx], bl
movzx ebx, byte [esi + eax + 1]
mov edx, dword [ecx + 0x68]
mov byte [edx + eax + 1], bl
movzx ebx, byte [esi + eax + 2]
mov edx, dword [ecx + 0x68]
mov byte [edx + eax + 2], bl
inc edi
add eax, 3
cmp edi, dword [ecx + 0x9c]
jl 0x417020
xor ebx, ebx
inc ebp
cmp ebp, dword [ecx + 0xa0]
jl 0x417010
inc dword [ecx + 0x14c]
mov eax, dword [ecx + 0x14c]
cmp eax, dword [ecx + 0x150]
jne 0x4170b5
mov dword [ecx + 0x134], ebx
mov dword [ecx + 0xb3c], ebx
mov dword [ecx + 0xb40], ebx
mov dword [ecx + 0xb44], ebx
mov dword [ecx + 0xb48], ebx
mov dword [ecx + 0xb4c], ebx
mov dword [ecx + 0xb50], ebx
mov dword [ecx + 0xb54], ebx
mov dword [ecx + 0xb58], ebx
mov dword [ecx + 0xb5c], ebx
mov dword [ecx + 0xb60], ebx
mov dword [ecx + 0xb64], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 4