Function at 0x437840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x822018
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x181cbec]
cmp dword [eax + 0x6ac], 0
jne 0x437895
mov esi, dword [0x83c364]
nop dword [eax]
push 0x3e8
call esi
mov eax, dword [0x181cbec]
cmp dword [eax + 0x6ac], 0
je 0x437880
push 0x8fe298
lea eax, [ebp - 0x58]
push 0x181cd58
push eax
call fcn.0041ead0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x181ccf8
cmp dword [0x181cd0c], 8
push dword [0x181cd08]
cmovae ecx, dword [0x181ccf8]
push ecx
mov ecx, eax
call fcn.00423180
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x60], xmm0
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x437935
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43792b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437e30
push edx
push ecx
call fcn.005c2556
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x48], 0
mov ecx, esp
mov dword [ebp - 0x78], esp
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x8fd96c
mov word [ecx], ax
call fcn.0040ea60
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.00404770
mov byte [ebp - 4], 2
call fcn.00437500
movups xmm0, xmmword [0x8ff9d8]
add esp, 0x30
xor esi, esi
cmp dword [0x1816094], 2
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x8ff9e8]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x8ff9f8]
movq qword [ebp - 0x20], xmm0
jl 0x437ad0
movaps xmm4, xmmword [0x903710]
mov eax, 4
movaps xmm3, xmmword [0x9037a0]
movaps xmm6, xmmword [0x903730]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903770]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x40]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x40], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x903770]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x38]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x38], xmm1
add esi, 8
cmp esi, 0x10
jl 0x4379e0
cmp esi, 0x14
jge 0x437af6
nop dword [eax]
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x40], cx
inc esi
cmp esi, 0x14
jl 0x437ad0
sub esp, 0x18
lea ecx, [ebp - 0x40]
mov edx, esp
mov dword [ebp - 0x78], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437b17
sub ecx, esi
lea eax, [ebp - 0x40]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
mov byte [ebp - 4], 4
xor esi, esi
mov eax, dword [0x8ff7f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x8ff7f8]
mov word [ebp - 0x14], ax
nop word [eax + eax]
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x437b50
sub esp, 0x18
lea ecx, [ebp - 0x18]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437b94
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
mov byte [ebp - 4], 2
call fcn.00437500
mov ax, word [0x8ff4ac]
add esp, 0x30
mov word [ebp - 0x74], ax
xor edx, edx
mov al, byte [0x8ff4ae]
mov byte [ebp - 0x72], al
mov dword [ebp - 0x78], edx
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x78]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x74], cl
inc edx
mov dword [ebp - 0x78], edx
cmp edx, 3
jl 0x437bd2
lea edx, [ebp - 0x74]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x437c06
mov esi, dword [0x18091e8]
sub edx, ecx
cmp dword [0x18091ec], 0x10
mov ecx, 0x18091d8
cmovae ecx, dword [0x18091d8]
cmp esi, edx
jne 0x437de0
lea edx, [ebp - 0x74]
sub esi, 4
jb 0x437c49
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x437c4e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x437c38
cmp esi, 0xfffffffc
je 0x437c82
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x437c7b
cmp esi, 0xfffffffd
je 0x437c82
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x437c7b
cmp esi, 0xfffffffe
je 0x437c82
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x437c7b
cmp esi, 0xffffffff
je 0x437c82
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x437c82
sbb eax, eax
or eax, 1
jmp 0x437c84
xor eax, eax
test eax, eax
jne 0x437de0
mov eax, dword [0x181cbec]
cmp dword [eax + 0x780], 0
jne 0x437de0
cmp word [0x8ff4b2], 0
mov eax, dword [0x8ff4b0]
mov dword [ebp - 0x74], eax
je 0x437cd8
xor esi, esi
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x74], cx
inc esi
cmp esi, 2
jl 0x437cb2
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x30]
push 0x181cd58
push eax
call fcn.0041ead0
push 0x181ccb0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.00445830
add esp, 0x18
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x437d3e
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437d34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437e35
push edx
push ecx
call fcn.005c2556
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
sub esp, 0x18
mov dword [ebp - 0x1c], 7
mov edx, esp
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
mov dword [ebp - 0x78], esp
lea esi, [ecx + 2]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437d71
sub ecx, esi
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00404770
mov byte [ebp - 4], 7
call fcn.00437500
mov edx, dword [ebp - 0x44]
add esp, 0x30
cmp edx, 8
jb 0x437de0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437dd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437e3a
push edx
push ecx
call fcn.005c2556
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x437e16
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437e0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437e3f
push edx
push ecx
call fcn.005c2556
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c234a
mov esp, ebp
pop ebp
ret
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
int3