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

Disassembly:
sub esp, 0x74
xor eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov dword [esp + 0x14], eax
cmp ebp, dword [0x4a8e90]
jg 0x487364
test ebp, ebp
jle 0x487364
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a8ec4]
test ebx, ebx
je 0x4873c3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x4871e3
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x4871d0
test ecx, ecx
jbe 0x4871e3
dec ecx
test si, si
jne 0x487184
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x487270
cmp eax, 0xd
je 0x487341
cmp eax, 0xe
je 0x4872ec
cmp eax, 8
je 0x48736b
sub eax, 5
cmp eax, 0x1c
ja 0x487184
movzx ecx, byte [eax + 0x401994]
jmp dword [ecx*4 + 0x401954]
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x487293
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x487276
jmp 0x4b0d33
cmp dword [esi], 5
jne 0x48727b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x4872c5
cmp dword [ecx], 5
jne 0x4872c5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00486c90
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne 0x487184
mov eax, dword [eax]
cmp eax, 0x23
je 0x487184
jmp 0x4b0bf0
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x4b0c49
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x4b0bda
cmp byte [esp + 0x45], 0
jne 0x4b0be4
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.00491e50
cmp dword [esp + 0x20], 0
jl 0x4b0d27
cmp dword [esp + 0x14], edi
je 0x487184
jmp 0x4b0d27
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00486c90
jmp 0x487184
xor ebx, ebx
jmp 0x4871a3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x4b0c37
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x4b0bca
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x4b0bd2
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.00491e50
cmp dword [esp + 0x18], 0
jl 0x4b0d1e
cmp ebx, edi
je 0x487184
jmp 0x4b0d1e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.00494540
test eax, eax
jne 0x4b0c69
cmp dword [esp + 0x30], eax
jne 0x4b0cfd
lea eax, [esp + 0x6c]
call fcn.004870e0
lea eax, [esp + 0x3c]
call fcn.004870e0
lea eax, [esp + 0x78]
call fcn.004870e0
lea eax, [esp + 0x48]
call fcn.004870e0
lea eax, [esp + 0x54]
call fcn.004870e0
lea eax, [esp + 0x60]
call fcn.004870e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea edi, [ebx + 1]
jmp 0x4873ab
mov eax, dword [eax + 4]
jmp 0x4873a0
mov edi, dword [esp + 0x14]
inc edi
jmp 0x487327
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
jmp 0x48731c
sub eax, 0x12
cmp eax, 0x10
ja 0x4b0d3f
movzx edx, byte [eax + 0x42b160]
jmp dword [edx*4 + 0x42b154]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x4b0c5f
mov ecx, dword [edx + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x4b0c5f
push 0x4a7f20
call 0x4e422e
lea eax, [esp + 0x6c]
call fcn.004870e0
lea eax, [esp + 0x3c]
call fcn.004870e0
lea eax, [esp + 0x78]
call fcn.004870e0
lea eax, [esp + 0x48]
call fcn.004870e0
lea eax, [esp + 0x54]
call fcn.004870e0
lea eax, [esp + 0x60]
call fcn.004870e0
mov eax, 1
jmp 0x48742e
push 0xffffffffffffffff
push 0x83
jmp 0x4b0c5f
push 0xffffffffffffffff
push 0x75
jmp 0x4b0c5f
push 0xffffffffffffffff
push 0x95
jmp 0x4b0c5f
push 0xffffffffffffffff
push 0xa1
jmp 0x4b0c5f
mov eax, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
movsx edx, word [ecx + 0xa]
push edx
push 0x9f
jmp 0x4b0c5f