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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x4859cd
sub esp, 0xcc
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
call fcn.004859e0
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test al, al
je 0x485969
mov dword [esp + 0x40], edx
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00485be0
movzx eax, byte [esp + 0x14]
test al, al
je 0x485969
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, eax
neg eax
test ecx, ecx
je 0x4851f2
mov ebx, dword [esp + 0xc]
cmp byte [ebx], 0x2c
jne 0x48525b
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xf4], eax
mov dword [esp + 0x100], 0x7fffffff
mov dword [esp + 0xfc], 0xffffffff
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 1
add esp, 0xcc
ret
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004859e0
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test al, al
je 0x485905
mov dword [esp + 0x78], edx
mov dword [esp + 0xc8], ecx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x4852a1
cmp byte [ebp], 0x2c
jne 0x4852b3
mov esi, dword [esp + 0x7c]
add esi, 0xfffff1f0
xchg esi, ebx
neg ebx
xchg esi, ebx
jmp 0x4852e1
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00485be0
mov esi, dword [esp + 8]
movzx eax, byte [esp + 0x14]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x78]
test al, al
je 0x485905
test ebx, ebx
jne 0x4852f8
lea ebp, [0x4d59a2]
mov ebx, 0xf
mov dword [esp + 0x7c], esi
movzx eax, byte [ebp]
cmp al, 0x2c
je 0x48536e
cmp al, 0x3b
je 0x48536e
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
add esp, 0xcc
ret
lea ecx, [ebx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, ebp
mov dword [esp + 0xc4], ecx
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00469dab
lea edi, [esp + 0x94]
call fcn.00469dab
mov ecx, dword [esp + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00485e20
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
lea edi, [esp + 0xa8]
lea esi, [esp + 8]
call fcn.0046a28e
lea edi, [esp + 0x80]
lea esi, [esp + 0xa8]
call fcn.0046a28e
movzx ecx, byte [esp + 0x2b]
test cl, cl
je 0x4858a1
test edx, edx
je 0x4858a1
cmp byte [ebx], 0x2c
jne 0x4858a1
lea eax, [edx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00485e20
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
lea edi, [esp + 0xa8]
lea esi, [esp + 8]
call fcn.0046a28e
lea edi, [esp + 0x94]
lea esi, [esp + 0xa8]
call fcn.0046a28e
test al, al
je 0x48583d
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x48583d
mov eax, dword [esp + 0xe0]
add eax, 0x1ad9c900
mov edx, dword [esp + 0xe4]
adc edx, 0x7ffffffe
mov dword [esp + 4], edx
mov dword [esp], eax
mov byte [esp + 8], 0
call fcn.00483f10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x15180
call fcn.00463860
mov eax, dword [esp + 0x38]
imul eax, eax, 0x15180
mov dword [esp + 0x74], eax
sar eax, 0x1f
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp], ebp
call fcn.004842c0
mov eax, dword [esp + 4]
mov ecx, 0x15180
mul ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0x80]
call fcn.0046a28e
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
call fcn.00486330
mov eax, dword [esp + 0x54]
imul eax, eax, 0x15180
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp], edx
lea edi, [esp + 4]
lea esi, [esp + 0x94]
call fcn.0046a28e
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
call fcn.00486330
mov eax, dword [esp + 0x5c]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x1c]
mov ebx, edx
sar edx, 0x1f
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add ebp, esi
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
add esi, edi
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x70]
adc edi, ebp
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x58]
add ebp, 0xe5263700
mov dword [esp + 0x6c], ebp
cmp edx, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setl bl
xchg esi, ebx
cmp ebx, ecx
xchg edi, ebx
setb bl
xchg edi, ebx
and ebp, edi
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x485617
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0xc0], ebp
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0xbc], ebp
mov ebp, dword [esp + 0x7c]
jmp 0x48564d
mov ecx, ebx
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x5c]
mov ebx, edx
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edx
xchg esi, eax
mov byte [esp + 0x2a], al
xchg esi, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x30]
cmp edx, esi
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov edi, dword [esp + 0x2c]
cmp edi, ebx
setb bl
and ebx, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4857b0
cmp eax, esi
setl dl
sete bl
cmp edi, ecx
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x485723
mov edx, dword [esp + 0xbc]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x58]
add ecx, edx
mov ebx, dword [esp + 0x64]
adc eax, ebx
add ecx, 0xe5263700
adc eax, 0x80000001
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], ecx
add edx, 0xe7076a80
adc ebx, 0x80000001
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], edx
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x104], al
mov byte [esp + 0x105], 1
add esp, 0xcc
ret
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xf0], edx
movzx edx, byte [esp + 0x2a]
xor edx, 1
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x44]
add ebp, ebx
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
adc edi, esi
add ebp, 0xe5263700
adc edi, 0x80000001
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebp
add ecx, ebx
adc eax, esi
add ecx, 0xe5263700
adc eax, 0x80000001
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], ecx
mov byte [esp + 0x104], dl
mov byte [esp + 0x105], 1
add esp, 0xcc
ret
mov eax, dword [esp + 0x58]
mov ecx, eax
add eax, 0xe5263700
mov eax, dword [esp + 0x64]
mov edx, eax
adc eax, 0x80000001
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xe8], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xec], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x48]
adc edx, eax
add ecx, 0xe5263700
adc edx, 0x80000001
mov dword [esp + 0x100], edx
mov dword [esp + 0xfc], ecx
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x104], al
mov byte [esp + 0x105], 1
add esp, 0xcc
ret
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
add esp, 0xcc
ret
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
add esp, 0xcc
ret
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
add esp, 0xcc
ret
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
add esp, 0xcc
ret
call fcn.004688b0
jmp fcn.00485160