Function at 0x1000b9f0
Capabilities:
Write file on windows

Disassembly:
and dword [ecx], eax
adc byte [ebp - 0x2276b], cl
call dword [edx + 0x6a]
add byte [ebx - 0xaff3bb], cl
adc eax, sym.imp.KERNEL32.dll_GetFileAttributesExA
test eax, eax
jne 0x1000b9c4
jmp 0x1000b9e7
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push 0x224
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebp
mov ebp, esp
sub esp, 0x460
push ebx
push esi
push edi
mov dword [ebp - 0x460], ecx
push eax
xor eax, eax
nop
nop
sub eax, eax
je 0x1000ba10
nop
nop
jae 0x1000b9a8
xor dword [eax - 0x75], ebx
test dword [eax - 0x74000005], esp
dec eax
or al, 0x89
dec ebp
hlt
pop eax
mov eax, dword [ebp - 0x460]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x458], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x457]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x458]
push ecx
push str._s.
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x354], 0
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1000bac4
mov edx, dword [ebp - 0x460]
mov dword [edx + 4], 0x1b58
jmp 0x1000bbd3
mov ecx, dword [ebp - 0x460]
call fcn.1000dac0
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0xffffffff
jne 0x1000bafa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x460]
mov dword [ecx + 4], 0x1b69
jmp 0x1000bbd3
mov dword [ebp - 4], 0
mov byte [ebp - 0x214], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 4], 0
jne 0x1000bbbc
push 0x10014610
lea edx, [ebp - 0x328]
push edx
call fcn.100119d8
nop
nop
nop
je 0x1000bb8c
push 0x1001460c
lea eax, [ebp - 0x328]
push eax
call fcn.100119d8
nop
nop
nop
je 0x1000bb8c
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x458]
push edx
push str._s_s
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
mov ecx, dword [ebp - 0x460]
call fcn.1000b960
lea eax, [ebp - 0x354]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000bbb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1000bbb5
mov dword [ebp - 4], 1
jmp 0x1000bbb7
jmp 0x1000bbbc
jmp 0x1000bb1a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret