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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
cmp ebx, dword [ebp + 8]
jge 0x48539d
lea ecx, [ecx]
mov esi, dword [edi + 8]
mov ecx, 0x4e7030
cmp dword [edi + 0xc], esi
mov edx, ebx
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, 0x4e7030
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
push 0xfffffffffffffffe
or edx, 0xffffffff
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
call fcn.00484b20
add esp, 4
test eax, eax
je 0x484cd0
push ebx
mov edx, 1
mov ecx, edi
call fcn.0046dd90
add esp, 4
mov edx, 1
mov ecx, edi
push dword [ebp + 8]
call fcn.0046dd90
add esp, 4
jmp 0x484cd4
add dword [edi + 8], 0xffffffe0
mov eax, dword [ebp + 8]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x10], ecx
cmp ecx, 1
je 0x48539d
mov esi, dword [edi + 8]
add eax, ebx
cdq
mov ecx, 0x4e7030
sub eax, edx
sar eax, 1
cmp dword [edi + 0xc], esi
mov edx, eax
mov dword [esp + 0x14], eax
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
mov edx, ebx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, 0x4e7030
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
push 0xffffffffffffffff
mov edx, 0xfffffffe
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
call fcn.00484b20
add esp, 4
test eax, eax
je 0x484d85
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.0046dd90
add esp, 4
mov edx, 1
mov ecx, edi
push ebx
call fcn.0046dd90
add esp, 4
jmp 0x484df4
add dword [edi + 8], 0xfffffff0
mov ecx, 0x4e7030
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
mov edx, dword [ebp + 8]
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
push 0xfffffffffffffffe
or edx, 0xffffffff
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
call fcn.00484b20
add esp, 4
test eax, eax
je 0x484df0
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.0046dd90
add esp, 4
mov edx, 1
mov ecx, edi
push dword [ebp + 8]
call fcn.0046dd90
add esp, 4
jmp 0x484df4
add dword [edi + 8], 0xffffffe0
cmp dword [esp + 0x10], 2
je 0x48539d
mov esi, dword [edi + 8]
mov ecx, 0x4e7030
cmp dword [edi + 0xc], esi
mov edx, dword [esp + 0x14]
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, 0x4e7030
add dword [edi + 8], 0x10
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
mov eax, dword [ebp + 8]
cmovb ecx, dword [edi + 0xc]
dec eax
mov edx, eax
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
call fcn.00472400
mov edx, 0x4e7030
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov ecx, dword [edi + 8]
cmp dword [edi + 0xc], ecx
mov esi, dword [esp + 0x14]
cmovb edx, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov eax, dword [edx]
mov edx, esi
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x484ed3
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
movd xmm0, esi
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x34], 3
movsd qword [esp + 0x2c], xmm0
call fcn.004722e0
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [edx - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x484f16
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x484f16
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x484f16
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
add dword [edi + 8], 0xfffffff0
mov ecx, 0x4e7030
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
mov edx, dword [esp + 0x10]
cmovb ecx, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x484f70
movd xmm0, dword [esp + 0x10]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x44], 3
movsd qword [esp + 0x3c], xmm0
call fcn.004722e0
add esp, 4
mov ecx, dword [esi - 0x10]
mov dword [eax], ecx
mov ecx, dword [esi - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x484faf
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x484faf
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x484faf
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
add dword [edi + 8], 0xfffffff0
inc ebx
mov esi, dword [edi + 8]
mov ecx, 0x4e7030
cmp dword [edi + 0xc], esi
mov edx, ebx
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
push 0xfffffffffffffffe
or edx, 0xffffffff
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
call fcn.00484b20
add esp, 4
test eax, eax
je 0x485010
cmp ebx, dword [ebp + 8]
jle 0x484fb7
push str.invalid_order_function_for_sorting
push edi
call fcn.0046e4a0
add esp, 8
jmp 0x484fb7
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [edi + 8]
dec ebx
cmp dword [edi + 0xc], esi
mov ecx, 0x4e7030
mov edx, ebx
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
push 0xffffffffffffffff
mov edx, 0xfffffffd
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
call fcn.00484b20
add esp, 4
test eax, eax
je 0x485074
cmp ebx, dword [esp + 0x18]
jge 0x48506e
push str.invalid_order_function_for_sorting
push edi
call fcn.0046e4a0
add esp, 8
add dword [edi + 8], 0xfffffff0
jmp 0x485018
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp esi, ebx
jl 0x4851cf
mov ecx, dword [edi + 8]
mov edx, 0x4e7030
cmp dword [edi + 0xc], ecx
mov dword [esp + 0x20], ecx
cmovb edx, dword [edi + 0xc]
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
mov edx, ebx
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x4850de
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x48]
movd xmm0, ebx
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x54], 3
movsd qword [esp + 0x4c], xmm0
call fcn.004722e0
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [edx - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x485121
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x485121
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x485121
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
add dword [edi + 8], 0xfffffff0
mov edx, 0x4e7030
mov ecx, dword [edi + 8]
cmp dword [edi + 0xc], ecx
mov dword [esp + 0x20], ecx
cmovb edx, dword [edi + 0xc]
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
mov edx, esi
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x48517b
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x58]
movd xmm0, esi
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x64], 3
movsd qword [esp + 0x5c], xmm0
call fcn.004722e0
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0x10]
mov dword [eax], ecx
mov ecx, dword [edx - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [edx - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x484fb7
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x484fb7
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x484fb7
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
jmp 0x484fb7
add dword [edi + 8], 0xffffffd0
mov ecx, 0x4e7030
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
mov edx, dword [esp + 0x10]
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
mov edx, ebx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, 0x4e7030
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
cmovb ecx, dword [edi + 0xc]
mov ecx, dword [ecx]
call fcn.00472400
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, 0x4e7030
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
add dword [edi + 8], 0x10
mov esi, dword [edi + 8]
cmp dword [edi + 0xc], esi
cmovb ecx, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x485283
movd xmm0, dword [esp + 0x10]
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x24]
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x74], 3
movsd qword [esp + 0x6c], xmm0
call fcn.004722e0
add esp, 4
mov ecx, dword [esi - 0x10]
mov dword [eax], ecx
mov ecx, dword [esi - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x4852c2
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x4852c2
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x4852c2
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
add dword [edi + 8], 0xfffffff0
mov ecx, 0x4e7030
mov esi, dword [edi + 8]
mov edx, ebx
cmp dword [edi + 0xc], esi
cmovb ecx, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.00472400
cmp eax, 0x4e7030
jne 0x48531b
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
movd xmm0, ebx
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x84], 3
movsd qword [esp + 0x7c], xmm0
call fcn.004722e0
add esp, 4
mov ecx, dword [esi - 0x10]
mov dword [eax], ecx
mov ecx, dword [esi - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi - 8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 8]
cmp dword [eax - 8], 4
jl 0x48535a
mov eax, dword [eax - 0x10]
test byte [eax + 5], 3
je 0x48535a
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
test byte [edx + 5], 4
je 0x48535a
mov ecx, dword [edi + 0x10]
and byte [edx + 5], 0xfb
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
mov esi, dword [ebp + 8]
mov eax, ebx
mov edx, dword [esp + 0x18]
mov ecx, esi
add dword [edi + 8], 0xfffffff0
sub ecx, ebx
sub eax, edx
cmp eax, ecx
jge 0x48537b
dec ebx
lea eax, [ebx + 2]
mov dword [esp + 0x18], eax
jmp 0x485386
lea edx, [ebx + 1]
mov ebx, esi
lea esi, [edx - 2]
mov dword [ebp + 8], esi
push ebx
mov ecx, edi
call fcn.00484c20
mov ebx, dword [esp + 0x1c]
add esp, 4
cmp ebx, esi
jl 0x484c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret