Function at 0x44cfc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
cmp ecx, 3
je 0x44d02c
cmp ecx, 2
je 0x44d02c
cmp ecx, 1
jne 0x44d014
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x44cfff
push dword [edi]
call fcn.0044fcd0
add esp, 4
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [edi + 4], 0xffffffff
cmp ecx, dword [esi + 4]
jl 0x44d157
pop edi
pop esi
mov eax, 0x10000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 4]
cmp ecx, 3
jne 0x44cff0
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x44d0df
cmp eax, 0xffffffff
je 0x44d04e
push dword [edi]
call fcn.0044fcd0
add esp, 4
mov eax, dword [edi]
mov dword [edi + 4], 0xffffffff
cmp esi, dword [eax + 4]
jge 0x44d014
cmp esi, dword [eax + 0x10]
jge 0x44d06a
push eax
call fcn.0044fd50
add esp, 4
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x10], ecx
jge 0x44d0ca
test esi, esi
je 0x44d0c3
cmp dword [esi + 0x18], 0
je 0x44d0c3
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x44d0c3
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x48]
add ecx, 0x2e
add ecx, dword [esi + 0x4c]
push 0
push 0
push 0
push 0
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea eax, [esi + 0x78]
push 0
push 0
push eax
lea eax, [esi + 0x28]
push eax
push esi
call fcn.00450840
mov ecx, dword [ebp + 8]
add esp, 0x24
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov esi, dword [edi]
cmp dword [esi + 0x10], ecx
jl 0x44d074
push dword [edi + 0x138]
push esi
call fcn.0044ffd0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [edi + 4], eax
lea eax, [ebp - 0x339]
push eax
push dword [ebp + 0x10]
push ebx
push dword [edi]
call fcn.00450370
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x44d10b
push dword [edi]
call fcn.0044fcd0
add esp, 4
mov dword [edi + 4], 0xffffffff
cmp byte [ebp - 0x339], 0
jne 0x44d245
test esi, esi
jle 0x44d134
pop edi
pop esi
mov eax, 0x600
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
pop edi
cmp esi, 0xffffff96
mov eax, 0x5000000
mov ecx, 0x1000
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, dword [esi + 0x10]
jge 0x44d195
test esi, esi
je 0x44d195
mov eax, dword [esi + 0x24]
push 0
push 0
push 0
push 0
push 0
mov dword [esi + 0x14], eax
lea eax, [esi + 0x78]
push 0
push eax
lea eax, [esi + 0x28]
mov dword [esi + 0x10], 0
push eax
push esi
call fcn.00450840
mov ecx, dword [ebp + 8]
add esp, 0x24
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov esi, dword [edi]
cmp dword [esi + 0x10], ecx
jge 0x44d1f6
nop dword [eax]
test esi, esi
je 0x44d1ef
cmp dword [esi + 0x18], 0
je 0x44d1ef
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x44d1ef
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x48]
add ecx, 0x2e
add ecx, dword [esi + 0x4c]
push 0
push 0
push 0
push 0
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea eax, [esi + 0x78]
push 0
push 0
push eax
lea eax, [esi + 0x28]
push eax
push esi
call fcn.00450840
mov ecx, dword [ebp + 8]
add esp, 0x24
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov esi, dword [edi]
cmp dword [esi + 0x10], ecx
jl 0x44d1a0
lea eax, [ebp - 0x338]
push eax
push ecx
mov ecx, edi
call fcn.0044c480
test byte [ebp - 0x230], 0x10
je 0x44d25a
cmp dword [ebp + 0x14], 1
je 0x44d245
mov al, byte [ebx]
cmp al, 0x2f
je 0x44d22c
cmp al, 0x5c
je 0x44d22c
test al, al
je 0x44d228
cmp byte [ebx + 1], 0x3a
je 0x44d22c
xor dl, dl
jmp 0x44d22e
mov dl, 1
xor ecx, ecx
lea eax, [edi + 0x140]
test dl, dl
push ebx
cmove ecx, eax
push ecx
call fcn.0044c260
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 1
je 0x44d353
mov cl, byte [ebx]
mov esi, ebx
mov eax, ebx
test cl, cl
je 0x44d288
nop
cmp cl, 0x2f
je 0x44d27d
cmp cl, 0x5c
je 0x44d27d
inc eax
jmp 0x44d282
lea esi, [eax + 1]
mov eax, esi
mov cl, byte [eax]
test cl, cl
jne 0x44d270
push ebx
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0048dd93
add esp, 0xc
cmp esi, ebx
jne 0x44d2aa
mov byte [ebp - 0x108], 0
jmp 0x44d2dc
mov eax, esi
sub eax, ebx
cmp eax, 0x104
jae 0x44d455
mov byte [ebp + eax - 0x108], 0
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x44d302
cmp al, 0x5c
je 0x44d302
test al, al
je 0x44d2dc
cmp byte [ebp - 0x107], 0x3a
je 0x44d302
push esi
lea eax, [ebp - 0x108]
push eax
lea ebx, [edi + 0x140]
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x44d321
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x51fec0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor ebx, ebx
lea eax, [ebp - 0x108]
push eax
push ebx
call fcn.0044c260
add esp, 8
lea eax, [ebp - 0x20c]
push 0
push dword [ebp - 0x230]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44d370
pop edi
pop esi
mov eax, 0x200
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
push dword [edi + 0x138]
push dword [edi]
call fcn.0044ffd0
add esp, 8
cmp dword [edi + 0x13c], 0
jne 0x44d3a0
push 0x4000
call fcn.004817d0
add esp, 4
mov dword [edi + 0x13c], eax
nop dword [eax]
lea eax, [ebp - 0x339]
push eax
push 0x4000
push dword [edi + 0x13c]
push dword [edi]
call fcn.00450370
mov esi, eax
add esp, 0x10
cmp esi, 0xffffff96
je 0x44d41f
test esi, esi
js 0x44d3f1
jle 0x44d3e4
push 0
lea eax, [ebp - 0x340]
push eax
push esi
push dword [edi + 0x13c]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44d3f8
cmp byte [ebp - 0x339], 0
jne 0x44d3ff
test esi, esi
jne 0x44d3a0
mov esi, 0x5000000
jmp 0x44d424
mov esi, 0x400
jmp 0x44d424
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor esi, esi
jmp 0x44d424
mov esi, 0x1000
cmp dword [ebp + 0x14], 1
je 0x44d431
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi]
call fcn.0044fcd0
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
test esi, esi
cmovne eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x10
call fcn.00481bf7
int3