Function at 0x43bb70
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x54e468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x7c]
jne 0x43bbac
mov dword [ebp + 0x54], 1
jmp 0x43bbb3
mov dword [ebp + 0x54], 0
movzx ecx, byte [ebp + 0x54]
test ecx, ecx
je 0x43bbf1
cmp dword [ebp + 0x7c], 0xffffffff
je 0x43bbc9
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], edx
jmp 0x43bbe4
or eax, 0xffffffff
jne 0x43bbd7
mov dword [ebp + 0x40], 1
jmp 0x43bbde
mov dword [ebp + 0x40], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x48], ecx
mov eax, dword [ebp + 0x48]
jmp 0x43bf22
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x43bc6b
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
cmp dword [ebp + 0x1c], ecx
jae 0x43bc6b
mov dl, byte [ebp + 0x7c]
mov byte [ebp + 0x66], dl
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
sub edx, 1
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x30]
mov dword [ecx], edx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp + 0x66]
mov byte [ecx], dl
mov eax, dword [ebp + 0x7c]
jmp 0x43bf22
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x50], 0
jne 0x43bc7c
or eax, 0xffffffff
jmp 0x43bf22
mov ecx, dword [ebp + 0x70]
call fcn.0043d740
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 0x40], 0
jne 0x43bce6
mov dl, byte [ebp + 0x7c]
mov byte [ebp + 0x67], dl
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x50]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
push edx
movsx eax, byte [ebp + 0x67]
push eax
call fcn.0050cb78
add esp, 8
cmp eax, 0xffffffff
je 0x43bcbb
mov dword [ebp + 0x38], 1
jmp 0x43bcc2
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
je 0x43bcd2
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x50], edx
jmp 0x43bcd9
mov dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x50]
jmp 0x43bf22
mov dword [ebp - 0x2c], 8
mov al, byte [ebp + 0x7c]
mov byte [ebp + 0x6e], al
lea ecx, [ebp + 0x5f]
call fcn.004076c0
push eax
lea ecx, [ebp + 0x20]
call fcn.004076d0
push 0
push 0
lea ecx, [ebp + 0x20]
call fcn.00407620
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.004519c0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00407600
mov esi, eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00422b30
mov ecx, eax
call fcn.0040cb80
add eax, esi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x20]
call fcn.00422b30
mov ecx, eax
call fcn.0040cb80
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x40]
mov dword [ebp + 0x4c], ecx
mov edx, dword [ebp + 0x4c]
mov eax, dword [edx]
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 4]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x6f]
push ecx
lea edx, [ebp + 0x6e]
push edx
mov ecx, dword [ebp + 0x70]
add ecx, 0x48
push ecx
mov ecx, dword [ebp + 0x4c]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x58], 0
jl 0x43bef3
cmp dword [ebp + 0x58], 1
jle 0x43bdb2
cmp dword [ebp + 0x58], 3
je 0x43be8d
jmp 0x43bef3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00422b30
mov ecx, eax
call fcn.0040cb80
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp + 0x60], ecx
je 0x43be1b
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
push 1
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp + 0x20]
call fcn.00422b30
mov ecx, eax
call fcn.0040cb80
push eax
call fcn.0050ceb0
add esp, 0x10
cmp dword [ebp + 0x60], eax
je 0x43be1b
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407340
mov eax, dword [ebp - 0x10]
jmp 0x43bf22
mov eax, dword [ebp + 0x70]
mov byte [eax + 0x45], 1
lea ecx, [ebp + 0x6e]
cmp dword [ebp - 0x20], ecx
je 0x43be47
mov edx, dword [ebp + 0x7c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407340
mov eax, dword [ebp - 0x28]
jmp 0x43bf22
cmp dword [ebp + 0x60], 0
jbe 0x43be4f
jmp 0x43be88
lea ecx, [ebp + 0x20]
call fcn.00407600
cmp eax, 0x20
jae 0x43be6a
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.0043ca10
jmp 0x43be88
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407340
mov eax, dword [ebp + 0x18]
jmp 0x43bf22
jmp 0x43bf0e
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x50]
mov dword [ebp + 0x10], ecx
mov dl, byte [ebp + 0x6e]
mov byte [ebp + 0x68], dl
mov eax, dword [ebp + 0x10]
push eax
movsx ecx, byte [ebp + 0x68]
push ecx
call fcn.0050cb78
add esp, 8
cmp eax, 0xffffffff
je 0x43bebb
mov dword [ebp + 0x44], 1
jmp 0x43bec2
mov dword [ebp + 0x44], 0
movzx edx, byte [ebp + 0x44]
test edx, edx
je 0x43bed2
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x3c], eax
jmp 0x43bed9
mov dword [ebp + 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407340
mov eax, dword [ebp + 8]
jmp 0x43bf22
mov dword [ebp], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407340
mov eax, dword [ebp]
jmp 0x43bf22
jmp 0x43bd23
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4