Function at 0x42b910
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a3d8
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 0x42bc25
cmp byte [ebx + 0x41], 0
je 0x42bc25
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x42b963
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
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
cmp ecx, 0x10
jae 0x42b98c
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 0x42babf
mov ebp, eax
test eax, eax
je 0x42b9d6
mov ecx, eax
cmp edx, 0x10
jae 0x42b9bd
lea ecx, [esp + 0x1c]
cmp ecx, ebp
ja 0x42b9d6
mov ecx, eax
cmp edx, 0x10
jae 0x42b9cc
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jbe 0x42b9e3
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x42ba0e
mov ecx, eax
cmp edx, 0x10
jae 0x42b9f7
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jb 0x42ba0e
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x42bac8
mov esi, eax
test eax, eax
je 0x42ba49
mov ecx, eax
cmp edx, 0x10
jae 0x42ba2c
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x42ba49
mov ecx, eax
cmp edx, 0x10
jae 0x42ba3b
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [esp + 0x10]
cmp esi, ecx
jbe 0x42ba56
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x42ba77
cmp edx, 0x10
jae 0x42ba68
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x42ba77
call fcn.00402c83
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 0x42bad1
sub eax, 1
je 0x42bad5
sub eax, 2
lea ecx, [esp + 0x18]
je 0x42bc0b
call fcn.00412370
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 0x42b9b2
lea esi, [esp + 0x1c]
jmp 0x42ba21
mov byte [ebx + 0x41], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp edx, 0x10
jb 0x42bbec
mov esi, eax
test eax, eax
je 0x42bb10
mov ecx, eax
cmp edx, 0x10
jae 0x42baf7
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x42bb10
mov ecx, eax
cmp edx, 0x10
jae 0x42bb06
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jbe 0x42bb1d
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x42bb48
mov ecx, eax
cmp edx, 0x10
jae 0x42bb31
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jb 0x42bb48
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub edi, esi
je 0x42bbcd
cmp edx, 0x10
jb 0x42bbf5
mov esi, eax
test eax, eax
je 0x42bb83
mov ecx, eax
cmp edx, 0x10
jae 0x42bb6a
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x42bb83
mov ecx, eax
cmp edx, 0x10
jae 0x42bb79
lea ecx, [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
add ecx, ebp
cmp esi, ecx
jbe 0x42bb90
call fcn.00402c83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x42bbb1
cmp edx, 0x10
jae 0x42bba2
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x42bbb1
call fcn.00402c83
mov eax, dword [ebx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.0047d744
add esp, 0x10
cmp edi, eax
jne 0x42bbfe
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp byte [ebx + 0x41], 0
je 0x42bc07
test edi, edi
jne 0x42b9a3
push edi
push 8
lea ecx, [esp + 0x20]
call fcn.004123e0
jmp 0x42b99b
lea esi, [esp + 0x1c]
jmp 0x42baec
lea esi, [esp + 0x1c]
jmp 0x42bb5f
lea ecx, [esp + 0x18]
jmp 0x42baa5
lea ecx, [esp + 0x18]
call fcn.00412370
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