Function at 0x10003f50
Capabilities:
Enumerate files on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053630
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x1005f004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 0
call fcn.10004fa0
add esp, 4
test eax, eax
je 0x10004370
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x340]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10003fe3
lea edx, [ebp - 0x488]
mov dword [ebp - 0x488], 0x2a2e2a5c
mov byte [ebp - 0x484], al
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10004008
lea edi, [ebp - 0x340]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004018
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
mov ebp, 0x830f9cab
mov ebp, 0xe769ec72
pop ebp
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x494], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x488], eax
test eax, eax
jne 0x10004072
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call fcn.10030dff
push eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.10005ca0
push 9
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002e630
add esp, 0x1c
mov word [ebp - 0x1b], 0x6177
mov byte [ebp - 0x19], 0x76
push ebp
mov ebp, 0xa8cc731c
mov ebp, 0x8f2ac665
add ebp, eax
pop ebp
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x488]
nop dword [eax + eax]
mov ebx, dword [ebp - 0x494]
test eax, eax
je 0x1000434b
cmp dword [esi], 0
jne 0x1000434b
call fcn.1001c67b
cmp eax, 0xffffffff
jge 0x100040eb
push 0
push 0
call dword [sym.imp.USER32.dll_SetLastErrorEx]
lea eax, [ebp - 0x480]
mov dword [ebp - 4], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x488], eax
cmp eax, 1
jne 0x100040c6
push 0x104
lea eax, [ebp - 0x138]
mov word [ebp - 0x48c], 0x5c
push 0
push eax
call fcn.10012c40
push 0x104
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.10012c40
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x138]
add esp, 0x18
sub edx, eax
nop dword [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x10004150
lea edx, [ebp - 0x48c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10004165
lea edi, [ebp - 0x138]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004175
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x454]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10004193
lea edi, [ebp - 0x138]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100041a3
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
mov edx, 0xa2158900
xor edx, eax
sbb edx, edx
pop edx
mov ecx, dword [ebp - 0x49c]
lea edx, [ebp - 0x23c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100041d2
lea edx, [ebp - 0x48c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x100041e7
lea edi, [ebp - 0x23c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100041f7
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x454]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10004215
lea edi, [ebp - 0x23c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004225
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, 0xc8362596
or ecx, ebp
nop
pop ecx
cmp byte [ebp + 0x18], 0
je 0x10004266
push dword [ebp + 0x14]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100054c0
add esp, 0xc
jmp 0x100042b3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.10012da0
mov esi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.10012da0
test esi, esi
setne cl
test eax, eax
movzx ecx, cl
push ecx
setne al
movzx eax, al
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.10003c30
add esp, 0x24
mov esi, dword [ebp + 0x14]
test al, al
mov eax, dword [ebp - 0x488]
mov ebx, dword [ebp - 0x494]
je 0x100040c6
mov ebx, dword [ebp - 0x498]
test ebx, ebx
je 0x100040c0
lea ecx, [ebp - 0x138]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100042e1
push ebx
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push 1
push eax
call fcn.1003285a
lea ecx, [ebp - 0x490]
mov word [ebp - 0x490], 0xa
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004310
push ebx
sub ecx, edx
lea eax, [ebp - 0x490]
push ecx
push 1
push eax
call fcn.1003285a
add esp, 0x10
push ebx
mov ebx, 0xfa84109d
or ebx, edi
add ebx, edx
pop ebx
mov eax, dword [ebp - 0x498]
push eax
call fcn.10031515
add esp, 4
jmp 0x100040af
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x10004372
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10010ee3
mov esp, ebp
pop ebp
ret