Function at 0x4019c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4130a1
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.00405e60
mov eax, dword [0x4181fc]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4181fc]
xor eax, esp
push eax
lea eax, [esp + 0x105c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x106c]
mov esi, dword [esp + 0x1070]
push 0x414248
push eax
call fcn.00405e49
mov ebp, eax
xor ebx, ebx
add esp, 8
cmp ebp, ebx
je 0x401cd7
push 0x414244
push esi
call fcn.00405e49
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
cmp edi, ebx
jne 0x401a4d
push ebp
call fcn.00405d09
add esp, 4
jmp 0x401cd7
push 0x7fe
lea ecx, [esp + 0x5e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x64], ax
call fcn.00405490
push ebp
lea edx, [esp + 0x68]
push 0x3ff
push edx
mov dword [esp + 0x34], ebx
xor esi, esi
call fcn.00405bd1
add esp, 0x18
test eax, eax
je 0x401ab5
push 6
lea eax, [esp + 0x5c]
push str.__
push eax
call fcn.00405b9a
add esp, 0xc
test eax, eax
jne 0x401a9d
mov dword [esp + 0x1c], esi
push ebp
lea ecx, [esp + 0x5c]
push 0x3ff
push ecx
inc esi
call fcn.00405bd1
add esp, 0xc
test eax, eax
jne 0x401a81
push ebp
call fcn.00405ad4
push ebp
lea edx, [esp + 0x60]
push 0x3ff
push edx
mov dword [esp + 0x28], ebx
call fcn.00405bd1
add esp, 0x10
test eax, eax
je 0x401cc8
mov edi, 0xf
lea esi, [edi + 1]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jne 0x401c3c
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
push 6
push str.hwsig
lea ecx, [esp + 0x28]
mov dword [esp + 0x106c], ebx
call fcn.00401880
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1068], 1
call fcn.004044c0
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401670
push 1
push 0x414228
lea ecx, [esp + 0x28]
call fcn.00401770
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x401b63
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push ecx
push 1
push edx
push eax
call fcn.00405a52
add esp, 0x10
mov byte [esp + 0x1064], bl
cmp dword [esp + 0x54], esi
jb 0x401b92
mov eax, dword [esp + 0x40]
push eax
call fcn.00405090
add esp, 4
push 8
push str.version
lea ecx, [esp + 0x28]
call fcn.00401880
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
push 1
lea ecx, [esp + 0x40]
push 1
push ecx
mov byte [esp + 0x1070], 2
call fcn.00404310
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401670
push 1
push 0x414228
lea ecx, [esp + 0x28]
call fcn.00401770
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x401bf6
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push ecx
push 1
push edx
push eax
call fcn.00405a52
add esp, 0x10
cmp dword [esp + 0x54], esi
jb 0x401c1e
mov eax, dword [esp + 0x40]
push eax
call fcn.00405090
add esp, 4
mov dword [esp + 0x1064], 0xffffffff
cmp dword [esp + 0x38], esi
jb 0x401c3c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00405090
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x18], edx
jl 0x401ca5
push 0x7ff
lea eax, [esp + 0x85d]
push ebx
push eax
mov byte [esp + 0x864], bl
call fcn.00405490
push 0x7ff
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x86c]
push edx
call fcn.00403f30
lea eax, [esp + 0x870]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401c84
mov ecx, dword [esp + 0x14]
push ecx
sub eax, edx
push 1
push eax
lea edx, [esp + 0x864]
push edx
call fcn.00405a52
add esp, 0x10
inc dword [esp + 0x18]
push ebp
lea eax, [esp + 0x5c]
push 0x3ff
push eax
call fcn.00405bd1
add esp, 0xc
test eax, eax
jne 0x401ae2
mov edi, dword [esp + 0x14]
push ebp
call fcn.00405d09
push edi
call fcn.00405d09
add esp, 8
mov ecx, dword [esp + 0x105c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
xor ecx, esp
call fcn.00405477
add esp, 0x1054
ret