Function at 0x7003c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73aa1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov dword [ebp - 0xa4], ecx
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0040b0a0
mov eax, dword [0x7c2410]
push eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040aed0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa8], 0x74cad0
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xa8]
mov cl, byte [eax]
mov byte [ebp - 0xad], cl
add dword [ebp - 0xa8], 1
cmp byte [ebp - 0xad], 0
jne 0x700427
mov edx, dword [ebp - 0xa8]
sub edx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
push 0x74cad0
lea ecx, [ebp - 0x28]
call fcn.004472f0
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [ecx + 0xc]
test edx, edx
je 0x7004d9
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x7004d9
mov edx, dword [ebp - 0xa4]
mov ax, word [edx + 0x16]
mov word [ebp - 0x2c], ax
movzx ecx, word [ebp - 0x2c]
and ecx, 0xfff0
mov word [ebp - 0x2c], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0xa4]
movzx eax, word [edx + ecx*2 + 0x16]
movzx ecx, word [ebp - 0x2c]
or ecx, eax
mov word [ebp - 0x2c], cx
movzx edx, word [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [ebp - 0xa4]
movzx eax, byte [edx + 0x14]
test eax, eax
je 0x70052a
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x10], 0x10
jb 0x7004fe
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xb8], edx
jmp 0x700507
lea eax, [ebp - 0x24]
mov dword [ebp - 0xb8], eax
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x7005a1
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.00446c40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.005a5ad0
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x38], 8
jb 0x700567
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xbc], ecx
jmp 0x700570
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xbc], edx
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00446c40
mov edx, dword [ebp - 0xa4]
movzx eax, byte [edx + 0xc]
test eax, eax
je 0x7005d8
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [ecx + 0x14]
test edx, edx
jne 0x7005d8
mov eax, dword [ebp - 0xa4]
movzx ecx, word [eax + 0x16]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4