Function at 0x426980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465811
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x483d24], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
jne 0x4269ec
or dword [0x483d24], 1
push 0x483d20
mov dword [ebp - 4], 0
call fcn.004193c0
push 0x468d20
call fcn.004480c3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ebx, 2
test byte [0x483d24], bl
jne 0x426a67
or dword [0x483d24], ebx
mov edx, dword [0x483d20]
lea ecx, [ebp - 0x4a8]
push 3
mov dword [ebp - 0x4ac], ecx
push edx
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 4], 1
call fcn.00416fc0
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, 0x483d1c
mov byte [ebp - 4], bl
call fcn.0041a4b0
mov eax, dword [ebp - 0x4ac]
lea ecx, [ebp - 0x4a8]
cmp eax, ecx
je 0x426a53
push eax
call fcn.00448a6b
add esp, 4
push 0x468cf0
call fcn.004480c3
add esp, 4
mov dword [ebp - 4], 0xffffffff
test byte [0x483d24], 4
jne 0x426b94
or dword [0x483d24], 4
push 0x46dc58
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], 3
call fcn.0041a4b0
mov esi, eax
push 0x46dc48
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.0041a4b0
push eax
lea edx, [ebp - 0x428]
push 0x483d1c
push edx
mov byte [ebp - 4], 5
call fcn.004267e0
mov edi, eax
mov bl, 6
push 0x46dc40
mov byte [ebp - 4], bl
call fcn.00426680
push eax
lea eax, [ebp - 0x418]
push edi
push eax
call fcn.004268a0
push esi
push eax
push 0x483d18
mov byte [ebp - 4], 7
call fcn.004267e0
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
add esp, 0x28
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x468cc0
call fcn.004480c3
add esp, 4
mov ecx, dword [0x483d18]
push 0x46dc3c
push ecx
lea edx, [ebp - 0x418]
push edx
mov dword [ebp - 0x418], 0
call fcn.0044db56
add esp, 0xc
test eax, eax
jne 0x426c4e
cmp dword [ebp - 0x418], eax
je 0x426c4e
push 0x400
push eax
mov byte [ebp - 0x414], al
lea eax, [ebp - 0x413]
push eax
call fcn.00448540
mov ecx, dword [ebp - 0x420]
add esp, 0xc
push ecx
push 0x46dc28
call fcn.00426680
add esp, 4
push eax
push 0x46dc1c
lea edx, [ebp - 0x414]
push 0x400
push edx
call fcn.00403c60
lea eax, [ebp - 0x414]
add esp, 0x14
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426c20
mov ecx, dword [ebp - 0x418]
push ecx
sub eax, edx
push 1
push eax
lea edx, [ebp - 0x414]
push edx
call fcn.0044da10
mov eax, dword [ebp - 0x418]
push eax
call fcn.0044c3ec
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret