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

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x70
mov eax, 0x4a9ecf
call fcn.00466e90
mov eax, dword [ebp + 0x68]
mov esi, ecx
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x6c]
xor ebx, ebx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], ecx
cmp dword [esi + 0x3c], ebx
jne 0x441cf0
xor eax, eax
jmp 0x441f9c
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00440be2
test al, al
je 0x441d0d
mov dword [esi + 0x48], 0xffffff9c
jmp 0x441ce9
push 0x5c
call fcn.00468137
pop ecx
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x441d2d
push dword [esi + 0x78]
call fcn.00440d7a
mov edi, eax
jmp 0x441d2f
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x18], edi
cmp byte [esi + 0x42], bl
je 0x441d42
xor eax, eax
inc eax
mov word [edi + 0x48], ax
cmp byte [esi + 0x40], bl
je 0x441d7f
cmp byte [esi + 0x41], bl
jne 0x441d6e
mov ecx, dword [ebp + 0x14]
call fcn.0043cbbe
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0x1c], 8
jb 0x441d62
mov ecx, dword [ecx + 8]
jmp 0x441d65
add ecx, 8
push eax
push ecx
call fcn.00405be9
pop ecx
pop ecx
xor eax, eax
cmp byte [esi + 0x41], bl
mov ecx, edi
setne al
inc eax
push eax
call fcn.0043fc2b
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], 8
jb 0x441d8d
mov eax, dword [eax + 8]
jmp 0x441d90
add eax, 8
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x20], eax
cmp eax, 0xffffffff
jne 0x441dd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
cmp edi, ebx
je 0x441ce9
mov ecx, edi
call fcn.00440dce
push edi
call fcn.004666eb
pop ecx
jmp 0x441ce9
cmp dword [esi + 0x20], 8
jb 0x441ddd
mov eax, dword [esi + 0xc]
jmp 0x441de0
lea eax, [esi + 0xc]
push ebx
push 0x80
push 3
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x28], eax
cmp eax, 0xffffffff
jne 0x441e13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0x20]
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x441db7
push dword [ebp + 0x14]
mov ecx, edi
call fcn.0040912a
push ebx
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp + 0x20]
mov dword [edi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push dword [esi + 0x44]
mov ecx, esi
push dword [ebp + 0x28]
call fcn.0043fd37
test eax, eax
jne 0x441e54
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x441dbf
mov eax, dword [esi + 0x74]
inc eax
push eax
lea eax, [ebp + 0x2c]
push eax
mov ecx, esi
call fcn.0043fceb
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x50]
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push dword [ebp + 0x28]
mov ecx, esi
call fcn.0043fd37
test eax, eax
je 0x441ce9
push dword [ebp + 0x28]
mov ecx, esi
call fcn.0043fd70
push dword [ebp + 0x28]
mov ecx, edi
mov dword [ebp + 0x24], eax
call fcn.004408d2
test eax, eax
jne 0x441e46
mov ecx, edi
call fcn.0043fff8
add eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x4c], eax
cmp ecx, ebx
je 0x441eca
mov eax, dword [edi + 0x3c]
mov edx, dword [ecx]
push eax
push ebx
call dword [edx]
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, esi
cmp byte [esi + 0x42], bl
jne 0x441ee3
push dword [ebp + 0x28]
push edi
push dword [ebp + 0x1c]
call fcn.00440ff2
mov dword [ebp + 0x24], eax
jmp 0x441f2e
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x28]
mov dword [ebp + 0x20], ebx
push edi
push dword [ebp + 0x1c]
call fcn.00440e70
mov eax, dword [ebp + 0x20]
push ebx
push ebx
push dword [ebp + 0x24]
mov ecx, esi
push dword [ebp + 0x28]
mov dword [edi + 0x3c], eax
call fcn.0043fd37
push dword [ebp + 0x28]
mov ecx, edi
call fcn.004408d2
mov dword [ebp + 0x24], eax
cmp eax, ebx
jne 0x441e46
push 2
push ebx
push ebx
push dword [ebp + 0x28]
mov ecx, esi
call fcn.0043fd37
cmp dword [ebp + 0x24], ebx
jne 0x441e46
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x441f47
mov edi, dword [edi + 0x3c]
mov eax, dword [ecx]
push edi
push edi
call dword [eax]
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x7c]
call fcn.00440f4c
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x44]
call fcn.00440fb5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp]
push eax
lea ecx, [esi + 0x58]
call fcn.00441b93
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00440b0f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00440af1
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.00466e81
add ebp, 0x60
leave
ret 0xc