Function at 0x44dd90
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0x206
xor ebx, ebx
lea edx, [ebp - 0x456]
xor ecx, ecx
push ebx
or edi, 0xffffffff
push edx
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x68c], 4
mov dword [ebp - 0x690], edi
mov word [ebp - 0x458], cx
call fcn.0055ca80
push 0x206
lea ecx, [ebp - 0x24e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x250], ax
call fcn.0055ca80
push 0x32
lea eax, [ebp - 0x46]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x48], dx
call fcn.0055ca80
mov ecx, dword [0x60a354]
add esp, 0x24
xor eax, eax
push 0x3e8
push ecx
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x65c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44e1fb
mov dword [ebp - 4], ebx
xor edx, edx
push ebx
mov eax, 0x5b69a4
lea esi, [ebp - 0x684]
mov dword [ebp - 0x670], 7
mov dword [ebp - 0x674], ebx
mov word [ebp - 0x684], dx
call fcn.00401d90
mov eax, esi
push eax
xor ecx, ecx
mov byte [ebp - 4], 1
call fcn.0044d2f0
cmp eax, ebx
je 0x44e1a3
mov eax, dword [0x60a350]
cmp eax, ebx
jbe 0x44deb8
xor edx, edx
div dword [0x60a34c]
mov dword [0x60a350], edx
lea ecx, [ebp - 0x458]
call fcn.0044e220
cmp eax, ebx
jne 0x44dee2
push 0x5db2b0
lea ecx, [ebp - 0x69c]
push ecx
mov dword [ebp - 0x69c], 0x80004005
call fcn.0055b426
mov edx, dword [0x60a350]
push edx
lea eax, [ebp - 0x458]
push eax
push str._sDebugLog__04d.txt
mov ecx, 0x104
lea ebx, [ebp - 0x250]
call fcn.0044c970
add esp, 0xc
test eax, eax
jns 0x44df27
push 0x5db2b0
lea ecx, [ebp - 0x6a8]
push ecx
mov dword [ebp - 0x6a8], 0x80004005
call fcn.0055b426
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x690], edi
cmp edi, 0xffffffff
jne 0x44df6e
push 0x5db2b0
lea eax, [ebp - 0x6a0]
push eax
mov dword [ebp - 0x6a0], 0x80004005
call fcn.0055b426
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44dfa2
push eax
lea ecx, [ebp - 0x68c]
push ecx
push 2
lea edx, [ebp - 0x688]
push edx
push edi
mov word [ebp - 0x688], 0xfeff
call esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [0x60a348], eax
jae 0x44e0ff
push 0x200
lea eax, [ebp - 0x658]
push 0
push eax
call fcn.0055ca80
mov eax, dword [0x60a350]
inc eax
xor edx, edx
div dword [0x60a34c]
lea ecx, [ebp - 0x658]
push edx
push 0x5b7db4
push pe_nt_image_headers32
push ecx
mov dword [0x60a350], edx
call fcn.005578c0
mov eax, dword [ebp - 0x684]
add esp, 0x1c
cmp dword [ebp - 0x670], 8
jae 0x44e00d
lea eax, [ebp - 0x684]
push eax
lea edx, [ebp - 0x658]
push edx
push str.LOG_USEFILE_CURCOUNT
push str.Debug_Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x44e044
push 0x5db2b0
lea eax, [ebp - 0x698]
push eax
mov dword [ebp - 0x698], 0x80004005
call fcn.0055b426
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x60a350]
push ecx
lea edx, [ebp - 0x458]
push edx
push str._sDebugLog__04d.txt
mov ecx, 0x104
lea ebx, [ebp - 0x250]
mov dword [ebp - 0x690], 0xffffffff
call fcn.0044c970
add esp, 0xc
test eax, eax
jns 0x44e09a
push 0x5db2b0
lea eax, [ebp - 0x694]
push eax
mov dword [ebp - 0x694], 0x80004005
call fcn.0055b426
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x690], edi
cmp edi, 0xffffffff
jne 0x44e0e1
push 0x5db2b0
lea edx, [ebp - 0x6a4]
push edx
mov dword [ebp - 0x6a4], 0x80004005
call fcn.0055b426
push 0
lea eax, [ebp - 0x68c]
push eax
push 2
lea ecx, [ebp - 0x688]
push ecx
push edi
mov word [ebp - 0x688], 0xfeff
call esi
lea edx, [ebp - 0x668]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x65a]
movzx ecx, word [ebp - 0x65c]
movzx edx, word [ebp - 0x65e]
push eax
movzx eax, word [ebp - 0x660]
push ecx
movzx ecx, word [ebp - 0x662]
push edx
movzx edx, word [ebp - 0x666]
push eax
movzx eax, word [ebp - 0x668]
push ecx
push edx
push eax
push str._04d__02d__02d__02d:_02d:_02d:_04d
mov ecx, 0x1a
lea ebx, [ebp - 0x48]
call fcn.0044c970
add esp, 0x20
push 0
lea ecx, [ebp - 0x68c]
push ecx
push 0x32
mov edx, ebx
push edx
push edi
mov dword [ebp - 0x68c], 0
call esi
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x68c]
push eax
mov eax, dword [ebp - 0x6ac]
lea edx, [ecx + ecx]
push edx
push eax
push edi
call esi
push 0
lea ecx, [ebp - 0x68c]
push ecx
push 4
push 0x5bea28
push edi
call esi
xor ebx, ebx
cmp dword [ebp - 0x670], 8
jb 0x44e1bb
mov edx, dword [ebp - 0x684]
push edx
call fcn.00461cb5
add esp, 4
xor eax, eax
mov dword [ebp - 0x670], 7
mov dword [ebp - 0x674], ebx
mov word [ebp - 0x684], ax
jmp 0x44e1e2
cmp edi, 0xffffffff
je 0x44e1ee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x60a354]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret 8