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

Disassembly:
push 0xffffffffffffffff
push 0x56ed38
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], eax
call fcn.00462c50
mov ecx, dword [esi + 0x240]
shr ecx, 2
mov dword [esp + 0x4c], eax
test cl, 1
je 0x4862e5
cmp dword [esp + 0x60], 0
jne 0x48612c
cmp dword [esi + 0x7c], 0
je 0x486124
mov eax, dword [esi + 0x78]
mov dword [esp + 0x60], eax
jmp 0x48612c
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
test eax, eax
jl 0x486151
jg 0x486144
cmp edi, 0x10
jb 0x486151
and edi, 0xfffffff0
mov edx, eax
sub edi, 0x10
sbb edx, 0
jmp 0x486159
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
xor eax, eax
add ecx, dword [esp + 0x40]
push 0
adc eax, dword [esp + 0x60]
add ecx, 0xf
push 0
adc eax, 0
mov dword [esp + 0x50], edx
and ecx, 0xfffffff0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x22c]
sub ecx, edi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x228]
add ecx, edi
adc eax, edx
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x486221
push 0
push dword [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x14]
movdqu xmmword [esp + 0x14], xmm0
movdqu xmmword [esp + 0x24], xmm0
call fcn.00484bc0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
push 0
xor ecx, ecx
mov dword [esp + 0x7c], 0
test eax, eax
mov dword [esp + 0x6c], 0
push edx
cmovne ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x34c]
call eax
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x486228
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 0xffffffff
call fcn.0045fd70
xor al, al
jmp 0x4862c6
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
je 0x48628b
mov eax, edi
or eax, dword [esp + 0x48]
jne 0x48624d
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp dword [esp + 0x14], ecx
xorps xmm0, xmm0
cmovne ecx, dword [esp + 0x10]
jmp 0x486271
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x10]
movdqu xmm0, xmmword [eax]
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x10]
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x54]
sub eax, 0x10
push ecx
push eax
movdqu xmmword [esi + 0x114], xmm0
push ecx
add esi, 0xec
push esi
call fcn.004b3070
add esp, 0x10
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x14], eax
push dword [esp + 0x88]
cmovne eax, dword [esp + 0x14]
sub ecx, edi
add ecx, eax
mov eax, dword [esp + 0x64]
push ecx
push eax
call fcn.0054adf0
add esp, 0xc
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0045fd70
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0054a992
add esp, 0x70
ret 0x10
test byte [esi + 0x240], 1
je 0x486319
cmp dword [esi + 0xa0], 1
jbe 0x486319
mov eax, 1
cmp eax, dword [esi + 0xa0]
sbb eax, eax
neg eax
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
jne 0x4862c4
push 0
push 0x1000
push dword [esp + 0x64]
push edi
call fcn.0054c540
mov dword [esp + 0x38], edx
xor ecx, ecx
mov edx, dword [esp + 0x88]
add edx, edi
mov dword [esp + 0x3c], eax
push 0
adc ecx, dword [esp + 0x60]
add edx, 0xfff
push 0x1000
adc ecx, 0
push ecx
push edx
call fcn.0054c540
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], ecx
cmp ecx, edx
jg 0x4862c4
jl 0x486390
cmp eax, edi
jae 0x4862c4
lea esp, [esp]
mov edx, eax
mov edi, ecx
cmp ecx, dword [esp + 0x58]
jg 0x4863ed
jl 0x4863a2
cmp eax, dword [esp + 0x50]
jae 0x4863ed
cmp edx, dword [esi + 0xa0]
sbb ecx, ecx
and ecx, edx
mov eax, ecx
shl eax, 4
add eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
je 0x4863e5
mov ecx, dword [esp + 0x60]
add edx, 1
adc edi, 0
add dword [esp + 0x44], 1
adc ecx, 0
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
cmp edi, ecx
jl 0x4863a2
jg 0x4863f1
cmp edx, dword [esp + 0x50]
jb 0x4863a2
jmp 0x4863f1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
cmp edx, eax
jne 0x486401
cmp edi, ecx
je 0x4862c4
cmp edi, ecx
jg 0x48647c
jl 0x486410
cmp edx, eax
jae 0x48647e
jmp 0x486410
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
jne 0x48646c
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
add edx, 1
adc edi, 0
add dword [esp + 0x44], 1
mov byte [ecx + eax], 1
adc dword [esp + 0x60], 0
mov ecx, dword [esp + 0x58]
cmp edi, ecx
jl 0x486410
mov eax, dword [esp + 0x50]
jg 0x48647c
cmp edx, eax
jb 0x486410
jmp 0x48647c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], edi
cmp edx, eax
jne 0x48648c
cmp edi, ecx
jne 0x48648c
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x7c]
shld eax, edx, 0xc
shl edi, 0xc
shl edx, 0xc
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], edi
add dword [esp + 0x68], edx
mov dword [esp + 0x54], edx
adc eax, dword [esp + 0x48]
js 0x4864cd
jg 0x4864c9
cmp dword [esp + 0x68], ecx
jbe 0x4864cd
mov edi, ecx
sub edi, edx
mov ecx, dword [esi + 0x228]
mov eax, dword [esi + 0x22c]
add ecx, edx
push 0
adc eax, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x486221
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x64], 0
je 0x48650f
mov ecx, dword [esi + 0x78]
jmp 0x486511
xor ecx, ecx
mov eax, dword [esp + 0x54]
add eax, ecx
lea ecx, [esp + 0x64]
push 0
push ecx
push edi
push eax
push dword [esi + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x34c]
call eax
test eax, eax
je 0x486221
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0xa0]
sub ecx, 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
cdq
sbb ecx, 0
cmp ecx, edx
jg 0x486592
jl 0x486560
cmp dword [esp + 0x34], eax
jae 0x486592
cmp dword [esi + 0x7c], 0x10
jb 0x486592
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
dec ecx
cmp ecx, dword [esi + 0xa0]
sbb eax, eax
movdqu xmm0, xmmword [edx + edi - 0x10]
and eax, ecx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
movdqu xmmword [ecx + eax + 1], xmm0
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
je 0x486689
mov edx, dword [esp + 0x3c]
dec edx
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
je 0x4865e3
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
movdqu xmm0, xmmword [ecx + eax + 1]
jmp 0x48666b
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
sub eax, 0x1000
mov ecx, dword [esi + 0x228]
mov dword [esp + 0x54], eax
sbb edx, 0
add ecx, eax
mov eax, dword [esi + 0x22c]
push 0
adc eax, edx
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x486221
cmp dword [esi + 0x7c], 0
je 0x48662f
mov ecx, dword [esi + 0x78]
jmp 0x486631
xor ecx, ecx
mov eax, dword [esp + 0x54]
add eax, ecx
lea ecx, [esp + 0x64]
push 0
push ecx
push 0x1000
push eax
push dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x34c]
call eax
test eax, eax
je 0x486221
mov eax, dword [esp + 0x34]
movdqu xmm0, xmmword [eax + 0xff0]
mov eax, dword [esp + 0x68]
push eax
push edi
push eax
lea eax, [esi + 0xec]
push eax
movdqu xmmword [esi + 0x114], xmm0
call fcn.004b3070
add esp, 0x10
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x58]
jg 0x4862c4
mov eax, dword [esp + 0x44]
jl 0x486390
cmp eax, dword [esp + 0x50]
jmp 0x486386