Function at 0x43fe50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547218
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5be410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x50], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0
push 2
push ecx
push dword [esi + 0x24]
mov dword [ebp - 0x10], eax
push dword [esi + 0x28]
push eax
call ebx
test eax, eax
je 0x440043
push 0
push 0
push 0x100002
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x24]
push dword [esi + 0x2c]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x440043
push 0
push 0
push 0x100000
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x24]
push dword [edi + 0x44]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x440043
lea eax, [edi + 0x8c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0x2c
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
test eax, eax
je 0x43ff56
xor eax, eax
jmp 0x43ff5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test bl, bl
jne 0x43ff6b
cmp eax, 0x3e5
jne 0x440096
mov ebx, dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
lea eax, [ebp + 8]
push 0x14
push 0xffffffffffffffff
push esi
push 0x43fd40
mov dword [ebp + 8], 0
push dword [esi + 0x28]
mov dword [ebp - 0x18], esi
push eax
call ebx
test eax, eax
je 0x440096
mov eax, dword [ebp + 8]
push 8
push 0xffffffffffffffff
push esi
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x10]
push 0x43fc60
mov dword [ebp - 0x10], 0
push dword [esi + 0x24]
push eax
call ebx
test eax, eax
je 0x440096
mov eax, dword [ebp - 0x10]
push edi
mov dword [esi + 0x34], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x20], 1
cmp byte [edi + 0x88], 0
mov dword [ebp - 4], 0
je 0x43ffee
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x440096
mov ebx, dword [edi + 0x18]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [edi + 0x18]
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x1c], eax
call fcn.0043f040
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0x1c]
sub ecx, eax
cmp ecx, 1
jb 0x4400ac
inc eax
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
push edi
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x440061
push 1
push 0
push 0
push 0
push 0
push eax
push dword [esi + 0x24]
call ebx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44007f
push 1
push 0
push 0
push 0
push 0
push eax
push dword [esi + 0x24]
call ebx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x440096
push 1
push 0
push 0
push 0
push 0
push eax
push dword [esi + 0x24]
call ebx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3