Function at 0x431350
Capabilities:
Encode data using xor
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527e3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push esi
mov dword [ebp - 0x20], ecx
push edi
mov byte [ebp - 0x18], dl
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], 1
cmp esi, edi
je 0x4313c8
nop dword [eax]
mov ecx, esi
call fcn.0040b870
add esi, 0x18
cmp esi, edi
jne 0x4313b0
mov edi, dword [ebp - 0x20]
mov eax, dword [edi]
mov dword [edi + 4], eax
jmp 0x4313cb
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x17], 0xec
xor edx, edx
mov byte [ebp - 0x16], 0x9b
mov esi, 0xf
mov byte [ebp - 0x15], 0xbb
mov al, byte [ebp - 0x17]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0x17]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xec92e0b9
mov edx, 0x210f6849
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
and al, 0xf
lea ecx, [edx - 0x47]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x17], al
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 3
jb 0x4313e4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x17]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431430
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4317a7
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x17]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x6c]
call fcn.00493330
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x1c4]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x14], 3
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, 3
mov esi, eax
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffd
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0040b870
cmp esi, 0xffffffff
je 0x43177a
cmp byte [ebp - 0x18], 0
jne 0x4314c6
test byte [ebp - 0x1c4], 0x10
jne 0x43174e
jmp 0x4314d3
test byte [ebp - 0x1c4], 0x10
je 0x43174e
lea ecx, [ebp - 0x198]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4314e0
mov al, byte [ebp - 0x198]
sub ecx, edx
cmp ecx, 1
jne 0x4314fc
cmp al, 0x2e
je 0x43174e
cmp ecx, 2
jne 0x431511
cmp al, 0x2e
jne 0x431511
cmp byte [ebp - 0x197], al
je 0x43174e
cmp byte [ebp + 0x20], 0
je 0x43169c
mov byte [ebp - 0xf], 0xac
xor edx, edx
mov byte [ebp - 0xe], 0xf1
mov edi, 0xf
mov al, byte [ebp - 0xf]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + edx - 0xf]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xd9b2ebfd
mov edx, 0x89aed71c
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x1c]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0xf], al
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 2
jb 0x431530
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431580
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4317a7
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.00493330
mov esi, dword [ebp - 0x14]
or esi, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4315d2
sub ecx, edx
lea eax, [ebp - 0x198]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.0048d360
mov dword [ebp - 0x44], 0
or esi, 8
mov dword [ebp - 0x40], 0
mov ecx, edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x54]
push eax
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], esi
call fcn.00489ae0
and esi, 0xfffffff7
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x43166d
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x431663
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317a2
push ecx
push edx
call fcn.004e6a11
add esp, 8
and esi, 0xfffffffb
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0040b870
mov esi, dword [ebp - 0x24]
jmp 0x43174e
push ecx
lea eax, [ebp - 0x198]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
call fcn.0040bb00
mov dword [ebp - 4], 5
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4316fa
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x28], eax
add dword [edi + 4], 0x18
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jmp 0x431709
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
call fcn.00498640
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x43173c
mov edx, dword [ebp - 0x3c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x431732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317a2
push ecx
push edx
call fcn.004e6a11
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x1c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4314b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4314b1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b870
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00501f00
call fcn.0040b180
int3