Function at 0x44ab63
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4348
call fcn.004bc030
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4344], ebx
xor ecx, ecx
mov dword [ebp - 0x4348], edi
inc ecx
cmp eax, 3
je 0x44abaf
cmp eax, 2
je 0x44aba6
cmp eax, ecx
jne 0x44ac4c
cmp eax, 3
jne 0x44ac30
mov esi, dword [ebp + 8]
cmp esi, dword [edi + 4]
je 0x44abf4
cmp dword [edi + 4], 0xffffffff
je 0x44abc5
push dword [edi]
call fcn.0044d407
pop ecx
mov eax, dword [edi]
or dword [edi + 4], 0xffffffff
cmp esi, dword [eax + 4]
jge 0x44ac4c
cmp esi, dword [eax + 0x10]
jge 0x44abe3
push eax
call fcn.0044d469
jmp 0x44abe2
call fcn.0044d4a8
pop ecx
mov eax, dword [edi]
push eax
cmp dword [eax + 0x10], esi
jl 0x44abdd
call fcn.0044d622
pop ecx
mov dword [edi + 4], esi
push dword [ebp + 0x10]
push ebx
push dword [edi]
call fcn.0044d87d
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x44ac12
mov eax, 0x600
jmp 0x44aecf
push dword [edi]
call fcn.0044d407
or dword [edi + 4], 0xffffffff
pop ecx
test esi, esi
je 0x44acbf
mov eax, 0x5000000
jmp 0x44aecf
cmp dword [edi + 4], 0xffffffff
je 0x44ac3e
push dword [edi]
call fcn.0044d407
pop ecx
mov eax, dword [edi]
or dword [edi + 4], 0xffffffff
mov esi, dword [ebp + 8]
cmp esi, dword [eax + 4]
jl 0x44ac56
mov eax, 0x10000
jmp 0x44aecf
cmp esi, dword [eax + 0x10]
jge 0x44ac6a
push eax
call fcn.0044d469
jmp 0x44ac69
push eax
call fcn.0044d4a8
pop ecx
mov eax, dword [edi]
cmp dword [eax + 0x10], esi
jl 0x44ac63
lea eax, [ebp - 0x4338]
mov ecx, edi
push eax
push esi
call fcn.0044a652
xor ecx, ecx
test byte [ebp - 0x4230], 0x10
je 0x44acc6
inc ecx
cmp dword [ebp + 0x14], ecx
je 0x44acbf
push 0x103
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x4334]
push eax
call fcn.0044aa3c
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x138]
push eax
call fcn.0044a3ef
add esp, 0x14
xor eax, eax
jmp 0x44aecf
xor eax, eax
mov dword [ebp - 0x4340], ecx
inc eax
cmp dword [ebp + 0x14], eax
je 0x44ae09
movzx eax, word [ebx]
mov edx, ebx
mov esi, ebx
test ax, ax
je 0x44adf0
push 0x2f
mov edi, eax
pop eax
push 0x5c
pop ebx
cmp di, ax
je 0x44acff
cmp di, bx
je 0x44acff
add esi, 2
jmp 0x44ad04
lea edx, [esi + 2]
mov esi, edx
movzx eax, word [esi]
push 0x2f
mov edi, eax
test ax, ax
pop eax
jne 0x44acf0
mov ebx, dword [ebp - 0x4344]
mov edi, dword [ebp - 0x4348]
cmp edx, ebx
je 0x44adf0
lea eax, [ebp - 0x20c]
mov esi, ebx
sub eax, ebx
mov edi, eax
movzx eax, word [esi]
mov word [edi + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x44ad31
mov edi, dword [ebp - 0x4348]
sub edx, ebx
sar edx, 1
lea edx, [edx*2 - 2]
cmp edx, 0x208
jae 0x44aee0
xor eax, eax
mov word [ebp + edx - 0x20c], ax
push 0x2f
pop eax
cmp word [ebp - 0x20c], ax
je 0x44ad91
push 0x5c
pop eax
cmp word [ebp - 0x20c], ax
je 0x44ad91
cmp word [ebp - 0x20a], 0x3a
je 0x44ad91
mov byte [ebp - 0x4339], cl
jmp 0x44ad9a
xor eax, eax
inc eax
mov byte [ebp - 0x4339], al
lea eax, [ebp - 0x20c]
push 0x4f3f30
push eax
call fcn.004bdfd0
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x4f3f38
push eax
call fcn.004bdfd0
movzx ecx, byte [ebp - 0x4339]
add esp, 0x10
test eax, eax
setne dl
test esi, esi
push 1
pop eax
cmovne ecx, eax
or dl, cl
jne 0x44adee
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x138]
push eax
call fcn.0044a3ef
pop ecx
pop ecx
xor ecx, ecx
push ecx
push dword [ebp - 0x4230]
push 2
push ecx
push ecx
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44ae18
mov eax, 0x200
jmp 0x44aecf
push dword [edi]
call fcn.0044d622
mov esi, 0x4000
lea eax, [ebp - 0x420c]
push esi
push eax
push dword [edi]
call fcn.0044d87d
add esp, 0x10
jmp 0x44ae68
je 0x44ae75
push 0
lea ecx, [ebp - 0x4344]
push ecx
push eax
lea eax, [ebp - 0x420c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44ae6c
push esi
lea eax, [ebp - 0x420c]
push eax
push dword [edi]
call fcn.0044d87d
add esp, 0xc
test eax, eax
jns 0x44ae38
xor eax, eax
inc eax
mov byte [ebp - 0x4340], al
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x44aea8
cmp byte [ebp - 0x4340], 0
jne 0x44aea8
lea eax, [ebp - 0x421c]
push eax
lea eax, [ebp - 0x422c]
push eax
lea eax, [ebp - 0x4224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
inc eax
cmp dword [ebp + 0x14], eax
je 0x44aeb7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi]
call fcn.0044d407
xor eax, eax
cmp byte [ebp - 0x4340], al
pop ecx
mov ecx, 0x400
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bbaec
leave
ret 0x10
call fcn.004bbc44
int3