Function at 0x426b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x45183c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x426b82
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x426b8e
mov al, 1
jmp 0x426dd3
mov dword [ebp - 0x84], 8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 0xffffffff
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x74]
jne 0x426bc2
mov dword [ebp - 0x50], 1
jmp 0x426bc9
mov dword [ebp - 0x50], 0
movzx edx, byte [ebp - 0x50]
test edx, edx
je 0x426bd8
xor al, al
jmp 0x426dd3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00402360
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00418150
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x426c1c
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
jmp 0x426c22
lea edx, [ebp - 0x28]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x14], 0x10
jb 0x426c4b
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
jmp 0x426c51
lea edx, [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x68]
push ecx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov ecx, dword [ebp - 0x54]
mov edx, dword [edx + 0x20]
call edx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x426ca7
cmp dword [ebp - 0x48], 1
je 0x426cae
cmp dword [ebp - 0x48], 3
je 0x426d83
jmp 0x426d9f
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
cmp dword [ebp - 0x14], 0x10
jb 0x426cc5
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], edx
jmp 0x426ccb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
je 0x426d48
cmp dword [ebp - 0x14], 0x10
jb 0x426cf9
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
jmp 0x426cff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
mov eax, dword [ebp - 0x64]
push eax
call fcn.0042b149
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x426d48
mov byte [ebp - 0x33], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402360
mov al, byte [ebp - 0x33]
jmp 0x426dd3
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x426d6f
mov byte [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402360
mov al, byte [ebp - 0x34]
jmp 0x426dd3
cmp dword [ebp - 0x38], 0
jne 0x426d81
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00401ae0
jmp 0x426dbb
mov byte [ebp - 0x32], 1
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402360
mov al, byte [ebp - 0x32]
jmp 0x426dd3
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402360
mov al, byte [ebp - 0x31]
jmp 0x426dd3
jmp 0x426c05
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042979f
mov esp, ebp
pop ebp
ret