joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a95a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5619f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], vtable.SiteAnnimation::Iwindow.0
mov dword [esi], vtable.CLayeredWndBase_class_CLdsMessageBox_.0
mov dword [esi + 0x24], vtable.CLayeredWndBase_class_CLdsMessageBox_.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
call fcn.004666f0
mov byte [ebp - 4], 5
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], 6
lea ecx, [esi + 0x68]
mov dword [esi], vtable.CLdsMessageBox.0
mov dword [esi + 0x24], vtable.CLdsMessageBox.1.0
mov dword [esi + 0x64], 0
call fcn.00457fb0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], 0xffffffff
call fcn.004426c0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x84]
call fcn.004426c0
mov byte [ebp - 4], 9
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x8c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4aa1c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0x30
mov edi, ecx
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub eax, 0xc3
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
sub eax, 0x1a6
sar esi, 1
add esi, dword [ebp - 0x10]
push 4
cdq
push 0xc3
sub eax, edx
push 0x1a6
sar eax, 1
add eax, dword [ebp - 0x14]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.004aa0a0
push 5
push dword [edi + 4]
mov dword [edi + 0x8c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x4aab30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561e69
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x44]
mov dword [esi + 0x24], vtable.SiteAnnimation::Iwindow.0
mov dword [esi], vtable.CListWndBase.0
mov dword [esi + 0x24], vtable.CListWndBase.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
call fcn.004666f0
mov byte [ebp - 4], 5
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4abc20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1c], 0
jne 0x4abc52
cmp dword [esi + 0x98], 0
je 0x4abc6f
push 0
push 0
push 0x1404
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop esi
pop ebp
ret 4
push 5
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x1400
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4abc80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 4

Function at 0x4ac2b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xb8]
mov dword [esi + 0x40], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ac2ea
push 0
push 0
push 0x1406
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x4ad060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
jne 0x4ad20d
mov esi, dword [edi + 0x28]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ab780
mov dword [edi + 0x28], esi
test eax, eax
jne 0x4ad201
mov ecx, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_ShowWindow]
movzx esi, bx
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
cmp ecx, 6
jne 0x4ad123
mov dword [edi + 0xc0], 1
test si, si
jne 0x4ad10d
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x4ad0d5
mov edx, dword [ebp + 0x14]
cmp edx, dword [eax + 4]
mov edx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4ad10d
push 0
push dword [edi + 4]
call edx
push dword [edi + 0xb8]
mov dword [edi + 0x40], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ad104
push 0
push 0
push 0x1406
push dword [edi + 0xb8]
call ebx
mov edx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0xc0], 0
jne 0x4ad201
cmp ecx, 0x111
jne 0x4ad20d
lea eax, [esi - 0xc8]
cmp ax, 0x1a
ja 0x4ad196
push 0
push dword [edi + 4]
mov dword [edi + 0xc0], 0
call edx
push dword [edi + 0xb8]
mov dword [edi + 0x40], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ad174
push 0
push 0
push 0x1406
push dword [edi + 0xb8]
call ebx
push 0
push esi
push 0x1402
push dword [edi + 0xb8]
call ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0xc0], 0
jne 0x4ad201
lea eax, [esi - 0xfa]
cmp ax, 8
ja 0x4ad20d
push 0
push dword [edi + 4]
mov dword [edi + 0xc0], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xb8]
mov dword [edi + 0x40], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ad1df
push 0
push 0
push 0x1406
push dword [edi + 0xb8]
call ebx
push 0
push esi
push 0x1402
push dword [edi + 0xb8]
call ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0xc0], 0
je 0x4ad20d
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x4ad220
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56285c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], vtable.SiteAnnimation::Iwindow.0
mov dword [esi], vtable.CLayeredWndBase_class_COptRamTipWnd_.0
mov dword [esi + 0x24], vtable.CLayeredWndBase_class_COptRamTipWnd_.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
call fcn.004666f0
mov byte [ebp - 4], 5
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], 6
lea ecx, [esi + 0x64]
mov dword [esi], vtable.COptRamTipWnd.0
mov dword [esi + 0x24], vtable.COptRamTipWnd.1.0
call fcn.00457fb0
mov byte [ebp - 4], 7
mov dword [esi + 0x78], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ada30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x60]
mov dword [ebp - 4], eax
jne 0x4adbb9
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi + 0x28]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004adfe0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x4adac1
cmp ebx, 1
jne 0x4adad5
push 0xffffffffffffffec
mov dword [edi + 0x60], ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x8000000
cmp eax, ecx
je 0x4ada95
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, edi
call fcn.004ad6f0
push 0
push 0
push 0x1400
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0x60], 0
je 0x4adbb9
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [edi + 0x60], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x10
jne 0x4adaee
push 0
push dword [edi + 4]
mov dword [edi + 0x60], 1
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4adaae
cmp ebx, 0x1401
jne 0x4adb1a
mov ecx, edi
call fcn.004adbd0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], 0
mov eax, 1
mov dword [edi + 0x60], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x4adb6e
mov eax, dword [ebp + 0x10]
mov ecx, 1
cmp cx, ax
jne 0x4adbb9
push 0
mov ecx, edi
mov dword [edi + 0x78], 0
call fcn.004ad5c0
push 0x400
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], 0
mov eax, 1
mov dword [edi + 0x60], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x113
jne 0x4adbb9
cmp dword [ebp + 0x10], 0x400
mov dword [edi + 0x60], 1
jne 0x4adaae
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x400
push dword [edi + 4]
call esi
push 0
mov ecx, edi
mov dword [edi + 0x78], 0
call fcn.004ad5c0
push 0x400
push dword [edi + 4]
call esi
jmp 0x4adaae
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi + 0x60], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4ae4a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 4
Function at 0x4aee80
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562d57
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], vtable.SiteAnnimation::Iwindow.0
mov dword [esi], vtable.CLayeredWndBase_class_CTempAlarmWnd_.0
mov dword [esi + 0x24], vtable.CLayeredWndBase_class_CTempAlarmWnd_.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
call fcn.004666f0
mov byte [ebp - 4], 5
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], 6
lea ecx, [esi + 0x64]
mov dword [esi], vtable.CTempAlarmWnd.0
mov dword [esi + 0x24], vtable.CTempAlarmWnd.1.0
call fcn.00457fb0
mov byte [ebp - 4], 7
mov dword [esi + 0x78], 0
mov byte [ebp - 4], 8
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0xffffffff
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cdd40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565f28
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x4cdf05
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4cdd95
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x4cdf05
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4cddb3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x4cdf05
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4cddd1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x4cdf05
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4cddef
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x4cdf05
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4cdf05
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4cde14
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x4cde47
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x4cde5f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4cde9d
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041fde0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.004f2ee0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x582e18
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004ce6f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cdecb
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x4cdef5
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00419490
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.00421df0
lea ecx, [ebp - 0x28]
call fcn.00421df0
lea ecx, [ebp - 0x34]
call fcn.0046b040
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.004da3bd
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566027
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c5244]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4ce26a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ce276
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.0041fb60
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x4ce2e3
push 0x48
call fcn.004d9f7d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4ce2d7
push 0x48
push 0
push ebx
call fcn.004f39e0
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.004cd640
jmp 0x4ce2d9
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ce310
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041fb60
push 3
push 0x582e18
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0047e940
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ce35f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x4ce39f
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.0041fb60
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.00421df0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4ce3d5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ce3cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ce412
push edx
push ecx
call fcn.004d9fad
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4ce3f4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.004da3bd
mov esp, ebp
pop ebp
ret 0x14
call fcn.004fe4a8
int3
Function at 0x4cefc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebp + 8]
mov eax, dword [ebx]
call dword [eax]
cmp byte [ebx + 0xc], 0
je 0x4cefea
push dword [ebx + 0x14]
lea ecx, [ebx + 0x20]
call fcn.004ceb10
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 0
push dword [ebx + 0x18]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
mov dword [ebp - 4], esi
mov dword [ebx + 4], esi
test esi, esi
je 0x4cf04c
push 0
push esi
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ecx, byte [ebp + 0xb]
test eax, eax
mov edi, dword [ebp + 0xc]
mov edx, 1
cmove ecx, edx
mov dword [ebp + 8], ecx
test cl, cl
jne 0x4cf058
test edi, edi
je 0x4cf03d
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
test cl, cl
jne 0x4cf058
test edi, edi
jne 0x4cf058
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edi, [ebx + 0x24]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
test edi, edi
je 0x4cf07b
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0x3c]
xor esi, esi
xor eax, eax
mov dword [ebp + 0xc], esi
lea edx, [ebp - 0x10]
mov dword [ebp + 8], eax
cmp edx, ecx
je 0x4cf0b4
mov esi, dword [ecx]
mov dword [ecx], eax
mov edx, dword [ecx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 8], eax
mov eax, edx
mov dword [ebp - 0x10], esi
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], edx
mov dword [ecx + 8], 0
mov dword [ebp + 8], eax
test edi, edi
je 0x4cf0c2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
cmp esi, eax
je 0x4cf0fe
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4cf0d0
mov eax, dword [esi]
mov ecx, dword [ebx + 0x20]
cmp ecx, 0xffffffff
je 0x4cf0e9
push dword [esi + 0x10]
push eax
push ecx
call fcn.0052a1e0
add esp, 0xc
mov ecx, eax
jmp 0x4cf0ec
or ecx, 0xffffffff
mov edi, dword [ebx + 8]
add esi, 0x18
add edi, ecx
mov dword [ebx + 8], edi
cmp esi, dword [ebp + 0xc]
jne 0x4cf0c6
jmp 0x4cf101
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x10]
call fcn.0045d910
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf1c0
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5bcee8
push 0x4f3b80
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x5c5244]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4cf20d
mov eax, 1
jmp 0x4cf34d
test esi, esi
je 0x4cf34b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cf34b
push 0x118
push 0
lea eax, [ebp - 0x544]
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x548], 0x11c
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x544], 6
jb 0x4cf203
mov dword [ebp - 0x588], 0x10
mov dword [ebp - 0x584], esi
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x57c], 0
mov dword [ebp - 0x42c], 0xaac56b
mov dword [ebp - 0x428], 0x11d0cd44
mov dword [ebp - 0x424], 0xc000c28c
mov dword [ebp - 0x420], 0xee95c24f
mov dword [ebp - 0x578], 0x30
mov dword [ebp - 0x574], 0
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 2
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 1
mov dword [ebp - 0x55c], 1
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], 0
lea eax, [ebp - 0x588]
mov dword [ebp - 0x560], eax
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x4cf369
cmp eax, 0x800b0101
je 0x4cf369
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x558]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test eax, eax
je 0x4cf420
cmp dword [eax + 0x40], 0
jbe 0x4cf420
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4cf420
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4cf420
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4cf420
cmp dword [eax + 0xc], 0
jbe 0x4cf420
mov eax, dword [ecx]
test eax, eax
je 0x4cf420
cmp dword [eax + 0xc], 0
jbe 0x4cf420
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4cf420
mov eax, dword [eax]
test eax, eax
je 0x4cf420
mov esi, dword [eax + 4]
test esi, esi
je 0x4cf420
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.004f39e0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
dec eax
cmp eax, 0x1fe
ja 0x4cf420
push ebx
lea eax, [ebp - 0x41c]
push eax
call fcn.0051070a
add esp, 8
mov ecx, 1
test eax, eax
cmove edi, ecx
mov dword [ebp - 0x58c], edi
mov esi, dword [ebp - 0x558]
push 0x30
push 0
lea eax, [ebp - 0x578]
push eax
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x578], 0x30
mov dword [ebp - 0x558], esi
mov dword [ebp - 0x55c], 2
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
call sub.WINTRUST.dll_WinVerifyTrust
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x4cf34d