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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov esi, dword [ecx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
call fcn.0044eff0
movzx edi, byte [ebx + 0x2b]
sub edi, 1
mov dword [esp + 0x2c], edi
js 0x487076
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi*4]
shl eax, 4
add ecx, 0x38
add ecx, eax
add ebx, 0x2f4
add ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
mov edx, dword [esi + 0x18]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x486b43
mov eax, dword [ebx + 4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov al, byte [ebx + 0x19]
cmp al, 0x9f
je 0x486bdc
mov ecx, dword [ebx + 0x1c]
movzx edi, byte [ebx + 0x1a]
mov edx, dword [ebx + 0x20]
movzx eax, al
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x486b8b
push edi
push edx
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x486bc4
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], bl
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x486bdc
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov al, byte [ebx + 0x1b]
mov byte [ecx + edx*4 - 0x11], al
mov eax, dword [esp + 0x10]
test dword [eax + 0x24], 0x800
je 0x486d1b
cmp dword [ebx + 0x24], 0
jle 0x486d1b
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x486c12
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], edx
lea edi, [edx - 1]
lea edi, [edi + edi*2]
lea edi, [eax + edi*4]
test edx, edx
jle 0x486d1b
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [edi + 4]
add edx, 1
mov dword [eax + 0x60], ecx
mov ebx, dword [esi + 0x20]
jns 0x486c4c
lea edx, [ebx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x486c5b
mov eax, 0x520b44
jmp 0x486c64
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
movzx eax, byte [edi + 8]
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x38], edx
cmp dword [eax + 0x58], ecx
jg 0x486c97
push 0
push edx
mov edx, dword [esp + 0x30]
mov ecx, esi
push ebx
call fcn.004376e0
add esp, 0xc
jmp 0x486cd0
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], dl
mov edx, dword [esp + 0x38]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [edi + 4]
sub edx, 1
mov dword [eax + 0x60], ecx
mov ebx, dword [esi + 0x20]
jns 0x486ce8
lea edx, [ebx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x486cf7
mov eax, 0x520b44
jmp 0x486d00
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
sub edi, 0xc
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
test eax, eax
jg 0x486c34
mov ebx, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x486d36
mov eax, dword [ebx - 8]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [ebx]
test edx, edx
je 0x486dfe
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x486d68
push 0
push edx
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x486d9b
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [ebx]
mov dword [eax + 0x60], ecx
mov edi, dword [esi + 0x20]
test edx, edx
jns 0x486db1
lea edx, [edi - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x486dc0
mov eax, 0x520b44
jmp 0x486dc9
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [ebx]
sub edx, 2
mov dword [eax + 0x60], ecx
mov edi, dword [esi + 0x20]
jns 0x486de3
lea edx, [edi - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x486df2
mov eax, 0x520b44
jmp 0x486dfb
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x486e59
mov eax, dword [esi + 0x18]
mov edx, dword [ebx + 0x10]
mov ecx, dword [esi + 0x20]
shr edx, 1
cmp dword [eax + 0x58], ecx
jg 0x486e2a
push 0
push edi
push edx
mov edx, 0x42
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x486e59
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx - 0x14]
test edx, edx
je 0x487055
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x58], edi
jg 0x486e87
push 0
push 0
push edx
mov edx, 0x40
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edi, eax
jmp 0x486eba
lea eax, [edi + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x40
jne 0x486f22
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx]
cmp dword [eax + 0x58], ecx
jg 0x486eeb
push 0
push 0
push edx
mov edx, 0x7a
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x486f1e
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
test dword [eax + 0x24], 0x200
je 0x486f82
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebx - 0xc]
cmp dword [eax + 0x58], ecx
jg 0x486f4f
push 0
push 0
push edx
mov edx, 0x7a
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x486f82
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebx + 0x19], 0x46
mov edx, dword [ebx + 8]
mov ecx, dword [esi + 0x20]
jne 0x486fd5
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x486fb5
push 0
push edx
push dword [esp + 0x30]
mov edx, 0xe
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x487026
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xe
jmp 0x48700d
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x486ff3
push 0
push edx
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x487026
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test edi, edi
jns 0x48703a
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x487049
mov eax, 0x520b44
jmp 0x487052
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0x2c]
sub ebx, 0x50
sub dword [esp + 0x1c], 0x50
dec edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
test edi, edi
jns 0x486b21
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x487091
mov eax, dword [ebx + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
xor edx, edx
mov dword [esp + 0x10], edx
cmp byte [ebx + 0x2b], dl
jbe 0x4872f3
add ebx, 0x320
mov dword [esp + 0x18], ebx
movzx eax, byte [ebx - 0x14]
mov edi, dword [ebx]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [esp + 0x30]
test byte [eax + 0x30], 0x10
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
je 0x4870f6
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x45], 0
mov esi, dword [esp + 0x34]
jne 0x4870f6
mov edx, dword [ebx - 0x20]
mov ecx, esi
push 0
push dword [eax + 0x28]
push dword [ebx - 0x3c]
call fcn.00481ac0
add esp, 0xc
jmp 0x4872cf
test byte [ecx + 0x2a], 2
jne 0x4871c2
cmp dword [ecx + 0xc], 0
jne 0x4871c2
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x24], 0x10
jne 0x4871c2
cmp byte [ecx + 0x28], 0
mov edx, dword [edi + 0x24]
mov dword [esp + 0x38], edx
jne 0x487198
test dl, 0x40
jne 0x487198
mov eax, dword [eax + 0x38]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x487159
push 0
push 0
push dword [esp + 0x34]
mov edx, 0x6d
mov ecx, esi
call fcn.004376e0
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x487194
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
and edx, 0x4300
cmp edx, 0x200
jne 0x4871be
mov eax, dword [ebx - 0x38]
cmp eax, dword [ecx + 0x40]
je 0x4871be
push eax
mov edx, 0x6d
mov ecx, esi
call fcn.00437800
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x24]
test eax, 0x240
je 0x4871d1
mov eax, dword [edi + 0x1c]
jmp 0x4871df
test eax, 0x2000
je 0x4872d3
mov eax, dword [ebx - 8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4872d3
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x28], 0
je 0x487202
mov eax, dword [eax + 0xc]
test byte [eax + 0x2a], 0x20
je 0x4872d3
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x45], 0
jne 0x4872d3
mov edi, dword [ebx - 0x20]
mov ecx, edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
test edi, edi
jns 0x487223
lea ecx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x487232
mov edx, 0x520b44
jmp 0x48723b
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
cmp edi, dword [esp + 0x2c]
jge 0x4872cf
mov esi, dword [esp + 0x2c]
add edx, 4
sub esi, edi
nop
mov eax, dword [edx]
cmp eax, dword [ebx - 0x3c]
jne 0x4872c3
mov al, byte [edx - 4]
cmp al, 0x5e
jne 0x4872b6
mov eax, dword [esp + 0x24]
mov edi, dword [edx + 4]
test byte [eax + 0x2a], 0x20
je 0x487279
mov ecx, eax
call fcn.00456280
mov eax, dword [eax + 4]
movsx edi, word [eax + edi*2]
mov ecx, dword [esp + 0x28]
xor eax, eax
movzx ebx, word [ecx + 0x34]
test ebx, ebx
jle 0x48729d
mov ecx, dword [ecx + 4]
nop word [eax + eax]
cmp di, word [ecx]
je 0x4872b1
inc eax
add ecx, 2
cmp eax, ebx
jl 0x487290
or eax, 0xffffffff
mov ebx, dword [esp + 0x18]
cwde
test eax, eax
js 0x4872c3
mov dword [edx + 4], eax
mov eax, dword [ebx - 0x38]
jmp 0x4872c1
movzx eax, ax
jmp 0x4872a0
cmp al, 0x79
jne 0x4872c3
mov eax, dword [ebx - 0x38]
mov byte [edx - 4], 0x7f
mov dword [edx], eax
add edx, 0x14
sub esi, 1
jne 0x487250
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edx
add ebx, 0x50
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
movzx eax, byte [eax + 0x2b]
cmp edx, eax
jl 0x4870b1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, ebx
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x1ac], eax
mov ecx, dword [esp + 0x20]
call fcn.00482d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret