Function at 0x4019e0
Capabilities:
Encode data using xor
Enumerate files on windows
Enumerate files recursively
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf70
mov eax, dword [0x432040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x50c]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push ebx
push 0x42cdf0
push eax
mov dword [ebp - 0xf64], ebx
call esi
add esp, 0xc
lea eax, [ebp - 0xb5c]
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xf68], eax
cmp eax, 0xffffffff
je 0x401c64
nop word [eax + eax]
test byte [ebp - 0xb5c], 0x10
lea eax, [ebp - 0xb30]
jne 0x401ba5
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0xf5c]
call fcn.004017a0
push 0x42cdb0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xf60], 0
push eax
lea eax, [ebp - 0xf60]
or ebx, 0xffffffff
push eax
call fcn.0040fabd
add esp, 0xc
test eax, eax
je 0x401aa2
or ebx, 0xffffffff
jmp 0x401b02
push dword [ebp - 0xf60]
lea eax, [ebp - 0x90c]
push 0x400
push 1
push eax
call fcn.0040ff6b
mov edi, eax
lea esi, [ebp - 0x90c]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x401af2
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ebp + ecx*4 - 0xf5c]
sub edx, 1
jne 0x401ad0
cmp edi, 0x400
je 0x401aa2
push dword [ebp - 0xf60]
call fcn.0040fd62
add esp, 4
not ebx
lea eax, [ebp - 0x20c]
push str.Checksum_
push eax
call fcn.0040d9c2
mov esi, eax
add esp, 8
test esi, esi
je 0x401b65
nop dword [eax]
lea edx, [esi + 0x12]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401b30
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push esi
call fcn.0040f390
add esp, 0xc
push str.Checksum_
push esi
call fcn.0040d9c2
mov esi, eax
add esp, 8
test esi, esi
jne 0x401b20
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x30c]
push str.__S__t_t_t_0x_X__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [0x432934]
lea eax, [ebp - 0x30c]
push eax
call fcn.00410280
mov ebx, dword [ebp - 0xf64]
add esp, 0x18
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401c49
mov ecx, 0x42ce04
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401bd6
test dx, dx
je 0x401bd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401bd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401bb0
xor eax, eax
jmp 0x401bdb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401c49
mov ecx, 0x42ce08
lea eax, [ebp - 0xb30]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401c16
test dx, dx
je 0x401c12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401c16
add eax, 4
add ecx, 4
test dx, dx
jne 0x401bf0
xor eax, eax
jmp 0x401c1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x401c49
lea eax, [ebp - 0xb30]
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
mov ecx, 0x432930
push eax
call fcn.004019e0
lea eax, [ebp - 0xb5c]
push eax
push dword [ebp - 0xf68]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a40
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c79c
mov esp, ebp
pop ebp
ret 4