Function at 0x44e600
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9820
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x110]
sub eax, 0x10
push eax
call fcn.00401560
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], esi
xor ebp, ebp
mov dword [esp + 0x30], ebp
lea edi, [ebp + 1]
cmp dword [ebx + 0x118], ebp
je 0x44e812
cmp dword [esi - 0xc], ebp
je 0x44e812
push 0x4cad24
push esi
call fcn.00495a5d
add esp, 8
cmp eax, ebp
je 0x44e812
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call fcn.0044dfe0
test eax, eax
je 0x44e812
cmp dword [ebx + 0x124], ebp
jne 0x44e720
mov ecx, dword [ebx + 0xf0]
sub ecx, dword [ebx + 0xec]
add ebx, 0xe0
mov eax, 0x487ede05
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, 8
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jle 0x44e720
push ebp
mov ecx, ebx
call fcn.0044dbe0
mov edi, dword [eax + 0x138]
imul edi, edi, 0x138
add edi, dword [esp + 0x18]
push ebp
mov ecx, ebx
call fcn.0044dbe0
mov edx, dword [esp + 0x14]
add edi, edx
inc ebp
cmp ebp, dword [esp + 0x20]
mov ecx, 0x4e
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jl 0x44e6e4
mov esi, dword [esp + 0x24]
xor ebp, ebp
push ebp
push 0x80
push 2
push ebp
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44e7db
lea ecx, [esp + 0x18]
call fcn.00401600
push esi
lea eax, [esp + 0x1c]
push str.Can_not_create_file___s_.
push eax
mov byte [esp + 0x3c], 1
call fcn.00401cb0
mov edi, dword [esp + 0x24]
add esp, 0xc
push ebp
push ebp
push edi
call fcn.0046cf28
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x44e780
push eax
call fcn.0046436b
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e7a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e7c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, ebp
je 0x44e80e
push ebx
call fcn.0046436b
add esp, 4
mov edi, dword [esp + 0x20]
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret