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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x988
mov eax, dword [0x5522f8]
xor eax, esp
mov dword [esp + 0x984], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x55a25c]
push eax
mov dword [esp + 0x48], edx
call fcn.00459d40
test eax, eax
jne 0x48c613
pop edi
pop esi
mov ecx, dword [esp + 0x984]
xor ecx, esp
call fcn.004275c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xor esi, esi
mov al, byte [ecx]
cmp al, 0xe
jge 0x48c62f
sub al, 4
cmp al, 4
ja 0x48c62f
inc ecx
mov esi, 1
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x140]
lea ecx, [eax + 1]
sar ecx, 1
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x48], ecx
je 0x48c659
mov ecx, eax
call fcn.004878e0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x140]
jmp 0x48c661
mov dword [esp + 0x50], 0
mov ecx, dword [ebp + 0x30]
push 1
mov ecx, dword [ecx + 4]
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ecx, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
cmovg ecx, eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 8]
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x144]
imul ecx
mov ecx, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
cmovg ecx, eax
mov eax, dword [ebp + 0x30]
xor edx, edx
mov dword [esp + 0x68], ecx
mov eax, dword [eax]
test eax, eax
cmovne edx, dword [esp + 0x48]
mov dword [esp + 0x64], edx
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x144]
push eax
cmovne edx, ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x78], edx
mov edx, eax
call fcn.00459ed0
xor ecx, ecx
add esp, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
cmp dword [ebp + 0x28], ecx
je 0x48c752
mov eax, dword [esp + 0x140]
mov dword [esp + 0x2c], eax
cmp dword [0x55a334], ecx
je 0x48c752
mov ecx, dword [esp + 0xc]
call fcn.0048bd50
test eax, eax
jne 0x48c725
test esi, esi
je 0x48c752
mov eax, 1
test esi, esi
jne 0x48c73b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x5c]
call fcn.0047dd40
mov esi, dword [esp + 0x48]
test eax, eax
cmovne esi, dword [esp + 0x2c]
add esi, dword [0x55a330]
mov dword [esp + 0x18], esi
jmp 0x48c754
xor esi, esi
cmp dword [ebp + 0xc], 0
je 0x48c77a
mov eax, dword [ebp + 0x18]
mov ecx, dword [edi + 4]
cmp ecx, dword [eax + 4]
jne 0x48c76f
call fcn.0048b840
add eax, ecx
mov dword [edi + 4], eax
call fcn.0048b840
add esi, eax
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov dword [edx], 1
mov dword [esp + 0x14], ecx
cmp byte [eax], cl
je 0x48ccc6
movaps xmm1, xmmword [esp + 0xc0]
movq xmm0, qword [esp + 0xd0]
mov esi, dword [esp + 0x18]
nop dword [eax]
add eax, ecx
movaps xmmword [esp + 0x80], xmm1
movq qword [esp + 0x90], xmm0
mov al, byte [eax]
cmp al, 0xe
jae 0x48c7f9
cmp al, 0xa
jne 0x48c7ef
mov eax, dword [ebp + 0x1c]
sub dword [edi], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, esi
mov dword [edi + 4], eax
inc dword [edx]
mov eax, 1
jmp 0x48ccae
push 0x64
call fcn.004275db
mov ecx, dword [0x552bec]
mov esi, eax
mov edx, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea edx, [edx + ecx]
mov dword [esi + 0x54], 0
lea ecx, [esp + 0x30]
mov dword [esi + 0x58], 0
mov dword [esi + 0x60], 0
call fcn.0047dd40
push 0
xor edx, edx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x84]
call fcn.00457180
add esp, 4
lea edx, [esp + 0x15c]
lea ecx, [esp + 0x80]
push dword [ebp + 0x2c]
push dword [esp + 0x154]
push dword [esp + 0x38]
call fcn.00485cf0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x14]
lea edx, [ecx + edx]
lea ecx, [esp + 0x74]
call fcn.0048c070
cmp dword [esp + 0x74], 0
je 0x48c8b1
lea ecx, [esp + 0x80]
call fcn.0048bfa0
mov ecx, dword [esp + 0x7c]
xor eax, eax
mov edx, dword [esp + 0x60]
test ecx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x140]
setne al
mov dword [esi + 0x5c], eax
add esi, 0x24
mov eax, dword [esp + 0x70]
add eax, ecx
push 1
lea edx, [edx + ecx]
mov ecx, esi
push eax
call fcn.00459ed0
push 0
xor edx, edx
mov ecx, esi
call fcn.00457180
mov eax, dword [ebp + 0x30]
add esp, 0xc
cmp dword [eax], 0
je 0x48c9ba
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0xa8]
push 1
push dword [esp + 0x90]
call fcn.00459ed0
push 0
xor edx, edx
lea ecx, [esp + 0xb4]
call fcn.00457180
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0xb4]
add esp, 0xc
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x48c958
push 1
push 0x100
push 5
lea edx, [esp + 0x8c]
call fcn.004569a0
add esp, 0xc
jmp 0x48c986
push eax
push dword [esp + 0x154]
lea edx, [esp + 0x164]
push dword [esp + 0x38]
call fcn.00485cf0
add esp, 0xc
cmp dword [esp + 0x74], 0
je 0x48c986
lea ecx, [esp + 0xa8]
call fcn.0048bfa0
mov ecx, dword [ebp + 0x30]
mov eax, 0x100
mov edx, dword [esp + 0x44]
sub eax, dword [ecx + 0x10]
mov ecx, esi
push eax
push 1
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x70]
call fcn.00459570
push dword [esp + 0xb8]
call fcn.004275d6
add esp, 0x14
push 0
push 0
lea eax, [esp + 0x88]
xor edx, edx
push eax
push 0
mov ecx, esi
call fcn.00459570
mov eax, dword [0x55a330]
add esp, 0x10
add eax, dword [esp + 0x140]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
cmp dword [esp + 0x20], eax
mov dword [esp + 0x4c], 0
setne al
mov dword [esp + 0x20], 0
inc eax
mov dword [esp + 0x5c], eax
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x6c], eax
mov esi, eax
je 0x48cae3
mov eax, dword [esp + 0x1c]
test eax, eax
jg 0x48cade
push dword [esp + 0x68]
lea edx, [ecx + edx]
lea ecx, [esp + 0x18c]
call fcn.0048acd0
add esp, 4
test eax, eax
je 0x48cae3
lea ecx, [esp + 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48ca52
mov eax, dword [0x55a330]
sub ecx, edx
add eax, dword [esp + 0x140]
mov esi, ecx
shr esi, 1
imul esi, eax
cmp dword [esp + 0x10], esi
mov eax, esi
cmovge eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ecx + 1]
push eax
call fcn.00427619
mov ecx, dword [esp + 0x58]
add esp, 4
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], esi
lea ecx, [esp + 0x188]
push ecx
push eax
call fcn.004f5de0
add esp, 8
lea edx, [esp + 0x188]
xor ecx, ecx
call fcn.0048ab10
dec eax
lea ecx, [esp + 0x188]
mov dword [esp + 0x1c], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48cac1
mov esi, dword [esp + 0xc]
sub ecx, edx
mov eax, dword [esp + 0x1c]
add esi, ecx
add esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x48cae3
dec eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x28], 0
je 0x48cbba
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x48cbb5
mov edx, esi
lea ecx, [esp + 0x588]
call fcn.0048bda0
mov edx, eax
test edx, edx
jle 0x48cb79
lea ecx, [esp + 0x588]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48cb17
mov eax, dword [esp + 0x140]
sub ecx, esi
mov esi, dword [0x55a330]
add eax, esi
shr ecx, 1
imul ecx, eax
mov eax, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x28], eax
lea eax, [edx - 1]
push eax
add dword [esp + 0x14], ecx
lea edx, [esp + 0x58c]
lea ecx, [esp + 0x28]
call fcn.0048bc40
add esp, 4
lea ecx, [esp + 0x24]
call fcn.0048bd00
mov dword [esp + 0x4c], eax
test eax, eax
je 0x48cbc0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x34]
call fcn.0047dd40
jmp 0x48cbc0
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x14]
call fcn.0048bcb0
test eax, eax
je 0x48cbba
mov eax, dword [esp + 0x6c]
mov cl, byte [eax]
test cl, cl
je 0x48cbba
call fcn.0047dd70
mov ecx, dword [esp + 0x48]
test eax, eax
mov edx, dword [esp + 0x140]
mov esi, dword [0x55a330]
cmovne ecx, edx
add dword [esp + 0x10], ecx
jmp 0x48cbc7
dec eax
mov dword [esp + 0x28], eax
mov esi, dword [0x55a330]
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [esp + 0x4c], ecx
cmovne eax, ecx
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0xc]
sub ecx, eax
mov eax, dword [edi + 4]
add eax, dword [esp + 0x10]
inc ecx
cmp eax, ecx
jle 0x48cc14
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], eax
je 0x48cc0c
mov eax, dword [ebp + 0x1c]
sub dword [edi], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
inc dword [eax]
jmp 0x48cc14
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x78]
mov eax, 0x51eb851f
imul ecx, edx
movq xmm0, qword [esp + 0xd0]
movaps xmm1, xmmword [esp + 0xc0]
imul ecx
mov eax, dword [edi]
sar edx, 5
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x140]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x140]
mov dword [esp + 0x38], eax
mov eax, 0x51eb851f
imul dword [esp + 0x38]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x40]
add eax, dword [edi + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x140]
add eax, esi
add dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
mov dword [eax + 0x60], ecx
mov eax, dword [esp + 0x3c]
add eax, dword [0x552c04]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
cmp byte [ecx + eax], 0
jne 0x48c7c0
push dword [esp + 0xc0]
call fcn.004275d6
mov ecx, dword [esp + 0x990]
add esp, 4
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004275c5
mov esp, ebp
pop ebp
ret