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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506d9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
mov esi, ecx
mov bh, dl
mov dword [ebp - 0x38], esi
push edi
mov byte [ebp - 0x15], bh
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0x100dfa8
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0x420d51
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420d68
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x1c]
sub eax, edx
cmp eax, ecx
jb 0x4210cd
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
jb 0x420d8f
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.004720e0
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], 3
jb 0x420db5
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x3c]
mov edi, eax
cmp edi, 0xffffffff
sete bl
cmp ecx, 0x10
jb 0x420dff
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420df5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d2
push ecx
push edx
call fcn.004df511
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
test bl, bl
je 0x420e60
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x420e49
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420e3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d7
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
test bh, bh
jne 0x420e73
test byte [ebp - 0x1ac], 0x10
jne 0x420ff7
jmp 0x420e80
test byte [ebp - 0x1ac], 0x10
je 0x420ff7
lea eax, [ebp - 0x180]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420e90
mov cl, byte [ebp - 0x180]
sub eax, edx
cmp eax, 1
jne 0x420ead
cmp cl, 0x2e
je 0x420ff7
cmp eax, 2
jne 0x420ec3
cmp cl, 0x2e
jne 0x420ec3
cmp byte [ebp - 0x17f], cl
je 0x420ff7
cmp byte [ebp + 8], 0
je 0x42105a
lea ecx, [ebp - 0x13]
mov word [ebp - 0x13], 0x5c
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420ee0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x1c]
sub eax, edx
cmp eax, ecx
jb 0x4210cd
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
jb 0x420f07
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.004720e0
mov ebx, dword [ebp - 0x1c]
or ebx, 4
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x180]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.0046a480
mov edx, eax
or ebx, 8
mov dword [ebp - 0x1c], ebx
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00469630
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x420fbc
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420fb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d2
push ecx
push edx
call fcn.004df511
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x420ff4
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420fea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d2
push ecx
push edx
call fcn.004df511
add esp, 8
mov bh, byte [ebp - 0x15]
lea eax, [ebp - 0x1ac]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x420e60
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x420e49
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420e3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d7
jmp 0x420e3f
xor ecx, ecx
push eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.00402ae0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00469630
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x420ff7
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4210be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4210d7
push ecx
push edx
call fcn.004df511
add esp, 8
jmp 0x420ff7
call fcn.00402270
call fcn.004e47b0
call fcn.004e47b0
int3