Function at 0x41b0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571b17
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x878
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x860], ecx
mov dword [ebp - 0x85c], 0
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x840], esp
lea eax, [ebp + 0x10]
push eax
call fcn.004068e0
mov dword [ebp - 0x864], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
je 0x41b164
push 0x59d634
mov ecx, dword [ebp + 8]
call fcn.00406900
mov ecx, dword [ebp - 0x85c]
or ecx, 1
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x41b584
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.0051b70a
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x59d638
lea ecx, [ebp + 0xc]
call fcn.00406ae0
test eax, eax
jge 0x41b1e5
push 0x59d644
mov ecx, dword [ebp + 8]
call fcn.00406900
mov edx, dword [ebp - 0x85c]
or edx, 1
mov dword [ebp - 0x85c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0051bf19
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x41b584
mov byte [ebp - 4], 4
push 0
push 0x7d0
push 2
lea ecx, [ebp - 0x24]
call fcn.004192f0
push 0
push 0
push 0x400002
push 0
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x24]
call fcn.0051c3b6
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
lea ecx, [ebp + 0x10]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x41b29d
push 0x59d648
mov ecx, dword [ebp + 8]
call fcn.00406900
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x85c]
or ecx, 1
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0051bf19
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x41b584
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
push 0x400
lea edx, [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp - 0x874]
mov dword [ebp - 0x838], ecx
push 0
lea edx, [ebp - 0x834]
push edx
mov eax, dword [ebp - 0x838]
push eax
lea ecx, [ebp - 0x830]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp dword [ebp - 0x838], 0
jg 0x41b2b1
cmp dword [ebp - 0x28], 0
je 0x41b371
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x848], ecx
mov edx, dword [ebp - 0x848]
mov dword [ebp - 0x844], edx
cmp dword [ebp - 0x844], 0
je 0x41b360
push 1
mov eax, dword [ebp - 0x844]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x844]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x878]
mov dword [ebp - 0x87c], ecx
jmp 0x41b36a
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.0051bda3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov dword [ebp - 0x880], eax
mov ecx, dword [ebp - 0x85c]
or ecx, 1
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0051bf19
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x41b584
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret 0xc