Function at 0x43cf30
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x551db8
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 0x43cf6c
mov dword [ebp + 0x54], 1
jmp 0x43cf73
mov dword [ebp + 0x54], 0
movzx ecx, byte [ebp + 0x54]
test ecx, ecx
je 0x43cfb1
cmp dword [ebp + 0x7c], 0xffffffff
je 0x43cf89
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], edx
jmp 0x43cfa4
or eax, 0xffffffff
jne 0x43cf97
mov dword [ebp + 0x40], 1
jmp 0x43cf9e
mov dword [ebp + 0x40], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x48], ecx
mov eax, dword [ebp + 0x48]
jmp 0x43d2e2
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 0x43d02b
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 0x43d02b
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 0x43d2e2
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x50], 0
jne 0x43d03c
or eax, 0xffffffff
jmp 0x43d2e2
mov ecx, dword [ebp + 0x70]
call fcn.0043eb00
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 0x40], 0
jne 0x43d0a6
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.00510278
add esp, 8
cmp eax, 0xffffffff
je 0x43d07b
mov dword [ebp + 0x38], 1
jmp 0x43d082
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
je 0x43d092
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x50], edx
jmp 0x43d099
mov dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x50]
jmp 0x43d2e2
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.004553e0
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.00423380
mov ecx, eax
call fcn.0040cc60
add eax, esi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x20]
call fcn.00423380
mov ecx, eax
call fcn.0040cc60
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 0x43d2b3
cmp dword [ebp + 0x58], 1
jle 0x43d172
cmp dword [ebp + 0x58], 3
je 0x43d24d
jmp 0x43d2b3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00423380
mov ecx, eax
call fcn.0040cc60
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp + 0x60], ecx
je 0x43d1db
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.00423380
mov ecx, eax
call fcn.0040cc60
push eax
call fcn.005105b0
add esp, 0x10
cmp dword [ebp + 0x60], eax
je 0x43d1db
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp - 0x10]
jmp 0x43d2e2
mov eax, dword [ebp + 0x70]
mov byte [eax + 0x45], 1
lea ecx, [ebp + 0x6e]
cmp dword [ebp - 0x20], ecx
je 0x43d207
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 0x43d2e2
cmp dword [ebp + 0x60], 0
jbe 0x43d20f
jmp 0x43d248
lea ecx, [ebp + 0x20]
call fcn.00407730
cmp eax, 0x20
jae 0x43d22a
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.0043ddd0
jmp 0x43d248
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp + 0x18]
jmp 0x43d2e2
jmp 0x43d2ce
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.00510278
add esp, 8
cmp eax, 0xffffffff
je 0x43d27b
mov dword [ebp + 0x44], 1
jmp 0x43d282
mov dword [ebp + 0x44], 0
movzx edx, byte [ebp + 0x44]
test edx, edx
je 0x43d292
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x3c], eax
jmp 0x43d299
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 0x43d2e2
mov dword [ebp], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004073e0
mov eax, dword [ebp]
jmp 0x43d2e2
jmp 0x43d0e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4