Function at 0x4031d0
Capabilities:
Access peb ldr_data
Create thread
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

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 0x4895db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x4a4314]
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
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0
push eax
push 0
push 0
push 0x402f90
push 0
push 0
call fcn.0046e384
add esp, 0x18
mov dword [ebp - 0x48], 0
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004166e0
mov dword [ebp - 4], 1
lea edi, [ebp - 0x148]
mov ecx, 0x26
mov esi, 0x49f0b0
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0x14c], edx
movsw word es:[edi], word [esi]
mov esi, dword [0x4a5684]
lea edi, [edx + 4]
lea eax, [edx + 0x1f]
cmp esi, 2
jl 0x4033e4
movaps xmm0, xmmword [0x49f340]
movaps xmm4, xmmword [0x49f2f0]
movaps xmm3, xmmword [0x49f330]
movaps xmm6, xmmword [0x49f310]
movaps xmmword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x30]
movd xmm5, edi
movd xmm7, eax
nop word [eax + 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 [0x49f320]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x148]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x148], 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 [0x49f320]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x144]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x144], xmm1
add edx, 8
cmp edx, 0x98
jl 0x4032d0
mov dword [ebp - 0x14c], edx
cmp edx, 0x9a
jge 0x40341e
mov eax, 0x288df0cb
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0x148], cl
inc edx
mov dword [ebp - 0x14c], edx
cmp edx, 0x9a
jl 0x4033e4
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x148]
mov dword [ebp - 0x80], 0
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 1
call fcn.004166e0
mov byte [ebp - 4], 3
xor edx, edx
mov eax, dword [0x49eec4]
movq xmm0, qword [0x49eebc]
mov dword [ebp - 0x28], eax
mov al, byte [0x49eec8]
movq qword [ebp - 0x30], xmm0
mov byte [ebp - 0x24], al
mov dword [ebp - 0x14c], edx
cmp esi, 2
jl 0x403590
movaps xmm2, xmmword [0x49f2f0]
mov eax, 0x1f
movaps xmm4, xmmword [0x49f330]
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, edi
psrad xmm1, xmm5
movd xmm6, eax
mov eax, dword [0x49f340]
movaps xmm0, xmm1
psrld xmm0, xmm6
mov dword [ebp - 0x14c], edx
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x49f310]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x49f300]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x49f320]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x49eebc]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x30], 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 [0x49f310]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x49f320]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x2c]
pxor xmm1, xmm0
movd dword [ebp - 0x2c], xmm1
nop dword [eax]
mov eax, 0x288df0cb
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0x30], cl
inc edx
mov dword [ebp - 0x14c], edx
cmp edx, 0xd
jl 0x403590
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4035d0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x38]
sub eax, edx
cmp eax, ecx
jb 0x403a85
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push edx
cmovae eax, dword [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
push dword [ebp - 0x158]
lea ecx, [ebp - 0xa8]
call fcn.00417250
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x78]
call fcn.00416b10
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x403669
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40365f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a8a
push edx
push ecx
call fcn.0046a5c6
add esp, 8
cmp byte [0x49f073], 0
movups xmm0, xmmword [0x49f05c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0xa8], 0
movq xmm0, qword [0x49f06c]
movq qword [ebp - 0x50], xmm0
je 0x403829
xor edx, edx
mov dword [ebp - 0x14c], edx
cmp esi, 2
jl 0x4037f0
movaps xmm0, xmmword [0x49f340]
mov eax, 0x1f
movaps xmm4, xmmword [0x49f2f0]
xor ecx, ecx
movaps xmm3, xmmword [0x49f330]
movaps xmm6, xmmword [0x49f310]
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm5, edi
movd xmm7, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x49f320]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x60], 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 [0x49f320]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x5c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x5c], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x4036f0
jmp 0x403829
mov eax, 0x446f8657
mul edx
mov eax, dword [ebp - 0x14c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x14c]
shr eax, 6
mov cl, dl
movsx eax, al
imul eax, eax, 0x65
sub cl, al
add cl, 0x63
xor byte [ebp + edx - 0x60], cl
inc edx
mov dword [ebp - 0x14c], edx
cmp edx, 0x18
jl 0x4037f0
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x60]
push 0x202000
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x154], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x150], ecx
cmp ecx, edx
je 0x4038ca
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4038ca
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
nop dword [eax]
sub ecx, 4
dec edi
mov dword [ebp - 0x14c], ecx
mov esi, 0x2f9717ab
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x4038bd
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x4038a0
cmp esi, 0x3578ae07
je 0x4038ce
mov ecx, dword [ebp - 0x14c]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x403880
mov eax, dword [eax]
jmp 0x403852
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x154]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x158], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x14c], esi
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + esi + 0x78]
add eax, esi
mov dword [ebp - 0x150], eax
cmp eax, esi
je 0x40397a
mov edi, dword [eax + 0x18]
test edi, edi
je 0x40397a
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, esi
nop
mov edx, dword [eax - 4]
sub eax, 4
add edx, esi
mov dword [ebp - 0x154], eax
dec edi
mov esi, 0xdb93f135
mov al, byte [edx]
inc edx
test al, al
je 0x40396d
nop dword [eax + eax]
movsx eax, al
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [edx - 1]
test al, al
jne 0x403950
cmp esi, 0xa9c67a78
je 0x40397e
mov eax, dword [ebp - 0x154]
mov esi, dword [ecx + 0x18]
test edi, edi
jne 0x403930
mov ecx, dword [ecx]
jmp 0x403904
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14c]
push 0x3e8
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
push 0
push dword [ebp - 0x158]
mov dword [0], 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4039f2
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4039e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a8f
push edx
push ecx
call fcn.0046a5c6
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x403a37
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a8f
push edx
push ecx
call fcn.0046a5c6
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x403a67
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a8f
push edx
push ecx
call fcn.0046a5c6
add esp, 8
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.0046a386
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004011e0
call fcn.00470be0
call fcn.00470be0
int3