Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c41
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x188], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x4014b7
xor eax, eax
jmp 0x4024ef
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x128], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4014e5
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.00402660
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x4024b5
cmp byte [0x44043b], 0
mov edi, 1
mov eax, dword [0x440434]
mov ecx, dword [0x440438]
mov esi, dword [0x446704]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], ecx
je 0x40168c
xor edx, edx
mov dword [ebp - 0x13c], edx
cmp esi, 2
jl 0x401650
movaps xmm2, xmmword [0x440c20]
mov edx, 0x1f
movaps xmm3, xmmword [0x440ca0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, edi
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x440c30]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x440cb0]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x148], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x440cb0]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x144], xmm1
jmp 0x40168c
mov eax, 0x29e4129f
mul edx
mov eax, dword [ebp - 0x13c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x13c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x148], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 8
jl 0x401650
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016c0
sub ecx, edx
lea eax, [ebp - 0x148]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov byte [ebp - 4], 1
lea edx, [ebp - 0x168]
cmp dword [ebp - 0x154], 0x10
lea ecx, [ebp - 0x184]
cmovae edx, dword [ebp - 0x168]
call fcn.004012f0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x401709
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
push edx
cmovae ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x128]
push ecx
call fcn.004027a0
mov edx, dword [ebp - 0x170]
add esp, 0xc
mov edi, eax
cmp edx, 0x10
jb 0x40176c
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40250d
push edx
push ecx
call fcn.00416502
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
cmp edx, 0x10
jb 0x4017c5
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4017bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40250d
push edx
push ecx
call fcn.00416502
add esp, 8
cmp edi, 0xffffffff
je 0x4017d4
mov esi, 1
jmp 0x4024b7
mov eax, dword [0x4403ec]
xor edx, edx
movq xmm0, qword [0x4403e4]
mov dword [ebp - 0x148], eax
mov al, byte [0x4403f0]
movq qword [ebp - 0x150], xmm0
mov byte [ebp - 0x144], al
mov dword [ebp - 0x13c], edx
cmp esi, 2
jl 0x401920
movaps xmm2, xmmword [0x440c20]
mov eax, 1
movaps xmm4, xmmword [0x440ca0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [ebp - 0x13c], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x440cb0]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x440c30]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4403e4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x150], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x14c]
pxor xmm1, xmm0
movd dword [ebp - 0x14c], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x13c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x150], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 0xd
jl 0x401920
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401984
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov byte [ebp - 4], 2
lea edx, [ebp - 0x168]
cmp dword [ebp - 0x154], 0x10
lea ecx, [ebp - 0x184]
cmovae edx, dword [ebp - 0x168]
call fcn.004012f0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4019cd
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
push edx
cmovae ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x128]
push ecx
call fcn.004027a0
mov edx, dword [ebp - 0x170]
add esp, 0xc
mov edi, eax
cmp edx, 0x10
jb 0x401a30
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401a26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402512
push edx
push ecx
call fcn.00416502
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
cmp edx, 0x10
jb 0x401a89
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402512
push edx
push ecx
call fcn.00416502
add esp, 8
cmp edi, 0xffffffff
je 0x401a98
mov esi, 1
jmp 0x4024b7
cmp byte [0x440433], 0
movq xmm0, qword [str.davfedxpv_pbcptbv8:]
mov eax, dword [0x440430]
movq qword [ebp - 0x14c], xmm0
mov dword [ebp - 0x144], eax
je 0x401c1c
xor edx, edx
mov dword [ebp - 0x13c], edx
cmp esi, 2
jl 0x401be6
movaps xmm2, xmmword [0x440c20]
mov eax, 1
movaps xmm4, xmmword [0x440ca0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [ebp - 0x13c], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x440cb0]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x440c30]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.davfedxpv_pbcptbv8:]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x14c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x148]
pxor xmm1, xmm0
movd dword [ebp - 0x148], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x13c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x14c], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 0xc
jl 0x401be6
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401c50
sub ecx, edx
lea eax, [ebp - 0x14c]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov byte [ebp - 4], 3
lea edx, [ebp - 0x168]
cmp dword [ebp - 0x154], 0x10
lea ecx, [ebp - 0x184]
cmovae edx, dword [ebp - 0x168]
call fcn.004012f0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x401c99
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp - 0x124], 0x10
lea ecx, [ebp - 0x138]
push edx
cmovae ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x128]
push ecx
call fcn.004027a0
mov edx, dword [ebp - 0x170]
add esp, 0xc
mov edi, eax
cmp edx, 0x10
jb 0x401cfc
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401cf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402517
push edx
push ecx
call fcn.00416502
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
cmp edx, 0x10
jb 0x401d55
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401d4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402517
push edx
push ecx
call fcn.00416502
add esp, 8
cmp edi, 0xffffffff
je 0x401d64
mov esi, 1
jmp 0x4024b7
cmp byte [0x4403e3], 0
movq xmm0, qword [str.FAPFFC]
mov eax, dword [str.B_puywgho]
movq qword [ebp - 0x14c], xmm0
mov dword [ebp - 0x144], eax
je 0x401ee8
xor edx, edx
mov dword [ebp - 0x13c], edx
cmp esi, 2
jl 0x401eb2
movaps xmm2, xmmword [0x440c20]
mov eax, 1
movaps xmm4, xmmword [0x440ca0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [ebp - 0x13c], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x440cb0]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x440c30]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.FAPFFC]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x14c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x148]
pxor xmm1, xmm0
movd dword [ebp - 0x148], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x13c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x14c], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 0xc
jl 0x401eb2
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401f10
sub ecx, edx
lea eax, [ebp - 0x14c]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x168]
mov esi, dword [ebp - 0x168]
lea ecx, [ebp - 0x138]
push dword [ebp - 0x158]
mov edx, dword [ebp - 0x128]
cmp edi, 0x10
cmovae eax, esi
cmp dword [ebp - 0x124], 0x10
push eax
cmovae ecx, dword [ebp - 0x138]
push ecx
call fcn.004027a0
add esp, 0xc
mov dword [ebp - 0x13c], eax
cmp edi, 0x10
jb 0x401faa
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x401f9a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40251c
push ecx
push esi
call fcn.00416502
mov eax, dword [ebp - 0x13c]
add esp, 8
cmp eax, 0xffffffff
je 0x401fb9
mov esi, 1
jmp 0x4024b7
movups xmm0, xmmword [str.r_bocXSWNIgqT_M_2__0k_b]
mov al, byte [0x44041c]
xor edx, edx
cmp dword [0x446704], 2
movups xmmword [ebp - 0x184], xmm0
mov byte [ebp - 0x16c], al
movq xmm0, qword [0x440414]
movq qword [ebp - 0x174], xmm0
mov dword [ebp - 0x13c], edx
jl 0x402140
movaps xmm0, xmmword [0x440cb0]
mov eax, 1
movaps xmm4, xmmword [0x440c20]
movaps xmm3, xmmword [0x440ca0]
movaps xmm6, xmmword [0x440c50]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x150], xmm0
mov ecx, dword [ebp - 0x150]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
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
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x184]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x184], 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
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x180]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x180], xmm1
add edx, 8
cmp edx, 0x18
jl 0x402032
mov dword [ebp - 0x13c], edx
cmp edx, 0x19
jge 0x402176
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x13c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x184], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 0x19
jl 0x402140
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021a0
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x168]
mov esi, dword [ebp - 0x168]
lea ecx, [ebp - 0x138]
push dword [ebp - 0x158]
mov edx, dword [ebp - 0x128]
cmp edi, 0x10
cmovae eax, esi
cmp dword [ebp - 0x124], 0x10
push eax
cmovae ecx, dword [ebp - 0x138]
push ecx
call fcn.004027a0
add esp, 0xc
mov dword [ebp - 0x13c], eax
cmp edi, 0x10
jb 0x40223a
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40222a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40251c
push ecx
push esi
call fcn.00416502
mov eax, dword [ebp - 0x13c]
add esp, 8
cmp eax, 0xffffffff
je 0x402249
mov esi, 1
jmp 0x4024b7
mov eax, dword [0x4403fc]
xor edx, edx
cmp dword [0x446704], 2
movq xmm0, qword [str.r_bodGYPJXW]
mov dword [ebp - 0x148], eax
mov ax, word [0x440400]
mov word [ebp - 0x144], ax
mov al, byte [0x440402]
movq qword [ebp - 0x150], xmm0
mov byte [ebp - 0x142], al
mov dword [ebp - 0x13c], edx
jl 0x4023a6
movaps xmm2, xmmword [0x440c20]
mov eax, 1
movaps xmm4, xmmword [0x440ca0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [ebp - 0x13c], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x440cb0]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x440c30]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.r_bodGYPJXW]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x150], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x440c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x440c90]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x14c]
pxor xmm1, xmm0
movd dword [ebp - 0x14c], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x13c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x150], cl
inc edx
mov dword [ebp - 0x13c], edx
cmp edx, 0xf
jl 0x4023a6
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402403
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00402660
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x168]
mov esi, dword [ebp - 0x168]
lea ecx, [ebp - 0x138]
push dword [ebp - 0x158]
mov edx, dword [ebp - 0x128]
cmp edi, 0x10
cmovae eax, esi
cmp dword [ebp - 0x124], 0x10
push eax
cmovae ecx, dword [ebp - 0x138]
push ecx
call fcn.004027a0
add esp, 0xc
mov dword [ebp - 0x13c], eax
cmp edi, 0x10
jb 0x40249d
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40248d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40251c
push ecx
push esi
call fcn.00416502
mov eax, dword [ebp - 0x13c]
add esp, 8
cmp eax, 0xffffffff
je 0x4024a9
mov esi, 1
jmp 0x4024b7
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x4024ed
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4024e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40251c
push edx
push ecx
call fcn.00416502
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004164c4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041a93f
call fcn.0041a93f
call fcn.0041a93f
call fcn.0041a93f
int3