Function at 0x43dc20
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x553248
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 0x43dc5c
mov dword [ebp + 0x54], 1
jmp 0x43dc63
mov dword [ebp + 0x54], 0
movzx ecx, byte [ebp + 0x54]
test ecx, ecx
je 0x43dca1
cmp dword [ebp + 0x7c], 0xffffffff
je 0x43dc79
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], edx
jmp 0x43dc94
or eax, 0xffffffff
jne 0x43dc87
mov dword [ebp + 0x40], 1
jmp 0x43dc8e
mov dword [ebp + 0x40], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x48], ecx
mov eax, dword [ebp + 0x48]
jmp 0x43dfd2
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 0x43dd1b
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 0x43dd1b
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 0x43dfd2
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x50], 0
jne 0x43dd2c
or eax, 0xffffffff
jmp 0x43dfd2
mov ecx, dword [ebp + 0x70]
call fcn.0043f7f0
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 0x40], 0
jne 0x43dd96
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.00511687
add esp, 8
cmp eax, 0xffffffff
je 0x43dd6b
mov dword [ebp + 0x38], 1
jmp 0x43dd72
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
je 0x43dd82
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x50], edx
jmp 0x43dd89
mov dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x50]
jmp 0x43dfd2
mov dword [ebp - 0x2c], 8
mov al, byte [ebp + 0x7c]
mov byte [ebp + 0x6e], al
lea ecx, [ebp + 0x5f]
call fcn.004077f0
push eax
lea ecx, [ebp + 0x20]
call fcn.00407800
push 0
push 0
lea ecx, [ebp + 0x20]
call fcn.00407750
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.004560b0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00407730
mov esi, eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
add eax, esi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x20]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
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 0x43dfa3
cmp dword [ebp + 0x58], 1
jle 0x43de62
cmp dword [ebp + 0x58], 3
je 0x43df3d
jmp 0x43dfa3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00424070
mov ecx, eax
call fcn.0040e900
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp + 0x60], ecx
je 0x43decb
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.00424070
mov ecx, eax
call fcn.0040e900
push eax
call fcn.005119bf
add esp, 0x10
cmp dword [ebp + 0x60], eax
je 0x43decb
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp - 0x10]
jmp 0x43dfd2
mov eax, dword [ebp + 0x70]
mov byte [eax + 0x45], 1
lea ecx, [ebp + 0x6e]
cmp dword [ebp - 0x20], ecx
je 0x43def7
mov edx, dword [ebp + 0x7c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp - 0x28]
jmp 0x43dfd2
cmp dword [ebp + 0x60], 0
jbe 0x43deff
jmp 0x43df38
lea ecx, [ebp + 0x20]
call fcn.00407730
cmp eax, 0x20
jae 0x43df1a
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.0043eac0
jmp 0x43df38
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp + 0x18]
jmp 0x43dfd2
jmp 0x43dfbe
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.00511687
add esp, 8
cmp eax, 0xffffffff
je 0x43df6b
mov dword [ebp + 0x44], 1
jmp 0x43df72
mov dword [ebp + 0x44], 0
movzx edx, byte [ebp + 0x44]
test edx, edx
je 0x43df82
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x3c], eax
jmp 0x43df89
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.004073e0
mov eax, dword [ebp + 8]
jmp 0x43dfd2
mov dword [ebp], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp]
jmp 0x43dfd2
jmp 0x43ddd3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4