Function at 0x463ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599a70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61ce74]
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.0042fbc0
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 0x463e51
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 0x463d25
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 0x463e47
mov eax, dword [esi + 8]
test eax, eax
jne 0x463d62
push 0x5bbc44
push dword [esi + 0x18]
call fcn.00553a30
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x463e47
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 0x463d9a
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x463d8e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00431b40
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.004633e0
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 0x463def
push eax
push dword [ebp - 0x18]
push 1
push ecx
call fcn.00553d8d
push dword [esi + 8]
push 2
push 1
push 0x5bbc4c
call fcn.00553d8d
mov eax, dword [esi + 8]
add esp, 0x20
test edi, edi
jne 0x463d78
test eax, eax
je 0x463e03
push eax
call fcn.00553abe
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 0x463d00
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x463e38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463ede
push edx
push ecx
call fcn.0053d0af
add esp, 8
jmp 0x463cfc
cmp dword [esi + 4], 0
je 0x463ce9
mov eax, dword [ebx + 4]
mov dword [eax], 0
mov esi, dword [ebx]
test esi, esi
je 0x463eb5
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi]
cmp ecx, 0x10
jb 0x463e92
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x463e88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463ede
mov eax, edx
push ecx
push eax
call fcn.0053d0af
add esp, 8
push 0x20
push esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.0053d0af
add esp, 8
mov esi, edi
test edi, edi
jne 0x463e60
push 0x20
push ebx
call fcn.0053d0af
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
int3