Function at 0x461de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af449
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
mov edi, dword [0x4dcf40]
mov dword [ebp - 0x5c], eax
movlpd qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], 0x4b7310
mov eax, dword [edi]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0
cmp dword [eax], 0
je 0x461e7d
lea eax, [ebp - 0x3c]
movlpd qword [ebp - 0x3c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
push 0x4c436b
push str._DLLPROTECT__::_DumpEventToFile___
push str._s_s
push 0x4c436b
push 0
push edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
call fcn.00469df0
add esp, 0x18
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 0
push eax
call fcn.00464620
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x94], xmm0
cmp dword [eax], 0
je 0x461f1e
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x461ebc
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
sub esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, esp
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push 0x11
mov dword [eax], 0xd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x8c]
push str.event_dump_is:_
push eax
call fcn.0047d090
mov dword [ebp - 0x14], 3
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x8c]
push eax
push 0
push 0x4b736c
push 0
call fcn.00469cc0
add esp, 0x2c
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
je 0x461f62
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x461f62
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461f58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46214d
push edx
push ecx
call fcn.00481131
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.0046b010
add esp, 0xc
test al, al
jne 0x461ff8
lea eax, [ebp - 0xdc]
push eax
call fcn.00464620
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x94], xmm0
cmp dword [eax], 0
je 0x46209b
push str.encrypt_failed
push str._DLLPROTECT__::_DumpEventToFile____
push 0
call fcn.00469f30
add esp, 0xc
jmp 0x46209b
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push edi
call esi
test eax, eax
je 0x46204a
cmp dword [ebp - 0x14], 4
jne 0x46204a
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push edi
call esi
test eax, eax
je 0x46204a
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x46204a
mov byte [ebp - 0x55], 1
jmp 0x46209f
lea eax, [ebp - 0xdc]
push eax
call fcn.00464620
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x94], xmm0
cmp dword [eax], 0
je 0x46209b
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
push eax
push str.WriteFile_failed_0x_x__dw:_0x_x_size:_0x_x
push str._DLLPROTECT__::_WriteStringToFile____
push 0
call fcn.00469f30
add esp, 0x18
mov byte [ebp - 0x55], 0
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x4620d3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4620c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462152
push edx
push ecx
call fcn.00481131
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp edx, 0x10
jb 0x462115
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46210b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462152
push edx
push ecx
call fcn.00481131
add esp, 8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0045f290
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
call fcn.004861f9
call fcn.004861f9
int3