Function at 0x10019bd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc3f7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1b0
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0xcc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x14], 0x43297
lea ecx, [ebp - 0xc8]
call fcn.100436f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x43297
je 0x10019c65
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10043870
mov eax, dword [ebp - 0x17c]
jmp 0x10019f75
lea ecx, [ebp - 0x168]
call fcn.10096120
push 0x4000
lea ecx, [ebp - 0x168]
call fcn.10096160
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x10019e90
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.10043920
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jne 0x10019ccc
mov dword [ebp - 0x180], 0x80043298
push 0x1014f068
lea ecx, [ebp - 0x180]
push ecx
call fcn.100cb4c0
push 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xc8]
call fcn.10045990
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x10019e68
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.1004a910
cmp dword [ebp - 0x18], 0
jne 0x10019d3a
mov dword [ebp - 0x184], 0x80043298
push 0x1014f068
lea edx, [ebp - 0x184]
push edx
call fcn.100cb4c0
mov eax, dword [ebp - 0x18]
push eax
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x10019d82
mov dword [ebp - 0x18c], 0x80043298
push 0x1014f068
lea eax, [ebp - 0x18c]
push eax
call fcn.100cb4c0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc8]
call fcn.1004a910
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0x43297
je 0x10019dc6
mov dword [ebp - 0x190], 0x80043298
push 0x1014f068
lea ecx, [ebp - 0x190]
push ecx
call fcn.100cb4c0
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0xffffffff
je 0x10019e66
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100cb090
add esp, 4
mov dword [ebp - 0x174], eax
push 0
lea ecx, [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x178], 0
je 0x10019e4b
mov eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0x174]
je 0x10019e66
mov dword [ebp - 0x194], 0x800432aa
push 0x1014f068
lea ecx, [ebp - 0x194]
push ecx
call fcn.100cb4c0
jmp 0x10019e83
mov dword [ebp - 0x198], 0x80043299
push 0x1014f068
lea edx, [ebp - 0x198]
push edx
call fcn.100cb4c0
lea ecx, [ebp - 0xc8]
call fcn.10044110
jmp 0x10019eab
mov dword [ebp - 0x19c], 0x800432c6
push 0x1014f068
lea eax, [ebp - 0x19c]
push eax
call fcn.100cb4c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x10019ed4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.100aaaba
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x10019ee3
mov dword [ebp - 4], 1
jmp 0x10019f4d
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10043870
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xcc]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8