Function at 0x447160
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x55a278
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 0x44719c
mov dword [ebp + 0x54], 1
jmp 0x4471a3
mov dword [ebp + 0x54], 0
movzx ecx, byte [ebp + 0x54]
test ecx, ecx
je 0x4471e1
cmp dword [ebp + 0x7c], 0xffffffff
je 0x4471b9
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], edx
jmp 0x4471d4
or eax, 0xffffffff
jne 0x4471c7
mov dword [ebp + 0x40], 1
jmp 0x4471ce
mov dword [ebp + 0x40], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x48], ecx
mov eax, dword [ebp + 0x48]
jmp 0x447512
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 0x44725b
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 0x44725b
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 0x447512
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x50], 0
jne 0x44726c
or eax, 0xffffffff
jmp 0x447512
mov ecx, dword [ebp + 0x70]
call fcn.00448810
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 0x40], 0
jne 0x4472d6
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.0051e93e
add esp, 8
cmp eax, 0xffffffff
je 0x4472ab
mov dword [ebp + 0x38], 1
jmp 0x4472b2
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
je 0x4472c2
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x50], edx
jmp 0x4472c9
mov dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x50]
jmp 0x447512
mov dword [ebp - 0x2c], 8
mov al, byte [ebp + 0x7c]
mov byte [ebp + 0x6e], al
lea ecx, [ebp + 0x5f]
call fcn.00404640
push eax
lea ecx, [ebp + 0x20]
call fcn.00404650
push 0
push 0
lea ecx, [ebp + 0x20]
call fcn.004045a0
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.0045ced0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404100
mov esi, eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
add eax, esi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x20]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
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 0x4474e3
cmp dword [ebp + 0x58], 1
jle 0x4473a2
cmp dword [ebp + 0x58], 3
je 0x44747d
jmp 0x4474e3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.00404480
mov ecx, eax
call fcn.00405e20
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp + 0x60], ecx
je 0x44740b
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.00404480
mov ecx, eax
call fcn.00405e20
push eax
call fcn.0051ec76
add esp, 0x10
cmp dword [ebp + 0x60], eax
je 0x44740b
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004040e0
mov eax, dword [ebp - 0x10]
jmp 0x447512
mov eax, dword [ebp + 0x70]
mov byte [eax + 0x45], 1
lea ecx, [ebp + 0x6e]
cmp dword [ebp - 0x20], ecx
je 0x447437
mov edx, dword [ebp + 0x7c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004040e0
mov eax, dword [ebp - 0x28]
jmp 0x447512
cmp dword [ebp + 0x60], 0
jbe 0x44743f
jmp 0x447478
lea ecx, [ebp + 0x20]
call fcn.00404100
cmp eax, 0x20
jae 0x44745a
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.00440ee0
jmp 0x447478
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004040e0
mov eax, dword [ebp + 0x18]
jmp 0x447512
jmp 0x4474fe
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.0051e93e
add esp, 8
cmp eax, 0xffffffff
je 0x4474ab
mov dword [ebp + 0x44], 1
jmp 0x4474b2
mov dword [ebp + 0x44], 0
movzx edx, byte [ebp + 0x44]
test edx, edx
je 0x4474c2
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x3c], eax
jmp 0x4474c9
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.004040e0
mov eax, dword [ebp + 8]
jmp 0x447512
mov dword [ebp], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004040e0
mov eax, dword [ebp]
jmp 0x447512
jmp 0x447313
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4