Function at 0x448760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b00b8]
sub esp, 8
cmp dword [eax + 0x7c], 0
je 0x448ae5
mov eax, dword [0x4b00bc]
push esi
push edi
mov edi, dword [eax + 0x438]
test edi, edi
je 0x44887c
cmp dword [edi + 0x224], 0
je 0x448848
mov ecx, dword [edi + 0x20c]
mov edx, dword [edi + 0x208]
lea eax, [ecx + 1]
cmp eax, edx
jbe 0x4487d5
lea eax, [edx + 0x400]
push eax
push dword [edi + 0x204]
call fcn.00473fb4
mov ecx, dword [edi + 0x20c]
add esp, 8
add dword [edi + 0x208], 0x400
mov dword [edi + 0x204], eax
mov eax, dword [edi + 0x204]
mov byte [ecx + eax], 0
inc dword [edi + 0x20c]
mov eax, dword [edi + 0x220]
test eax, eax
je 0x448848
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x448848
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 8]
push 0
push ecx
push 2
lea ecx, [edi + 0x21c]
push ecx
push eax
call esi
push 0
lea eax, [ebp - 8]
push eax
push dword [edi + 0x20c]
push dword [edi + 0x204]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x220]
test eax, eax
je 0x44885b
push eax
call fcn.00473fbf
add esp, 4
mov eax, dword [edi + 0x204]
test eax, eax
je 0x44886e
push eax
call fcn.00473fbf
add esp, 4
push 0x228
push edi
call fcn.004707a2
add esp, 8
mov eax, dword [0x4b00b8]
mov esi, dword [eax + 0x7c]
mov eax, dword [esi + 0x488]
test eax, eax
je 0x4488a1
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x488], 0
mov esi, dword [0x4b00b8]
mov eax, dword [esi + 0x8d0]
test eax, eax
je 0x4488c4
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x8d0], 0
mov eax, dword [0x4b00b8]
mov esi, dword [eax + 0x480]
cmp word [esi], 0xffff
je 0x4488f4
mov eax, dword [esi + 0x8e]
test eax, eax
je 0x4488e8
push eax
call fcn.00473fbf
add esp, 4
add esi, 0x92
cmp word [esi], 0xffff
jne 0x4488d5
mov esi, dword [0x4b00b8]
mov eax, dword [esi + 0x480]
test eax, eax
je 0x448917
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x480], 0
mov esi, dword [0x4b00b8]
mov eax, dword [esi + 0x8d4]
test eax, eax
je 0x44893a
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x8d4], 0
mov esi, dword [0x4b00b8]
mov eax, dword [esi + 0x8cc]
test eax, eax
je 0x44895d
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x8cc], 0
mov esi, dword [0x4b00bc]
mov eax, dword [esi + 0x420]
test eax, eax
je 0x448980
push eax
call fcn.00473fbf
add esp, 4
mov dword [esi + 0x420], 0
mov eax, dword [0x4b00bc]
mov dword [ebp - 8], eax
mov esi, dword [eax + 0x48c]
test esi, esi
je 0x4489db
xor edi, edi
cmp dword [eax + 0x490], edi
jle 0x4489b9
nop dword [eax]
push dword [esi]
call fcn.00473fbf
mov eax, dword [ebp - 8]
lea esi, [esi + 0xa]
inc edi
add esp, 4
cmp edi, dword [eax + 0x490]
jl 0x4489a0
mov eax, dword [0x4b00bc]
push dword [eax + 0x48c]
call fcn.00473fbf
mov eax, dword [0x4b00bc]
add esp, 4
mov dword [eax + 0x48c], 0
mov eax, dword [0x4b00bc]
mov edi, dword [eax + 0x466]
test edi, edi
je 0x448a36
xor esi, esi
cmp dword [edi], esi
jle 0x448a1b
cmp esi, dword [edi + 4]
jge 0x448a16
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
mov dword [ebp - 8], eax
test eax, eax
je 0x448a16
push dword [eax]
call fcn.00473fbf
push 0x18
push dword [ebp - 8]
call fcn.004707a2
add esp, 0xc
inc esi
cmp esi, dword [edi]
jl 0x4489f0
mov eax, dword [edi + 8]
test eax, eax
je 0x448a2b
push eax
call fcn.00473fbf
add esp, 4
push 0xc
push edi
call fcn.004707a2
add esp, 8
mov eax, dword [0x4b00b8]
mov esi, 0x534
mov dword [eax + 0x78], 0
mov ecx, dword [0x4b00bc]
nop dword [eax]
mov eax, dword [esi + ecx]
test eax, eax
je 0x448a74
push 0x10
push eax
call fcn.004707a2
mov eax, dword [0x4b00bc]
add esp, 8
mov dword [esi + eax], 0
mov ecx, dword [0x4b00bc]
add esi, 4
cmp esi, 0x934
jl 0x448a50
mov esi, dword [ecx + 0x462]
test esi, esi
je 0x448aad
nop dword [eax]
push dword [esi + 8]
call fcn.00473fbf
push esi
mov esi, dword [esi]
call fcn.00473fbf
add esp, 8
test esi, esi
jne 0x448a90
mov ecx, dword [0x4b00bc]
push dword [ecx + 0xd34]
call fcn.00473fbf
mov eax, dword [0x4b00b8]
push dword [eax + 0x7c]
call fcn.00473fbf
mov ecx, dword [0x4b00b8]
add esp, 8
mov eax, dword [0x4b00bc]
xor edx, edx
cmp eax, dword [ecx + 0x7c]
pop edi
cmove eax, edx
mov dword [0x4b00bc], eax
mov dword [ecx + 0x7c], edx
pop esi
mov esp, ebp
pop ebp
ret