Function at 0x100e9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push 0x1001f94
call fcn.0100e7b0
mov eax, dword [ebp + 0xc]
neg eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x1fca055
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x210], ecx
cmp dword [ebp + 0x10], 0
je 0x100ea31
mov dword [ebp - 4], 0
jmp 0x100ea13
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x14]
jge 0x100ea2f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov byte [ebp + edx - 0x20c], al
jmp 0x100ea0a
jmp 0x100ea38
mov byte [ebp - 0x20c], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x1001f74
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x274]
push ecx
call fcn.0100e7b0
mov dword [ebp - 0x220], 0
jmp 0x100ea7f
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [0x10131bc]
jge 0x100ec3f
cmp dword [0x1014afc], 0
je 0x100eaab
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100ec67
mov edx, dword [ebp + 8]
push edx
push 0x1001f54
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0100e7b0
push 0
lea edx, [ebp - 4]
push edx
push 0x218
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100eb99
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x21c]
push eax
push 0x1001f38
lea ecx, [ebp - 0x314]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x314]
push edx
call fcn.0100e7b0
cmp dword [ebp - 4], 0x218
je 0x100eb63
push 1
call fcn.0100b7bd
push 1
push 0x1001f14
mov eax, dword [0x10149c4]
push eax
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
cmp dword [0x101523c], 0
jne 0x100eb5e
xor eax, eax
jmp 0x100ec67
jmp 0x100ea70
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x1001efc
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x364]
push ecx
call fcn.0100e7b0
mov eax, 1
jmp 0x100ec67
mov edx, dword [ebp + 8]
push edx
push 0x1001ee8
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.0100e7b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x430], edx
cmp dword [ebp - 0x430], 0x6d
je 0x100ebed
cmp dword [ebp - 0x430], 0xe8
je 0x100ebed
jmp 0x100ebfb
push 0x1001ed0
call fcn.0100e780
xor eax, eax
jmp 0x100ec67
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push 0x1001ea0
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x42c]
push eax
call fcn.0100e780
mov ecx, dword [ebp - 0x220]
imul ecx, ecx, 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100ea70
push 1
call fcn.0100b7bd
push 0
push 0x1001e74
mov edx, dword [0x10149c4]
push edx
call sub.GUtils.dll_Trace_Error
mov dword [0x101523c], eax
push 0
call fcn.0100b7bd
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14