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

Disassembly:
sub esp, 0x80
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
and dword [esp + 0x40], 0
and dword [esp + 0x28], 0
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x90]
push edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], esi
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
call fcn.004a92f5
push ebx
mov dword [esp + 0x48], eax
call fcn.004a92f5
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
movzx eax, byte [ebp + 4]
mov dword [esp + 0x1c], eax
mov edi, dword [ecx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], edi
cmp eax, 0x71
je 0x485dd3
mov eax, dword [esp + 0x28]
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
cmp byte [eax + 0x1e], 0
jne 0x485dd3
imul eax, edi, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
cmp edx, dword [eax]
jg 0x485dd3
mov esi, dword [esp + 0x34]
xor eax, eax
test edi, edi
jle 0x485d5c
mov esi, dword [ecx + 0xc]
mov ebx, eax
add esi, 0xe
movzx eax, word [esi]
cmp eax, edx
je 0x485d4c
inc ebx
add esi, 0x14
cmp ebx, edi
jl 0x485d3d
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x485dc0
push 0
push 0x81
push dword [esp + 0x30]
call fcn.0049304b
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x485e93
mov eax, 0x400
or word [ecx + 2], ax
mov eax, dword [esp + 0x10]
push ecx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.00494c27
mov ebx, dword [esp + 0x3c]
mov ecx, eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
inc edi
mov dword [esp + 0x18], ecx
add dword [esp + 0x30], 0x14
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], edi
mov word [eax + ebx + 0xe], dx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc edx
mov dword [esp + 0x10], edx
cmp byte [eax + 0x1e], 0
je 0x485d20
mov eax, edi
shl eax, 2
push eax
push dword [esp + 0x2c]
call fcn.00491dff
mov dword [esp + 0x50], eax
pop ecx
pop ecx
test eax, eax
je 0x485ef5
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edi, edi
jle 0x485e17
mov esi, dword [esp + 0x48]
add edx, 0xe
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x485e04
mov esi, dword [esp + 0x34]
imul eax, edi, 5
add eax, 0x10
push eax
push dword [esp + 0x2c]
call fcn.00491dff
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x485efa
lea eax, [edi + 3]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
xor edx, edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
test edi, edi
jle 0x485efa
and dword [esp + 0x10], edx
lea eax, [ecx + 0xc]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x10]
mov edi, 0x100
mov eax, dword [ebx + 0xc]
mov eax, dword [esi + eax]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
test word [eax + 2], di
je 0x485e9b
mov eax, dword [eax + 0x14]
jmp 0x485ebf
push 7
pop eax
jmp 0x4864fc
mov eax, dword [esp + 0x48]
push dword [eax + edx*4]
push ebp
push esi
call fcn.00485c3b
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x2c]
or word [ecx + 2], di
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
add dword [esp + 0x20], 4
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
add dword [esp + 0x10], 0x14
mov al, byte [eax + edi + 0xc]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x4c]
jl 0x485e71
mov ebx, dword [esp + 0x14]
jmp 0x485efa
and dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
push 0
push eax
mov dword [ebp + 0x18], eax
push dword [esi]
call fcn.00494d95
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x18], eax
cmp edi, 0x71
jne 0x485f28
and dword [esp + 0x20], 0
jmp 0x485fc4
mov eax, dword [ebp]
mov edi, dword [eax]
lea eax, [edi + 1]
push eax
push esi
call fcn.00496d15
push eax
push 0
push 7
push ebx
mov dword [esp + 0x38], eax
call fcn.004a2f7a
imul eax, edi, 5
add eax, 0x10
push eax
push dword [esp + 0x44]
call fcn.00491eb0
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x485fc0
and dword [esp + 0x24], 0
lea eax, [edi + 3]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
test edi, edi
jle 0x485fc0
mov ebx, dword [esp + 0x24]
add ecx, 0xc
mov dword [esp + 0x2c], ecx
push ebx
push ebp
push esi
call fcn.00485c3b
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 8]
mov byte [ebx + eax], 0
inc ebx
cmp ebx, edi
jl 0x485f94
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
and dword [ebp + 0x1c], 0
push str.ORDER
push dword [ebp + 0x18]
push ebp
push esi
call fcn.0049df62
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp dword [eax + 0x1c], 0
jne 0x485ff6
push str.ORDER
push dword [eax + 0x18]
push eax
push esi
call fcn.0049df62
add esp, 0x10
push dword [esp + 0x40]
push ebp
push esi
call fcn.0047de9b
add esp, 0xc
cmp dword [ebp + 0x30], 0
je 0x486046
cmp edi, 0x71
jne 0x486046
mov edi, dword [esi + 0x48]
inc edi
lea eax, [edi + 1]
mov dword [esp + 0x14], eax
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x486027
inc eax
jmp 0x48602a
mov eax, dword [ebp + 0x30]
push edi
push eax
push 0xe
push ebx
call fcn.004a2f7a
push dword [esp + 0x24]
push edi
push 0xe
push ebx
call fcn.004a2f7a
add esp, 0x20
jmp 0x48604d
and dword [esp + 0x14], 0
xor edi, edi
push dword [ebp + 0x28]
push dword [esp + 0x2c]
call fcn.00494683
push dword [ebp + 0x2c]
and dword [ebp + 0x28], 0
push dword [esp + 0x34]
call fcn.00494683
and dword [ebp + 0x2c], 0
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
push 1
push ebx
mov dword [esp + 0x28], ecx
lea edx, [ecx + 2]
mov word [esp + 0x94], 0xa
lea eax, [edx + 2]
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x44], eax
mov dword [esi + 0x48], eax
xor eax, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov word [esp + 0x84], 0xa
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call fcn.004a2f4b
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 0x30], edi
mov ecx, dword [esi + 0x22c]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x94]
push ecx
push eax
push esi
call fcn.0049ed09
mov esi, dword [esp + 0x34]
lea eax, [esi + 1]
push eax
push 1
push 7
push ebx
call fcn.004a2f7a
push esi
push 4
push ebx
call fcn.004a2f61
mov eax, dword [ebx + 0x1c]
add esp, 0x40
mov edi, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
and dword [ebp + 0x34], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x22c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x6c]
push ecx
push ebp
push eax
call fcn.0049ed09
mov dword [ebp + 0x34], esi
mov esi, dword [esp + 0x24]
mov dword [ebp + 0x30], edi
lea eax, [esi + 1]
push eax
push 1
push 7
push ebx
call fcn.004a2f7a
push esi
push 4
push ebx
call fcn.004a2f61
push dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x60]
push 0xfffffffffffffff0
push edi
push dword [esp + 0x54]
push dword [esp + 0x5c]
push dword [esp + 0x90]
push eax
push ebp
push esi
call fcn.0048270b
mov dword [esp + 0x60], eax
add esp, 0x4c
mov eax, dword [esp + 0x1c]
cmp eax, 0x71
je 0x4861b6
cmp eax, 0x70
jne 0x4861dc
push dword [esp + 0x40]
lea eax, [esp + 0x70]
push 0xffffffffffffffef
push edi
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push dword [esp + 0x68]
push eax
push ebp
push esi
call fcn.0048270b
add esp, 0x24
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x1c]
cmp edi, 0x72
je 0x486246
cmp edi, 0x73
je 0x486246
push dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
inc eax
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x60]
mov dword [esp + 0x30], eax
push dword [esp + 0x40]
push 2
push ebx
call fcn.004a2f7a
push dword [esp + 0x38]
push 4
push ebx
call fcn.004a2f61
push dword [esp + 0x48]
push 0
push 1
push ebx
call fcn.004a2f7a
mov eax, dword [esp + 0x78]
add esp, 0x3c
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [eax + 0x48]
addsd xmm0, qword [ebp + 0x48]
movsd qword [ebp + 0x48], xmm0
jmp 0x486261
push dword [esp + 0x40]
push 0
push 1
push ebx
call fcn.004a2f7a
mov ecx, eax
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
cmp edi, 0x73
jne 0x486281
movsd xmm1, qword [eax + 0x48]
movsd xmm0, qword [ebp + 0x48]
comisd xmm0, xmm1
mov dword [esp + 0x38], ecx
jbe 0x4862c4
movsd qword [ebp + 0x48], xmm1
jmp 0x4862c4
push dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc eax
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x24]
mov dword [esp + 0x4c], eax
push dword [esp + 0x38]
push 2
push ebx
call fcn.004a2f7a
push dword [esp + 0x30]
push 4
push ebx
call fcn.004a2f61
push dword [esp + 0x64]
push 0
push 1
push ebx
call fcn.004a2f7a
add esp, 0x3c
push dword [esp + 0x14]
push dword [esp + 0x28]
push 2
push ebx
call fcn.004a2f7a
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
push 4
push ebx
call fcn.004a2f61
push dword [esp + 0x38]
mov eax, dword [esp + 0x30]
inc eax
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x70]
push 0
push 1
push ebx
call fcn.004a2f7a
add esp, 0x3c
cmp edi, 0x71
jne 0x486316
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
jmp 0x48635d
cmp edi, 0x73
jne 0x48632a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x48635d
push dword [esp + 0x10]
push 4
push ebx
call fcn.004a2f61
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
inc eax
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x60]
push 0
push 1
push ebx
call fcn.004a2f7a
add esp, 0x2c
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x34], eax
cmp edi, 0x71
je 0x48636e
cmp edi, 0x70
jne 0x486381
push dword [esp + 0x50]
push dword [esp + 0x30]
push 2
push ebx
call fcn.004a2f7a
add esp, 0x10
push dword [esp + 0x18]
push 4
push ebx
call fcn.004a2f61
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
inc eax
push edi
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x60]
push 0
push 1
push ebx
call fcn.004a2f7a
push dword [esp + 0x94]
push ebx
call fcn.004a8f90
mov eax, dword [esp + 0x44]
inc eax
push eax
push 0
push 7
push ebx
call fcn.004a2f7a
mov eax, dword [esp + 0x5c]
add esp, 0x44
inc eax
push eax
push 0
push 7
push ebx
call fcn.004a2f7a
push dword [esp + 0x68]
push dword [esp + 0x24]
push 2
push ebx
call fcn.004a2f7a
push dword [esp + 0x84]
push dword [esp + 0x3c]
push 2
push ebx
call fcn.004a2f7a
push dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
inc eax
push eax
push 0x1b
push ebx
call fcn.004a2f7a
mov eax, dword [esp + 0x58]
add esp, 0x40
inc eax
push edi
push eax
push 0x1b
push ebx
call fcn.004a2f7a
push dword [esp + 0x54]
push ebx
call fcn.004aa6f5
push 0xfffffffffffffff1
push dword [esp + 0x64]
xor eax, eax
push eax
push eax
push eax
push 0x17
push ebx
call fcn.004a2fe6
mov edi, dword [esp + 0x80]
push 0xfffffffffffffff0
push dword [esp + 0x68]
push edi
push dword [esp + 0xb4]
push dword [esp + 0xc8]
push 0x18
push ebx
call fcn.004a2fe6
add esp, 0x50
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x1c]
push 0x19
push ebx
call fcn.004a2f95
mov ecx, dword [esp + 0x34]
add esp, 0x14
test ecx, ecx
je 0x486496
lea eax, [edi + 1]
push eax
push ecx
push esi
call fcn.0049dd0a
add esp, 0xc
push dword [esp + 0x40]
push ebx
call fcn.004aa6f5
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
pop ecx
pop ecx
cmp byte [eax], 5
jne 0x4864cb
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
jmp 0x4864bb
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4864b6
push dword [ecx]
push eax
push esi
call fcn.00482500
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x4864df
push dword [ebp + 0x1c]
push dword [esp + 0x2c]
call fcn.0049fe14
pop ecx
pop ecx
movzx eax, byte [ebp + 4]
push 0
push dword [esp + 0x60]
mov dword [ebp + 0x1c], ebx
push dword [esp + 0x68]
push eax
push esi
call fcn.0047f3cd
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x80
ret