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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x158
mov dword [esp + 0x50], ecx
call fcn.00657490
mov edx, dword [0x867038]
mov ecx, dword [0x86702c]
mov esi, 0xa0b1
sub esi, eax
mov dword [esp + 0x10], esi
sub ecx, esi
add ecx, edx
call dword [0x834360]
call ecx
mov ebx, eax
mov eax, dword [0x88abdc]
mov ecx, ebx
xor ecx, 0x49164384
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
mov edi, dword [eax + ecx]
test edi, edi
nop
mov dword [esp], ebx
je 0x6519bd
nop
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov esi, ebx
xor esi, 0x4e030c00
mov eax, dword [0x86703c]
mov ecx, dword [0x867024]
sub ecx, dword [esp + 0x10]
add ecx, eax
call dword [0x834360]
push esi
call ecx
mov ebp, eax
mov esi, ebx
xor esi, 0x491643a3
xor ebx, 0x491643a0
mov ecx, edi
call dword [0x834360]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x58]
push eax
push ebx
push ecx
push esi
push ebp
call edi
test eax, eax
jne 0x6519b9
nop
cmp dword [esp + 0x58], 0
je 0x6519b9
nop
cmp dword [0x88abd0], 0
jne 0x6519aa
nop
push dword [esp + 8]
call fcn.0071993d
add esp, 4
mov ebp, dword [esp]
mov ecx, ebp
xor ecx, 0x491643ac
mov edx, ebp
xor edx, 0x491643b8
mov edi, ebp
xor edi, 0x491643ab
mov dword [eax + edx], edi
mov dword [eax + ebx], 0x751360
mov dword [eax], 0
xor ebp, 0x491643bc
mov dword [eax + ebp], 0
mov byte [eax + ecx], 0
mov dword [0x88abd0], eax
nop
mov eax, dword [0x88abd0]
mov dword [eax], esi
mov bl, 1
jmp 0x6522d4
nop
mov ebx, dword [esp]
nop
mov eax, dword [0x867de0]
xor eax, ebx
cmp eax, 0x4d2efb70
mov ebp, dword [0x7e63a0]
jne 0x651b78
mov eax, ebx
xor eax, 0x2e266296
mov ecx, ebx
shl ecx, 0x1c
xor ecx, ebx
mov edi, ecx
mov esi, ebx
shl esi, 0x1e
mov ecx, ebx
xor ecx, 0xa841fc5c
xor esi, ecx
mov edx, ebx
shl edx, 0x1b
xor edx, ebx
mov dword [esp + 0x18], edx
xor edx, 0x5ef4f79d
add edx, esi
mov dword [esp + 4], edi
mov esi, edi
xor esi, 0x91d99d69
add edx, eax
add edx, esi
mov esi, edi
xor esi, 0xec330b61
mov eax, ebx
xor eax, 0x53ccf49e
add esi, edx
add esi, eax
mov eax, ebx
xor eax, 0x810b0862
add eax, esi
add eax, ebp
add eax, 4
mov edi, ebx
shl edi, 0x1f
xor edi, ebx
mov edx, edi
xor edx, 0x57be03a3
mul edx
mov esi, ebx
shl esi, 4
mov ebp, ebx
add eax, ecx
add eax, 1
mov ecx, ebx
shl ecx, 0x1d
xor ecx, ebx
movd xmm0, ecx
xor ecx, 0xd7be03a3
mul ecx
shr ebp, 1
mov ecx, ebx
xor cl, 0xa3
shl eax, cl
mov edx, ebx
shr edx, 3
test cl, 0x20
mov ecx, 0
cmovne eax, ecx
movd xmm2, esi
movd xmm1, ebx
punpckldq xmm1, xmm2
movd xmm2, edi
movd xmm3, ebp
punpckldq xmm2, xmm3
punpcklqdq xmm1, xmm2
movd xmm3, edx
punpckldq xmm0, xmm3
punpcklqdq xmm2, xmm0
pxor xmm2, xmmword [0x7e6340]
pxor xmm1, xmmword [0x7e6350]
paddq xmm1, xmm2
mov ecx, ebx
xor ecx, 0x32b067c9
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movd edx, xmm0
add edx, ecx
mov esi, dword [esp + 0x18]
mov ecx, esi
xor ecx, 0x1d321a1d
add eax, ecx
add eax, edx
mov ecx, 1
sub ecx, 0x7e63a0
add eax, ecx
add eax, 2
mov edx, ebx
xor edx, eax
mov ebp, dword [esp + 4]
xor ebp, 0xe104f850
and eax, ebp
xor edx, 0xa104f850
add eax, eax
add eax, edx
mov edx, esi
xor edx, 0x2a7b54e2
mov esi, ebx
xor esi, 0xf584ab1d
add esi, edx
mov edx, 0x7e63a0
mul edx
add esi, ecx
add esi, eax
xor edi, 0x24c6c61f
mov eax, ebx
xor eax, 0xdb3939e0
add edi, ecx
add edi, eax
mov eax, esi
xor eax, edi
and edi, esi
add edi, edi
mov ecx, edi
xor ecx, eax
and edi, eax
mov eax, ebx
xor eax, 0xcfc7fdba
mov edx, ebx
xor edx, 0x30380245
add edx, eax
add edi, edi
add edi, ecx
sub edx, edi
mov dword [0x867df0], 0x862180fe
add edx, 1
mov dword [esp + 0x38], edx
jmp 0x651c0b
mov eax, ebx
shr eax, 1
mov ecx, ebx
shl ecx, 0x1f
xor ecx, ebx
lea edx, [ebx*8]
lea esi, [ebx + ebx]
movd xmm0, edx
movd xmm1, ebx
movdqa xmm2, xmm1
punpckldq xmm2, xmm0
movd xmm0, ecx
movd xmm3, eax
punpckldq xmm0, xmm3
movd xmm3, esi
punpckldq xmm1, xmm3
punpcklqdq xmm1, xmm0
punpcklqdq xmm0, xmm2
pxor xmm1, xmmword [0x7e6320]
pxor xmm0, xmmword [0x7e6330]
paddq xmm0, xmm1
mov eax, ebx
xor eax, 0x7dc99f81
mov edx, ebx
shl edx, 0x1d
xor edx, ebx
xor edx, 0xc7dd1d80
mov ecx, ebx
xor ecx, 0xb822e27f
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movd esi, xmm1
add esi, edx
add ecx, eax
add ecx, esi
add ebp, 0x7e63a0
add ebp, ecx
add ebp, 3
mov dword [esp + 0x38], ebp
nop
mov eax, dword [0x7e6384]
mov dword [esp + 0x18], eax
mov eax, 0x7e6388
add eax, dword [0x7e6388]
mov dword [esp + 0x20], eax
xor ebx, 0x4916424c
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + ebx]
test ecx, ecx
je 0x651cc0
nop
call dword [0x834360]
call ecx
test eax, eax
je 0x651cc0
nop
cmp dword [0x88abd0], 0
jne 0x651ca8
nop
push dword [esp + 8]
call fcn.0071993d
add esp, 4
mov ebx, dword [esp]
mov ecx, ebx
xor ecx, 0x491643a0
mov edx, ebx
xor edx, 0x491643ac
mov esi, ebx
xor esi, 0x491643b8
mov edi, ebx
xor edi, 0x491643ab
mov dword [eax + esi], edi
mov dword [eax + ecx], 0x751360
mov dword [eax], 0
mov ecx, ebx
xor ecx, 0x491643bc
mov dword [eax + ecx], 0
mov byte [eax + edx], 0
mov dword [0x88abd0], eax
nop
mov eax, dword [0x88abd0]
mov ecx, dword [esp]
xor ecx, 0x491643ac
mov dword [eax], ecx
mov bl, 1
jmp 0x6522d4
nop
mov eax, dword [esp]
xor eax, 0x49164248
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + eax]
test edi, edi
je 0x6520ce
nop
mov dword [esp + 0x58], 0
mov ebx, dword [esp]
mov esi, ebx
xor esi, 0x4e030c00
mov eax, dword [0x86703c]
mov ecx, dword [0x867024]
sub ecx, dword [esp + 0x10]
add ecx, eax
call dword [0x834360]
push esi
call ecx
mov ebp, eax
mov ecx, edi
call dword [0x834360]
lea eax, [esp + 0x58]
push eax
push ebp
call edi
mov ecx, dword [0x867de8]
xor ecx, ebx
cmp ecx, 0x9134f437
mov edx, dword [0x867ddc]
nop
mov dword [esp + 0x3c], eax
jne 0x651d7d
lea edi, [edx - 1]
mov ecx, ebx
xor ecx, 0x6ffc5790
mov esi, ebx
xor esi, 0x9003a86f
add esi, ecx
lea esi, [esi + edx*2]
imul esi, edi
sub edx, esi
imul esi, edx
mov ebx, esi
mov ecx, edx
shl ebx, cl
mov ecx, ebx
shl esi, cl
mov dword [0x867ddc], edx
mov dword [0x867de8], 0x398472a9
test esi, ebx
je 0x651d9c
xor ebp, ebp
mov eax, 1
jmp 0x651ff4
lea edi, [edx + 1]
mov dword [0x867ddc], edi
mov ecx, edx
not ecx
mov esi, 0xfffffffe
sub esi, edx
and esi, ecx
xor edi, edx
or edi, esi
cmp edi, 0xffffffff
jne 0x651d71
nop
mov ecx, dword [0x867dec]
xor ecx, dword [esp]
cmp ecx, 0x2288ccdd
nop
mov esi, dword [esp + 0x20]
jne 0x651dce
nop
mov edx, dword [esp]
xor edx, 0x91643a2
mov dword [0x867df4], 0x182362c6
mov ecx, dword [esp + 0x20]
lea esi, [ecx + edx*4]
nop
mov eax, dword [esi]
cmp dword [esp + 0x18], 0
jle 0x651ff0
mov ebx, dword [esp]
mov edx, ebx
shl edx, 0x1f
xor edx, ebx
xor edx, 0x57be03a3
sub dword [esp + 0x38], edx
add esi, eax
mov dword [esp + 4], esi
mov ecx, ebx
shl ecx, 4
mov eax, ecx
mov edx, ecx
xor eax, 0x3f30c7d9
mov dword [esp + 0x34], eax
mov eax, ebx
xor eax, 0x19d2a05a
mov dword [esp + 0x30], eax
mov eax, ebx
xor eax, 0x2e4c31ef
mov dword [esp + 0x2c], eax
mov eax, ebx
xor eax, 0xc385f253
mov dword [esp + 0x28], eax
mov ebp, ebx
shr ebp, 2
mov esi, ebx
shl esi, 0x1e
xor esi, ebx
xor esi, 0x3c7a0dac
xor ebp, 0x8ae01d5d
mov eax, ebx
shr eax, 5
mov ecx, ebx
shl ecx, 0x1b
xor ecx, ebx
xor ecx, 0xc62d5fa5
xor eax, 0x53e3b07b
xor edx, 0xb56dac52
mov dword [esp + 0x1c], edx
mov edi, ebx
xor edi, 0x131aad6b
lea edx, [ebx*4]
xor edx, 0xffaf677d
mov dword [esp + 0x24], edx
mov edx, ebx
xor edx, 0xece55294
mov dword [esp + 0xc], edx
xor edx, edx
add ecx, esi
adc eax, ebp
add ecx, edi
mov esi, dword [esp + 4]
adc eax, dword [esp + 0x1c]
add ecx, dword [esp + 0x28]
adc eax, dword [esp + 0x2c]
add ecx, dword [esp + 0x30]
adc eax, dword [esp + 0x34]
add ecx, dword [esp + 0xc]
adc eax, dword [esp + 0x24]
add ecx, 3
mov dword [esp + 0x30], ecx
adc eax, 0
mov dword [esp + 0x34], eax
mov eax, ebx
shr eax, 3
mov ecx, ebx
shl ecx, 0x1d
xor ecx, ebx
xor ecx, 0xc91643a0
mov dword [esp + 0x28], ecx
xor eax, 0x922c874
mov dword [esp + 0x2c], eax
mov eax, ebx
xor eax, 0x3de93815
mov ecx, ebx
xor ecx, 0xc216c7ea
add ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, ebx
xor eax, 0x491643a0
mov ecx, ebx
xor ecx, 0x491643a7
mov dword [esp + 0x4c], ecx
mov ecx, ebx
xor ecx, 0x80c4d20e
mov dword [esp + 0x48], ecx
mov ecx, ebx
xor ecx, 0xa2ebca4c
xor ebx, 0xb6e9bc5f
mov dword [esp + 0x24], eax
add ebx, eax
mov dword [esp + 0x44], ecx
sub ebx, ecx
inc ebx
mov dword [esp + 0x40], ebx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0xc], 0
jmp 0x651faa
mov eax, ebx
mov ecx, dword [esp + 0x4c]
shl eax, cl
mov esi, 1
mov ecx, eax
shl esi, cl
add esi, dword [esp + 0x1c]
and edi, esi
mov dword [esp + 4], edi
mov edi, dword [esp + 0xc]
mov eax, edi
xor eax, 1
and edi, 1
lea edi, [eax + edi*2]
mov ecx, dword [esp + 0x48]
sub ebx, ecx
add ebx, dword [esp + 0x44]
mov eax, ebx
xor eax, ecx
add eax, dword [esp + 0x40]
and ebx, ecx
lea eax, [eax + ebx*2]
mov ecx, eax
xor ecx, edx
and eax, edx
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x20]
lea esi, [eax + edi*4]
mov dword [esp + 0xc], edi
add esi, dword [eax + edi*4]
mov edi, dword [esp + 4]
xor eax, eax
xor ebp, edi
add edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x18]
jge 0x651fec
nop
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], esi
add ebx, esi
mov edi, dword [esp + 0x34]
mov ecx, eax
adc edi, eax
mov esi, dword [esp + 0x38]
lea eax, [esi + edx]
sub ebx, eax
sbb edi, 0
cmp ebx, dword [esp + 0x28]
sbb edi, dword [esp + 0x2c]
mov edi, dword [esi + edx]
jl 0x651f40
mov esi, dword [esp + 4]
mov eax, ecx
xor ebp, edi
add edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x18]
jl 0x651faa
xor eax, eax
jmp 0x651ff4
xor eax, eax
xor ebp, ebp
nop
cmp dword [esp + 0x3c], 0
je 0x6520ce
nop
cmp dword [esp + 0x58], 0
je 0x6520ce
nop
mov ecx, dword [0x88abd0]
mov edx, dword [0x867df0]
xor edx, dword [esp]
cmp edx, 0xa45b75c
mov edx, dword [0x7e6380]
je 0x65205a
nop
mov edi, dword [esp]
mov esi, edi
xor esi, 0x19621fb0
xor edi, 0xe69de04f
add edi, esi
add edi, eax
sub edx, ebp
test edx, edi
setne al
or al, byte [0x889bde]
or al, byte [0x889b68]
and al, 1
mov byte [0x889b68], al
test ecx, ecx
jne 0x6520b6
nop
push dword [esp + 8]
call fcn.0071993d
add esp, 4
mov ebx, dword [esp]
mov ecx, ebx
xor ecx, 0x491643a0
mov edx, ebx
xor edx, 0x491643ac
mov esi, ebx
xor esi, 0x491643b8
mov edi, ebx
xor edi, 0x491643ab
mov dword [eax + esi], edi
mov dword [eax + ecx], 0x751360
mov dword [eax], 0
mov ecx, ebx
xor ecx, 0x491643bc
mov dword [eax + ecx], 0
mov byte [eax + edx], 0
mov dword [0x88abd0], eax
nop
mov eax, dword [0x88abd0]
mov ecx, dword [esp]
xor ecx, 0x491643ad
mov dword [eax], ecx
mov bl, 1
jmp 0x6522d4
cmp byte [esp + 0x16c], 0
je 0x652253
pxor xmm0, xmm0
movdqu xmmword [esp + 0x148], xmm0
movdqu xmmword [esp + 0x138], xmm0
movdqu xmmword [esp + 0x128], xmm0
movdqu xmmword [esp + 0x118], xmm0
movdqu xmmword [esp + 0x108], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xa8], xmm0
movdqu xmmword [esp + 0x98], xmm0
movdqu xmmword [esp + 0x88], xmm0
movdqu xmmword [esp + 0x78], xmm0
movdqu xmmword [esp + 0x68], xmm0
mov edx, dword [esp]
mov eax, edx
xor eax, 0x491643b4
movdqa xmm0, xmmword [0x7e6360]
movdqu xmmword [esp + 0x58], xmm0
movdqu xmmword [esp + eax + 0x58], xmm0
mov eax, edx
xor eax, 0x49164394
mov ecx, dword [esp + 8]
movdqu xmmword [esp + ecx + 0x58], xmm0
movdqu xmmword [esp + eax + 0x58], xmm0
mov eax, edx
xor eax, 0x491643e4
mov ecx, edx
xor ecx, 0x491643f4
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x491643c4
mov ecx, edx
xor ecx, 0x491643d4
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x49164324
mov ecx, edx
xor ecx, 0x49164334
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x49164304
mov ecx, edx
xor ecx, 0x49164314
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x49164364
mov ecx, edx
xor ecx, 0x49164374
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x49164344
mov ecx, edx
xor ecx, 0x49164354
movdqu xmmword [esp + eax + 0x58], xmm0
movdqu xmmword [esp + ecx + 0x58], xmm0
mov eax, edx
xor eax, 0x49164254
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + eax]
call dword [0x834360]
lea eax, [esp + 0x58]
push eax
call ecx
nop
mov eax, dword [0x867030]
mov ecx, dword [0x867028]
sub ecx, dword [esp + 0x10]
add ecx, eax
call dword [0x834360]
push dword [esp + 0x14]
call ecx
add esp, 4
mov bl, 1
test al, al
jne 0x6522d4
nop
test byte [0x889b68], 1
jne 0x6522d4
nop
mov esi, dword [esp]
mov eax, esi
xor eax, 0x49164350
mov ecx, dword [esp + 0x50]
cmp byte [ecx + eax], 1
jne 0x6522ab
mov eax, esi
xor eax, 0x4914a358
push eax
call fcn.006856c0
cmp eax, 2
jae 0x6522af
xor ebx, ebx
jmp 0x6522d4
mov edi, eax
mov eax, dword [0x867034]
mov ecx, dword [0x867020]
sub ecx, dword [esp + 0x10]
add ecx, eax
call dword [0x834360]
call ecx
xor esi, 0xc91643a4
or edi, esi
mov dword [eax], edi
mov eax, ebx
add esp, 0x158
pop esi
pop edi
pop ebx
pop ebp
ret 4