Function at 0x44b1c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
test eax, eax
je 0x44b215
cmp dword [eax], 1
je 0x44b1ee
mov eax, 0x80000
jmp 0x44b4f5
mov esi, dword [eax + 4]
cmp dword [esi + 4], 0xffffffff
mov dword [ebp - 0x34c], esi
je 0x44b204
mov edi, dword [esi]
call fcn.0044a220
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], 0xffffffff
mov esi, dword [esi]
cmp eax, dword [esi + 4]
jl 0x44b21f
mov eax, 0x10000
jmp 0x44b4f5
cmp eax, dword [esi + 0x10]
jge 0x44b229
call fcn.00449b60
mov edi, dword [ebp - 0x34c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x44b290
lea esp, [esp]
mov esi, dword [edi]
test esi, esi
je 0x44b286
cmp dword [esi + 0x18], 0
je 0x44b286
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 4]
je 0x44b286
mov edx, dword [esi + 0x50]
add edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
push 0
mov dword [esi + 0x10], eax
lea edx, [edx + ecx + 0x2e]
add dword [esi + 0x14], edx
push 0
lea eax, [esi + 0x78]
push eax
lea ecx, [esi + 0x28]
push ecx
mov eax, esi
call fcn.00449760
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov edx, dword [edi]
mov eax, dword [ebp + 0xc]
cmp dword [edx + 0x10], eax
jl 0x44b240
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x348]
mov ecx, edi
call fcn.0044a470
test byte [ebp - 0x240], 0x10
mov al, byte [ebx]
je 0x44b2e7
cmp al, 0x2f
je 0x44b2be
cmp al, 0x5c
je 0x44b2be
test al, al
je 0x44b2d0
cmp byte [ebx + 1], 0x3a
jne 0x44b2d0
push ebx
push 0
call fcn.0044aaa0
add esp, 8
xor eax, eax
jmp 0x44b4f5
push ebx
add edi, 0x140
push edi
call fcn.0044aaa0
add esp, 8
xor eax, eax
jmp 0x44b4f5
mov edi, ebx
mov ecx, ebx
test al, al
je 0x44b303
nop
cmp al, 0x2f
je 0x44b2f8
cmp al, 0x5c
jne 0x44b2fb
lea edi, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x44b2f0
lea edx, [ebp - 0x110]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44b310
cmp edi, ebx
jne 0x44b394
mov byte [ebp - 0x110], cl
mov ebx, dword [ebp - 0x34c]
push edi
lea eax, [ebp - 0x110]
push eax
lea esi, [ebx + 0x140]
push esi
lea ecx, [ebp - 0x218]
push str._s_s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x110]
push edx
push esi
call fcn.0044aaa0
add esp, 8
mov eax, dword [ebp - 0x240]
push 0
push eax
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x354], eax
cmp eax, 0xffffffff
jne 0x44b3f9
mov eax, 0x200
jmp 0x44b4f5
mov edx, edi
sub edx, ebx
mov byte [ebp + edx - 0x110], 0
mov al, byte [ebp - 0x110]
cmp al, 0x2f
je 0x44b3c3
cmp al, 0x5c
je 0x44b3c3
test al, al
je 0x44b324
cmp byte [ebp - 0x10f], 0x3a
jne 0x44b324
push edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x218]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x110]
push edx
push 0
call fcn.0044aaa0
mov ebx, dword [ebp - 0x34c]
add esp, 0x18
jmp 0x44b35e
mov edx, dword [ebx + 0x138]
mov ebx, dword [ebx]
push edx
call fcn.00449e50
mov edi, dword [ebp - 0x34c]
add esp, 4
cmp dword [edi + 0x13c], 0
jne 0x44b42c
push 0x4000
call fcn.004826d0
add esp, 4
mov dword [edi + 0x13c], eax
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 0x34c], 0
lea esp, [esp]
mov ecx, dword [edi + 0x13c]
lea eax, [ebp - 0x34d]
push eax
mov eax, dword [edi]
push ecx
mov ecx, 0x4000
call fcn.00449fc0
mov esi, eax
add esp, 8
cmp esi, 0xffffff96
je 0x44b4a1
test esi, esi
js 0x44b495
jle 0x44b488
mov eax, dword [edi + 0x13c]
mov ecx, dword [ebp - 0x354]
push 0
lea edx, [ebp - 0x358]
push edx
push esi
push eax
push ecx
call ebx
test eax, eax
je 0x44b4ad
cmp byte [ebp - 0x34d], 0
jne 0x44b4b9
test esi, esi
jne 0x44b440
mov dword [ebp - 0x34c], 0x5000000
jmp 0x44b4db
mov dword [ebp - 0x34c], 0x1000
jmp 0x44b4db
mov dword [ebp - 0x34c], 0x400
jmp 0x44b4db
lea edx, [ebp - 0x22c]
push edx
mov edx, dword [ebp - 0x354]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x234]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
mov eax, dword [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [edi]
call fcn.0044a220
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x527340], eax
pop ebx
call fcn.004822c9
mov esp, ebp
pop ebp
ret