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

Disassembly:
sub esp, 0x368
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x275]
mov byte [esp + 0x274], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x37c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x274]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x274]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x30]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x10001a8c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x368
ret 4
push 0x104
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10001aad
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 4
mov ecx, 0x41
xor eax, eax
mov edi, ebx
lea edx, [esp + 0x170]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x171]
mov byte [esp + 0x170], al
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10096da8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x174]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str._MC_3
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push 1
push eax
and ecx, 3
push 1
lea eax, [esp + 0x188]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10002dc0
mov esi, eax
add esp, 0x20
cmp esi, 0xffffffff
jne 0x10001b6b
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x368
ret 4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x5c]
push 0x1008a07c
push ecx
call edi
add esp, 8
test eax, eax
je 0x10001bf3
lea edx, [esp + 0x5c]
push 0x1008a078
push edx
call edi
add esp, 8
test eax, eax
je 0x10001bf3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x14
push edx
push esi
call ebp
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
push eax
lea edx, [esp + 0x64]
push ecx
push edx
push esi
call ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001b71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x368
ret 4