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

Disassembly:
push 0xffffffffffffffff
push 0x43ab8e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44aba4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa8]
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x411d54
call fcn.00416e24
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x411bee
push 0x80004005
call fcn.004080e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebx
mov dword [esp + 0xa4], ebx
call fcn.00421e3b
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x24], eax
call fcn.00423267
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x64]
lea ecx, [esp + 0x34]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00423267
add esp, 0x10
cmp eax, ebx
jne 0x411c50
mov esi, dword [esp + 0x3c]
add esi, 1
jmp 0x411c52
xor esi, esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00423267
add esp, 8
cmp eax, ebx
jne 0x411c76
mov eax, dword [esp + 0x88]
add eax, 0x76c
jmp 0x411c78
xor eax, eax
push edi
push esi
push eax
lea ecx, [esp + 0x24]
push str._d__d__d.txt
push ecx
call fcn.00415760
mov eax, dword [ebp]
sub eax, 0x10
add esp, 0x14
push eax
call fcn.004156a0
lea ecx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], ecx
mov byte [esp + 0xa0], 1
mov edx, dword [ecx - 0xc]
lea eax, [edx - 1]
cmp eax, ebx
jl 0x411f43
cmp eax, edx
jg 0x411f43
cmp byte [eax + ecx], 0x5c
je 0x411cd7
push 1
push 0x4429f0
lea ecx, [esp + 0x1c]
call fcn.004149f0
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.004149f0
mov ebp, dword [esp + 0x14]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411d6e
lea eax, [ebp - 0x10]
mov byte [esp + 0xa0], bl
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x411d9b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [esp + 0xa0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x411d21
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call fcn.00416e24
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x411dc0
push 0x80004005
call fcn.004080e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0xa8], 2
call fcn.00423267
add esp, 8
cmp eax, ebx
jne 0x411df4
mov ebp, dword [esp + 0x74]
jmp 0x411df7
or ebp, 0xffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00423267
add esp, 8
cmp eax, ebx
jne 0x411e13
mov edi, dword [esp + 0x30]
jmp 0x411e16
or edi, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00423267
add esp, 8
cmp eax, ebx
jne 0x411e32
mov eax, dword [esp + 0x58]
jmp 0x411e35
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx]
push edx
push ebp
push edi
push eax
lea eax, [esp + 0x34]
push str._d:_d:_d_
push eax
call fcn.00415760
mov edi, dword [esp + 0x3c]
add esp, 0x18
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], ebx
mov eax, dword [edi - 0xc]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
push esi
jne 0x411edb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0xa0], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411e9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x411d3b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0xa0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x411d3b
push 0x80070057
call fcn.004080e0
int3