Function at 0x100a88a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push esi
push edi
lea edi, [ebp - 0x4c4]
mov ecx, 0x131
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101f3540]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
call fcn.1009c5f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a88e2
jmp 0x100a8c13
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.1009e440
add esp, 8
mov esi, esp
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jne 0x100a8931
jmp 0x100a8c13
push 0
call fcn.100a8de0
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.100a8e00
add esp, 8
lea ecx, [ebp - 0x250]
push ecx
push str.__d__m__Y__T__qo0__convars_dump_n_n
push 0x40
lea edx, [ebp - 0x298]
push edx
call fcn.100a9350
add esp, 0x10
mov dword [ebp - 0x2a0], eax
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.100f3210
mov ecx, dword [0x101f92f8]
call fcn.100aa430
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
call fcn.100aa5c0
nop
jmp 0x100a89d3
mov ecx, dword [ebp - 0x2a4]
call fcn.100aa590
nop
mov ecx, dword [ebp - 0x2a4]
call fcn.100aa560
movzx eax, al
test eax, eax
je 0x100a8bfc
mov ecx, dword [ebp - 0x2a4]
call fcn.100aa460
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x100a8bf7
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx + 0xc], 0
je 0x100a8bf7
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.100aa530
movzx edx, al
test edx, edx
jne 0x100a8aa9
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x4c0], edx
push 0x101ada20
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4c4], eax
push 0x101ada1c
mov ecx, dword [ebp - 0x4c0]
push ecx
mov edx, dword [ebp - 0x4c4]
push edx
call fcn.100a9310
add esp, 8
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
jmp 0x100a8ac3
push str.___callback_
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx + 0x14]
and edx, 0x10
je 0x100a8aeb
push str._hidden_
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx + 0x14]
and edx, 0x2000
je 0x100a8b16
push str._replicated_
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx + 0x14]
and edx, 0x4000
je 0x100a8b41
push str._cheat_
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.100aa490
mov dword [ebp - 0x4bc], eax
cmp dword [ebp - 0x4bc], 0
je 0x100a8b77
mov ecx, dword [ebp - 0x4bc]
push ecx
mov edx, dword [ebp - 0x4b4]
push edx
call fcn.100a9310
add esp, 8
mov dword [ebp - 0x4b4], eax
mov eax, 1
imul ecx, eax, 0xffffffff
mov edx, dword [ebp - 0x4b4]
movsx eax, byte [edx + ecx]
cmp eax, 0xa
je 0x100a8baf
mov ecx, dword [ebp - 0x4b4]
mov byte [ecx], 0xa
mov edx, dword [ebp - 0x4b4]
add edx, 1
mov dword [ebp - 0x4b4], edx
mov eax, dword [ebp - 0x4b4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x4b4]
lea edx, [ebp - 0x4ac]
sub ecx, edx
cmp ecx, 0x200
jb 0x100a8bc6
int3
mov esi, esp
push 0
push 0
mov ecx, dword [ebp - 0x4b4]
lea edx, [ebp - 0x4ac]
sub ecx, edx
push ecx
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.100f3210
nop
jmp 0x100a89c7
mov esi, esp
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f3210
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x100a8c44]
call fcn.100f31b0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f3240
add esp, 0x4c4
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret