Function at 0x44de30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571d90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x44dfec
mov ebx, dword [ebp + 0x10]
cmp al, 2
jne 0x44dfc3
push 1
lea edi, [esi + 0x51]
mov byte [edi], 0
push edi
push dword [esi]
call fcn.0044db90
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x78]
push 8
push eax
push dword [esi]
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.0044db90
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x80]
push 4
push ecx
push dword [esi]
mov dword [ecx], eax
mov ecx, esi
call fcn.0044db90
push 0
push 0
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44df91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.0044d410
push eax
mov edx, str.Cannot_set_reserve_data_pointer._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44df3f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e0c4
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x44df8d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e0c9
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor al, al
jmp 0x44dfee
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [esi + 0x80]
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44e00c
cmp dword [ebp - 0x14], 0
je 0x44e00c
push 1
push edi
push dword [esi]
mov ecx, esi
mov byte [edi], 1
call fcn.0044db90
lea eax, [esi + 0x50]
mov ecx, esi
mov byte [eax], 0
push 1
push eax
push dword [esi]
call fcn.0044db90
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x68]
push 8
push eax
push dword [esi]
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.0044db90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f395
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.0044d410
push eax
mov edx, str.Cannot_write_reserve_data._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004532c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449550
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x44e073
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e0ce
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x44df8d
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44df83
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
int3