Function at 0x436f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c545
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4ac110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
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 0x43715b
push 0
push 0
push 0x100002
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x24]
push dword [esi + 0x2c]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x43715b
push 0
push 0
push 0x100000
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x24]
push dword [edi + 0x44]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x43715b
lea eax, [edi + 0x8c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0x2c
lea eax, [ebp - 0x54]
push eax
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
test eax, eax
je 0x437066
xor eax, eax
jmp 0x43706c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test bl, bl
jne 0x43707b
cmp eax, 0x3e5
jne 0x4371ae
mov ebx, dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
lea eax, [ebp + 8]
push 0x14
push 0xffffffffffffffff
push esi
push 0x436e50
mov dword [ebp + 8], 0
push dword [esi + 0x28]
push eax
call ebx
test eax, eax
je 0x4371ae
mov eax, dword [ebp + 8]
push 8
push 0xffffffffffffffff
push esi
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x10]
push 0x436d70
mov dword [ebp - 0x10], 0
push dword [esi + 0x24]
push eax
call ebx
test eax, eax
je 0x4371ae
mov eax, dword [ebp - 0x10]
push edi
mov dword [esi + 0x34], eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x1c], 1
cmp byte [edi + 0x88], 0
mov dword [ebp - 4], 0
je 0x4370fb
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4371ae
cmp dword [edi + 0x1c], 0x15555555
lea ebx, [edi + 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
je 0x4371c4
mov dword [ebp - 0x28], ebx
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
call fcn.00456c8d
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [eax + 8], esi
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
push edi
mov dword [ecx], eax
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 - 0x34]
test eax, eax
je 0x437179
push 1
push 0
push 0
push 0
push 0
push eax
push dword [esi + 0x24]
call ebx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x437197
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 0x4371ae
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_too_long
call fcn.004555c2
int3