Function at 0x467ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5991f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x20
mov dword [ebp - 0x2c], edi
call fcn.00546014
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebp - 4], edi
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x467d51
lea ecx, [esi + 0x20]
nop
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x38]
cmp eax, ecx
je 0x467c25
mov eax, ebx
mov ebx, dword [ecx]
mov dword [ecx], eax
mov eax, edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov dword [ecx + 4], eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x467d47
mov eax, dword [esi + 8]
test eax, eax
jne 0x467c62
push 0x5b60a4
push dword [esi + 0x18]
call fcn.0055b97c
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x467d47
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
add eax, 8
cmp ecx, eax
je 0x467c9a
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x467c8e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00437dd0
mov edx, dword [ebx]
dec edi
push edx
mov dword [ebp - 0x2c], edi
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00467300
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x28]
add esp, 8
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
test eax, eax
je 0x467cef
push eax
push dword [ebp - 0x18]
push 1
push ecx
call fcn.0055bcad
push dword [esi + 8]
push 2
push 1
push 0x5b60ac
call fcn.0055bcad
mov eax, dword [esi + 8]
add esp, 0x20
test edi, edi
jne 0x467c78
test eax, eax
je 0x467d03
push eax
call fcn.0055ba0a
add esp, 4
mov dword [esi + 8], edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x467c00
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x467d38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467dde
push edx
push ecx
call fcn.00546044
add esp, 8
jmp 0x467bfc
cmp dword [esi + 4], 0
je 0x467be9
mov eax, dword [ebx + 4]
mov dword [eax], 0
mov esi, dword [ebx]
test esi, esi
je 0x467db5
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi]
cmp ecx, 0x10
jb 0x467d92
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x467d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467dde
mov eax, edx
push ecx
push eax
call fcn.00546044
add esp, 8
push 0x20
push esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.00546044
add esp, 8
mov esi, edi
test edi, edi
jne 0x467d60
push 0x20
push ebx
call fcn.00546044
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
call fcn.00555394
int3