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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x486c02
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f76b
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x48658c
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x4865b9
lea edi, [esp + 0x98]
call fcn.0045f76b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebx
mov ecx, esi
lea esi, [ebp + ebp*4]
mov ebp, esi
movzx esi, cl
lea ebp, [esi + ebp*2 - 0x30]
mov ecx, edi
cmp ebx, 4
jge 0x4865d5
movzx esi, byte [edx + ebx]
mov edi, ecx
lea ecx, [esi - 0x30]
cmp cl, 9
jbe 0x4865a7
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x4865ea
cmp ebp, 0x270f
jbe 0x4865e8
mov byte [esp + 0x37], 0
mov edi, ecx
xor ebp, ebp
jmp 0x4865ea
mov edi, ecx
mov dword [esp + 0x50], ebp
xor ecx, ecx
xor ebx, ebx
jmp 0x486609
inc ecx
mov ebp, esi
lea esi, [ebx + ebx*4]
mov ebx, esi
xchg ebp, eax
movzx esi, al
xchg ebp, eax
lea ebx, [esi + ebx*2 - 0x30]
mov ebp, dword [esp + 0x50]
cmp ecx, 2
jge 0x48662d
movzx esi, byte [edx + ecx + 5]
lea ebp, [esi - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x4865f4
mov byte [esp + 0x37], 0
mov ebp, dword [esp + 0x50]
mov ebx, 1
jmp 0x48663f
lea ecx, [ebx - 1]
cmp ecx, 0xb
jbe 0x48663f
mov byte [esp + 0x37], 0
mov ebx, 1
cmp ebx, 2
jne 0x486684
test ebp, 3
jne 0x48667e
mov eax, 0x51eb851f
mov ecx, edx
imul ebp
mov esi, ebp
sar ebp, 0x1f
mov eax, edx
sar edx, 5
sub edx, ebp
imul edx, edx, 0x64
cmp esi, edx
jne 0x486677
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp esi, edx
jne 0x486688
mov ebp, 0x1d
jmp 0x486695
mov ecx, edx
mov esi, ebp
jmp 0x486688
mov ecx, edx
mov esi, ebp
lea edx, [0x9eaa60]
mov ebp, dword [edx + ebx*4]
sub ebp, dword [edx + ebx*4 - 4]
mov dword [esp + 0x4c], ebx
xor eax, eax
xor edx, edx
jmp 0x4866b2
inc eax
lea edx, [edx + edx*4]
movzx ebx, bl
lea edx, [ebx + edx*2 - 0x30]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
cmp eax, 2
jge 0x4866da
movzx ebx, byte [ecx + eax + 8]
lea esi, [ebx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x48669f
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, 1
jmp 0x4866ed
cmp edx, 1
jl 0x4866e3
cmp edx, ebp
jle 0x4866ed
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x48670b
inc eax
lea ebx, [ebp + ebp*4]
movzx edx, dl
lea ebp, [edx + ebx*2 - 0x30]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp eax, 2
jge 0x48672e
movzx edx, byte [ecx + eax + 0xb]
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x4866f7
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x48673a
cmp ebp, 0x17
jbe 0x48673a
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x44], ebp
xor eax, eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x486767
inc eax
mov edx, dword [esp + 0x40]
lea edx, [edx + edx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea edx, [ebp + edx*2 - 0x30]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
cmp eax, 2
jge 0x48678a
movzx ebp, byte [ecx + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x48674a
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x48679c
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x48679c
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
jmp 0x4867dc
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x3c]
lea ebp, [ebp + ebp*4]
movzx edx, dl
lea edx, [edx + ebp*2 - 0x30]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x5c]
cmp ebp, 2
jge 0x486803
movzx edx, byte [ecx + ebp + 0x11]
lea ebx, [edx - 0x30]
cmp bl, 9
jbe 0x4867b6
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x486813
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x486813
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x3c], ebp
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x486894
cmp byte [ecx + 4], 0x2d
jne 0x486894
cmp byte [ecx + 7], 0x2d
jne 0x486894
cmp byte [ecx + 0xa], 0x54
jne 0x486894
cmp byte [ecx + 0xd], 0x3a
jne 0x486894
cmp byte [ecx + 0x10], 0x3a
jne 0x486894
lea ebp, [edi - 0x13]
mov dword [esp + 0x54], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x13
lea edi, [ecx + ebp]
mov eax, dword [esp + 0x54]
cmp eax, 2
jl 0x486890
cmp byte [edi], 0x2e
jne 0x48688c
mov edx, dword [esp + 0x88]
test byte [edx], al
movzx ecx, byte [ecx + ebp + 1]
add ecx, 0xffffffd0
cmp cl, 9
ja 0x486884
mov ecx, 2
jmp 0x486b9a
mov edx, dword [esp + 0x48]
xor ecx, ecx
jmp 0x4868b1
xor ecx, ecx
jmp 0x4868b1
xor ecx, ecx
jmp 0x4868b1
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f76b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], edi
mov ebp, dword [0xa16f14]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
call fcn.00481710
lea edi, [esp + 0x70]
lea esi, [esp + 0x20]
call fcn.0045fc4e
mov eax, dword [esp + 0x5c]
cmp eax, 1
je 0x48690b
mov ecx, dword [esp + 0x6c]
jmp 0x486914
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x5a
je 0x48693c
cmp eax, 6
jne 0x48691f
xor eax, eax
xor edx, edx
jmp 0x486966
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f76b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x70]
call fcn.0045fc4e
mov byte [esp + 0xac], 1
add esp, 0x84
ret
inc eax
lea ebp, [edx + edx*4]
movzx ebx, bl
lea edx, [ebx + ebp*2 - 0x30]
cmp eax, 2
jge 0x486983
movzx ebx, byte [ecx + eax + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x48695b
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x48698f
cmp edx, 0x17
jbe 0x48698f
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x4869a2
inc eax
lea esi, [ebx + ebx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea ebx, [ebp + esi*2 - 0x30]
cmp eax, 2
jge 0x4869bf
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x486995
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x4869cb
cmp ebx, 0x3b
jbe 0x4869cb
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x486b7c
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4869ef
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x486b7c
cmp byte [ecx + 3], 0x3a
jne 0x486b7c
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x486a0a
neg eax
mov dword [esp + 0x38], eax
mov ecx, eax
sar eax, 0x1f
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.0047f100
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
test ecx, 0x80000000
je 0x486a64
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
shl edx, 1
mov eax, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr eax, 0x1f
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x486a6c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add edx, 0x886e0900
adc eax, 0xfffffff1
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call fcn.00482760
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x486aff
nop
mov eax, dword [esp + 0x94]
lea ecx, [0xa1a220]
cmp eax, ecx
jne 0x486aaa
xor eax, eax
nop
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
test edx, 0x80000000
je 0x486af3
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
shl ebx, 1
mov ecx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x48693c
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00482590
mov eax, dword [esp + 0xc]
lea ecx, [0xa1a220]
cmp eax, ecx
jne 0x486b27
xor eax, eax
nop
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
test edx, 0x80000000
je 0x486b70
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
shl ebx, 1
mov ecx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
and dword [esp + 0x70], 0x3fffffff
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], eax
jmp 0x48693c
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045f76b
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ecx
cmp ecx, eax
jge 0x486bac
movzx ebp, byte [ecx + edi]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x486b99
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], ecx
mov edx, dword [edx + 4]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00486290
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x58]
sub eax, edx
add eax, 0xffffffed
mov ebx, eax
neg eax
sar eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x68]
lea edi, [edx + eax]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov eax, ebx
mov ebx, dword [esp + 0x4c]
jmp 0x4868b1
call fcn.0045e260
jmp fcn.00486540