Function at 0x10001bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov eax, ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x90], ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 0xffffffff
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10002150
mov edi, dword fs:[0]
mov dword [ebp - 0x18], edi
mov dword fs:[0], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, esp
lea edx, [ebp - 0x34]
mov dword [eax], edx
call fcn.100058c0
sub esp, 4
jmp 0x10001c1f
mov dword [ebp - 0x10], 1
mov eax, esp
mov dword [eax], 0x1000d2e2
lea ecx, [ebp - 0x58]
call fcn.10005a30
sub esp, 4
jmp 0x10001c3e
lea ecx, [ebp - 0x58]
call fcn.100024c0
mov dword [ebp - 0x94], eax
jmp 0x10001c51
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.10005a90
jmp 0x10001c61
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x10], 3
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x70]
call fcn.100059f0
sub esp, 4
jmp 0x10001c85
lea ecx, [ebp - 0x70]
call fcn.10002b40
lea ecx, [ebp - 0x4c]
call fcn.10004260
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
sub esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x10001d34
lea ecx, [ebp - 0x4c]
call fcn.10004260
mov ecx, eax
lea eax, [0x1000d344]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10001d2f
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x34]
call fcn.10002c60
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x34]
call fcn.10002c90
mov ecx, dword [ebp - 0x9c]
mov edx, eax
mov eax, dword [ebp - 0x98]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x10001d2f
jmp 0x10001d34
lea ecx, [ebp - 0x4c]
call fcn.10004260
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
sub esp, 4
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x10001e19
mov dword [ebp - 0x10], 2
mov eax, esp
mov dword [eax], str.process
lea ecx, [ebp - 0x88]
call fcn.10002ea0
sub esp, 4
jmp 0x10001d77
lea ecx, [ebp - 0x88]
call fcn.100024c0
mov dword [ebp - 0xa0], eax
jmp 0x10001d8d
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x7c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0xa8], eax
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov ecx, 0x1000f0ac
call fcn.10005ac0
sub esp, 4
mov dword [ebp - 0xa4], eax
jmp 0x10001dcc
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov ecx, 0x1000f0ac
call fcn.10005ac0
sub esp, 4
mov dword [ebp - 0xac], eax
jmp 0x10001df9
mov eax, dword [ebp - 0xac]
cmp dword [eax], 0
setne al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x8c], 1
jmp 0x10001e27
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x8c], 1
lea ecx, [ebp - 0x4c]
call fcn.10002b40
lea ecx, [ebp - 0x34]
call fcn.10003420
mov ecx, dword [ebp - 0x90]
call fcn.10002440
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
and al, 1
movzx eax, al
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret 0x10