Function at 0x426000
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a2a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [esp + 4], ebx
je 0x426315
cmp byte [ebx + 0x41], 0
je 0x426315
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x426053
xor al, al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, 0xf
xor eax, eax
cmp ecx, 0x10
mov byte [esp + 0x10], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 8
jae 0x42607c
lea eax, [esp + 0x10]
mov byte [eax + 8], 0
push ebp
push esi
mov dword [esp + 0x38], 0
push edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x4261af
test eax, eax
mov ebp, eax
je 0x4260c6
cmp edx, 0x10
mov ecx, eax
jae 0x4260ad
lea ecx, [esp + 0x1c]
cmp ecx, ebp
ja 0x4260c6
cmp edx, 0x10
mov ecx, eax
jae 0x4260bc
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jbe 0x4260d3
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffe
je 0x4260fe
cmp edx, 0x10
mov ecx, eax
jae 0x4260e7
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jb 0x4260fe
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp edx, 0x10
mov edi, dword [esp + 0x2c]
jb 0x4261b8
test eax, eax
mov esi, eax
je 0x426139
cmp edx, 0x10
mov ecx, eax
jae 0x42611c
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x426139
cmp edx, 0x10
mov ecx, eax
jae 0x42612b
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
cmp esi, ecx
mov ebx, dword [esp + 0x10]
jbe 0x426146
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffe
je 0x426167
cmp edx, 0x10
jae 0x426158
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x426167
call fcn.0048c48f
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
add ebp, edi
push ebp
push esi
lea eax, [ebx + 0x44]
push eax
call edx
sub eax, 0
je 0x4261c1
sub eax, 1
je 0x4261c5
sub eax, 2
lea ecx, [esp + 0x18]
je 0x4262fb
call fcn.00427a00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ebp, [esp + 0x1c]
jmp 0x4260a2
lea esi, [esp + 0x1c]
jmp 0x426111
mov byte [ebx + 0x41], 0
mov edx, dword [esp + 0x30]
cmp edx, 0x10
mov eax, dword [esp + 0x1c]
jb 0x4262dc
test eax, eax
mov esi, eax
je 0x426200
cmp edx, 0x10
mov ecx, eax
jae 0x4261e7
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x426200
cmp edx, 0x10
mov ecx, eax
jae 0x4261f6
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jbe 0x42620d
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffe
je 0x426238
cmp edx, 0x10
mov ecx, eax
jae 0x426221
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jb 0x426238
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub edi, esi
je 0x4262bd
cmp edx, 0x10
jb 0x4262e5
test eax, eax
mov esi, eax
je 0x426273
cmp edx, 0x10
mov ecx, eax
jae 0x42625a
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x426273
cmp edx, 0x10
mov ecx, eax
jae 0x426269
lea ecx, [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
add ecx, ebp
cmp esi, ecx
jbe 0x426280
call fcn.0048c48f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffe
je 0x4262a1
cmp edx, 0x10
jae 0x426292
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x4262a1
call fcn.0048c48f
mov eax, dword [ebx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.0048bf4a
add esp, 0x10
cmp edi, eax
jne 0x4262ee
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp byte [ebx + 0x41], 0
je 0x4262f7
test edi, edi
jne 0x426093
push edi
push 8
lea ecx, [esp + 0x20]
call fcn.00411a20
jmp 0x42608b
lea esi, [esp + 0x1c]
jmp 0x4261dc
lea esi, [esp + 0x1c]
jmp 0x42624f
lea ecx, [esp + 0x18]
jmp 0x426195
lea ecx, [esp + 0x18]
call fcn.00427a00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret