joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc99154
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xc991a2
mov dl, byte [esp]
mov ecx, 0xd83c0ea5
mov ecx, 0x63e8e1eb
bswap edx
bts ecx, esi
jmp 0xc991ee
neg ah
pop ecx
bswap esi
sub esp, 0x1b
xchg dh, cl
mov ebx, dword [esp + 5]
jmp 0xc99c16
lea eax, [ebp + 0x98]
rdtsc
neg si
mov dword [esp], edi
not di
mov byte [esp + 2], cl
jmp 0xc991d8
mov ah, dh
xchg ecx, edx
bsr dx, si
mov dword [esp + 3], ebx
lea edx, [edx + 0x63500589]
xchg dl, ch
jmp 0xc9927e
bswap ebx
rcr ax, cl
xchg dword [esp + 4], ebp
push dword [esp]
pop dword [esp]
pop word [esp + 3]
jmp 0xc9922b
mov byte [esp + 1], bh
xchg al, dh
lea ebx, [esi - 0x34c]
xchg byte [esp + 3], dl
jmp 0xc9937c
mov word [esp + 3], si
setge cl
lea esi, [ecx*4]
mov di, dx
bsr dx, si
jmp 0xc99268
pop ecx
add esp, 0xd
ror ch, cl
mov bp, 0xd604
xchg bp, ax
inc ax
jmp 0xc99252
setle ah
mov dl, byte [esp + 2]
bswap eax
call 0xc99311
lea ecx, [ecx*4]
mov dword [esp + 3], ebx
bswap ebp
not al
bswap ecx
mov di, 0x5095
jmp 0xc993d8
push word [esp + 6]
rdtsc
std
mov esi, ecx
mov ebx, 0x96b4caa2
bswap ebx
jmp 0xc9934e
mov ebx, dword [esp + 2]
neg dx
xchg bp, dx
rdtsc
jmp 0xc993bd
mov di, 0x5924
lea esp, [esp + 8]
mov byte [esp + 4], bl
bts edx, eax
pop cx
xchg word [esp + 5], bx
jmp 0xc9938f
lea eax, [edi - 0xfb]
mov dl, byte [esp + 5]
rdtsc
pop eax
mov dword [esp], ebp
jmp 0xc996af
xchg edi, esi
cld
bswap eax
pop dword [esp]
mov bp, word [esp + 0xf]
xchg esi, edx
jmp 0xc993a5
lea edi, [esi*4]
lea ecx, [ebx*4]
xchg word [esp], bp
push ecx
mov edx, esp
add esp, 1
mov ebp, edi
jmp 0xc99529
lea edx, [ebx + ebx]
mov word [esp + 0x14], si
mov bh, byte [esp + 0xb]
pushfd
std
setnp cl
jmp 0xc9929c
pop dword [esp + 0xd]
lea edi, [eax + esi]
adc bh, bl
cmc
rdtsc
cpuid
jmp 0xc99876
cpuid
mov dword [esp + 4], edi
pop ax
mov byte [esp + 9], al
neg edi
xchg ebp, ebx
jmp 0xc99978
mov bx, ax
lea esp, [esp + 3]
push dword [esp + 0x18]
neg dl
xchg word [esp + 0x15], bp
cmc
jmp 0xc99a7d

Function at 0xc992ec
Capabilities:
Execute anti-debugging instructions

Disassembly:
ror esi, cl
mov al, 0x65
dec ax
mov ebx, dword [esp + 0x18]
sub esp, 0x1d
sbb bh, 0x2b
jmp 0xc992fa
xchg bl, cl
lea edx, [ebx*4]
sub esp, 0xb
jmp 0xc992d6
not ebx
rcl ebp, cl
mov word [esp + 0x18], sp
mov ah, byte [esp + 4]
jmp 0xc9932f
lea edx, [ebp*4]
bt si, bp
jmp 0xc9935c
xchg word [esp + 0xf], bx
push dword [esp + 1]
mov ax, 0x17f7
pop ebx
popal
mov ebp, ebx
jmp 0xc99319

Function at 0xc995bb
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
lea esp, [esp + 2]
jmp 0xc99652
lea esp, [esp + 4]
xor ax, ax
Function at 0x407ea0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41c068
call fcn.00410ec8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040b5cd
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], edi
call fcn.00407f74
lea ebx, [esi + 0xbc]
mov byte [ebp - 4], 2
mov ecx, ebx
mov dword [esi + 0xb8], edi
call fcn.0040b62a
mov dword [ebx], 0x401354
mov eax, dword [0x404158]
mov dword [esi + 0x114], eax
lea ebx, [esi + 0x11c]
push edi
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00408481
mov dword [ebx + 0xc], edi
mov dword [ebx], 0x401340
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 5
call fcn.0040ab80
mov dword [esi], 0x401334
call fcn.0040d460
push edi
push edi
push edi
push edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x118], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409fc3
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x170], ebx
je 0x409fd5
xor eax, eax
jmp 0x40a002
push edi
lea edi, [esi + 0x174]
push edi
push ebx
push esi
push 0x40a074
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x170], eax
jne 0x409ff8
mov dword [edi], ebx
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x40a005
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x170], edi
je 0x40a06e
push dword [esi + 0x178]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp + 0xc]
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40a068
cmp dword [ebp + 8], edi
je 0x40a06e
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push eax
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40a06e
cmp dword [ebp + 0xc], 0x103
jne 0x40a068
push 0xffffffffffffffff
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x170], edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x40c5ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
neg esi
lea eax, [ecx - 0x1c]
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x40c62d
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x40c61e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40c633
cmp dword [ebp + 0xc], 0
jne 0x40c62d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x40c64a
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0x10]
push eax
call fcn.0040cb26
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x40c990
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c9c8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [esi + 4]
mov ebx, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
movzx ecx, bx
push edi
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp byte [esi + 0x4c], bl
je 0x40ca04
push 1
push ebx
push ebx
push dword [esi + 0x24]
push 0x404428
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
jbe 0x40c9f9
push 1
push ebx
push dword [esi + 4]
mov byte [esi + 0x4d], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x20
pop eax
cmp eax, edi
sbb eax, eax
neg eax
jmp 0x40ca16
push 1
push ebx
push dword [esi + 4]
mov byte [esi + 0x4d], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x40d970
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x314
xor edx, edx
push ebx
push ebp
push esi
cmp eax, edx
push edi
je 0x40d99e
mov eax, dword [esp + 0x328]
mov ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x18]
jmp 0x40d9ac
mov eax, dword [esp + 0x328]
xor edi, edi
mov ecx, 1
cmp dword [esp + 0x330], edx
je 0x40d9cc
mov dword [esp + 0x120], eax
mov dword [esp + 0x11c], ecx
lea ebx, [esp + 0x11c]
jmp 0x40d9ce
xor ebx, ebx
cmp dword [esp + 0x334], edx
je 0x40d9ee
mov dword [esp + 0x224], eax
mov dword [esp + 0x220], ecx
lea ebp, [esp + 0x220]
jmp 0x40d9f0
xor ebp, ebp
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
push eax
push ebp
push ebx
push edi
push 0x40
mov dword [esp + 0x28], edx
call sub.WSOCK32.dll_select
mov esi, eax
cmp esi, 0xffffffff
jne 0x40da1b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x314
ret
mov eax, dword [esp + 0x32c]
test eax, eax
je 0x40da58
test esi, esi
jle 0x40da4b
mov ecx, dword [esp + 0x328]
push edi
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x40da4b
mov edx, dword [esp + 0x32c]
mov dword [edx], 1
jmp 0x40da58
mov eax, dword [esp + 0x32c]
mov dword [eax], 0
mov edi, dword [esp + 0x330]
test edi, edi
je 0x40da87
test esi, esi
jle 0x40da81
mov ecx, dword [esp + 0x328]
push ebx
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x40da81
mov dword [edi], 1
jmp 0x40da87
mov dword [edi], 0
mov edi, dword [esp + 0x334]
test edi, edi
je 0x40dac4
test esi, esi
jle 0x40dabe
mov edx, dword [esp + 0x328]
push ebp
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x40dabe
mov dword [edi], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x314
ret
mov dword [edi], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x314
ret

Function at 0x40dae0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [ebx]
mov eax, dword [esi + 0xf8]
dec edi
test eax, eax
je 0x40db29
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 0xfc]
mov edx, dword [0x404518]
add ecx, edx
cmp eax, ecx
jae 0x40db18
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [esi + 0xfc], eax
mov eax, dword [0x404514]
cmp edi, eax
jl 0x40db29
mov edi, eax
mov edx, dword [esi + 0x44]
push 0
push edi
mov edi, dword [esp + 0x1c]
push edi
push edx
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x40db76
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x40db0f
cmp eax, 0x2734
je 0x40db0f
mov ecx, 1
mov dword [esi + 0x34], 5
mov dword [esi + 0xc0], ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0xf4], ecx
pop edi
pop esi
mov eax, 3
pop ebx
ret
test eax, eax
jne 0x40db8d
mov dword [esi + 0xf4], 1
pop edi
pop esi
mov eax, 2
pop ebx
ret
mov byte [eax + edi], 0
pop edi
mov dword [ebx], eax
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40dba0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 0
push eax
mov edx, dword [esi + 0x44]
push ecx
push edx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x40dbe8
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x40dbcf
xor eax, eax
pop esi
ret
mov dword [esi + 0xc0], 1
mov dword [esi + 0x34], 5
mov dword [esi + 0x48], eax
or eax, 0xffffffff
pop esi
ret
cmp dword [esi + 0x10], 3
jne 0x40dbf4
add dword [esi + 0x10c], eax
pop esi
ret

Function at 0x40e0f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
add esp, 0x190
ret

Function at 0x40f460
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push esi
call fcn.0040f3d0
call fcn.0040e0f0
push esi
call fcn.0040f4f0
add esp, 0x10
test eax, eax
jne 0x40f496
mov dword [esi + 0xc0], 1
mov dword [esi + 0x34], 3
pop edi
pop esi
ret
mov edi, dword [0x41ca64]
test edi, edi
jne 0x40f4a3
mov edi, dword [esi + 0x18]
push edi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x40f4d9
push edi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x40f4cf
mov dword [esi + 0xc0], 1
mov dword [esi + 0x34], 4
pop edi
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esi + 0x1c], edx
push 0
push 0
push esi
mov dword [esi + 0x10], 1
call fcn.0040f3d0
add esp, 0xc
pop edi
pop esi
ret
Function at 0x40f5e0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, 1
cmp dword [esi + 0x44], 0xffffffff
jne 0x40f6ea
push 6
push edi
push 2
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x44], eax
jne 0x40f625
mov dword [esi + 0xc0], edi
mov dword [esi + 0x34], 5
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi + 0x48], eax
pop edi
pop esi
add esp, 0x14
ret
push 0
push eax
call fcn.0040e160
add esp, 8
test eax, eax
jne 0x40f64f
mov dword [esi + 0xc0], edi
mov dword [esi + 0x34], 5
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi + 0x48], eax
pop edi
pop esi
add esp, 0x14
ret
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x40f66b
mov eax, dword [0x404514]
mov ecx, dword [esi + 0x44]
push eax
push ecx
call fcn.0040e190
add esp, 8
mov eax, dword [0x41ca64]
xor edx, edx
mov dword [esp + 0xc], edx
mov word [esp + 0xc], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
test eax, eax
mov dword [esp + 0x18], edx
je 0x40f696
mov ax, word [0x41ca68]
push eax
jmp 0x40f69b
mov cx, word [esi + 0x20]
push ecx
call sub.WSOCK32.dll_htons
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x1c]
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push 0x10
push eax
push ecx
mov dword [esp + 0x1c], edx
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x40f6ea
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x40f6ea
cmp eax, 0x2734
je 0x40f6ea
mov dword [esi + 0xc0], edi
mov dword [esi + 0x34], 6
mov dword [esi + 0x48], eax
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
push 0
push ecx
call fcn.0040d970
add esp, 0x10
test eax, eax
je 0x40f730
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x40f730
mov eax, dword [esp + 8]
test eax, eax
je 0x40f749
push 0
push 0
push esi
mov dword [esi + 0x10], 2
call fcn.0040f3d0
add esp, 0xc
pop edi
pop esi
add esp, 0x14
ret
test eax, eax
mov dword [esi + 0xc0], edi
mov dword [esi + 0x34], 6
jne 0x40f749
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi + 0x48], eax
pop edi
pop esi
add esp, 0x14
ret
Function at 0x416f84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406e30
cmp edx, dword [eax]
je 0x416fa6
add eax, 8
inc ecx
cmp eax, 0x406ec0
jl 0x416f97
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406e30]
jne 0x4170d4
mov eax, dword [0x41c6d0]
cmp eax, 1
je 0x4170ae
test eax, eax
jne 0x416fd7
cmp dword [0x404914], 1
je 0x4170ae
cmp edx, 0xfc
je 0x4170d4
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41700e
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00418910
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00412b50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x417051
lea eax, [ebp - 0x1a4]
push eax
call fcn.00412b50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40199c
push edi
call fcn.00411540
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00418910
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00418920
lea eax, [ebp - 0xa0]
push 0x4041fc
push eax
call fcn.00418920
push dword [esi + 0x406e34]
lea eax, [ebp - 0xa0]
push eax
call fcn.00418920
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00419883
add esp, 0x2c
pop edi
jmp 0x4170d4
lea eax, [ebp + 8]
lea esi, [esi + 0x406e34]
push 0
push eax
push dword [esi]
call fcn.00412b50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001ab0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor bl, bl
mov byte [ebp - 1], bl
lea esi, [edi + 4]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
test eax, eax
je 0x10001b65
push 0
lea ecx, [ebp - 8]
push ecx
push 8
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10001b65
cmp dword [ebp - 8], 8
jne 0x10001b65
xor ebx, ebx
lea eax, [edi + 0x1c]
push 0
lea ecx, [ebp + 8]
push ecx
push 0x10000
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x10001b20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10001b41
mov esi, dword [ebp + 8]
lea eax, [edi + 0x1c]
push esi
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push eax
call fcn.10045720
add esp, 0xc
lea eax, [edi + 0x1c]
add ebx, esi
cmp dword [ebp - 0xc], 0
je 0x10001af8
cmp ebx, 0x10
jne 0x10001b5f
mov esi, dword [ebp - 0x10]
mov bl, 1
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov bl, byte [ebp - 1]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
test eax, eax
je 0x10001b7f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
push esi
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10010eb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10064008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1008a400], 0
push esi
jne 0x10010f01
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x100
mov esi, eax
push 0
push 0x1008a490
mov dword [0x1008a3fc], esi
call fcn.10030e90
add esp, 0xc
mov dword [0x1008a400], 1
jmp 0x10010f07
mov esi, dword [0x1008a3fc]
test esi, esi
je 0x10010f78
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10010f78
call fcn.10011f10
cmp dword [eax + 0xa8], 2
jl 0x10010f62
push 0
push str.......SDKHooksMhookmhook_liblhook.cpp
push 0xb3
push str.EnterCritSec
push 2
lea ecx, [ebp - 0x108]
call fcn.10011880
mov esi, eax
push str.EnterCritSec__:_CRITICAL_ERROR._WAIT_FOR_MUTEX_FAILED
mov ecx, esi
call fcn.10011a30
push esi
call fcn.10011f10
mov ecx, eax
call fcn.10011db0
push dword [0x1008a3fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1008a3fc], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002e779
mov esp, ebp
pop ebp
ret
Function at 0x10011010
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
xor edi, edi
cmp dword [0x1008a3f8], 0x40
jae 0x10011108
mov eax, dword [ebp + 8]
mov edx, 1
add eax, ecx
mov dword [ebp - 0x24], edi
push ebx
cmp eax, 0x80000000
mov ebx, 0xfff80000
push esi
lea esi, [eax - 0x7fff0000]
xorps xmm0, xmm0
cmovb esi, edx
add ecx, dword [ebp + 0x10]
cmp ecx, 0x80000000
movups xmmword [ebp - 0x44], xmm0
lea eax, [ecx + 0x7ff80000]
cmovb ebx, eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], ebx
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, ebx
jae 0x10011106
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x100110d4
cmp dword [ebp - 0x10], 0x10000
jne 0x100110c7
mov eax, dword [ebp - 0x14]
cmp eax, 0x6c
jb 0x100110ca
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jb 0x100110ca
lea eax, [ecx - 1]
xor edx, edx
add eax, esi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x100110d8
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add esi, eax
cmp esi, dword [ebp - 4]
jb 0x10011080
test edi, edi
je 0x10011106
xor eax, eax
nop word [eax + eax]
cmp dword [eax*4 + 0x1008a490], 0
je 0x100110f9
inc eax
cmp eax, 0x40
jb 0x100110e0
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
inc dword [0x1008a3f8]
mov dword [eax*4 + 0x1008a490], edi
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100115e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10064008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.10010eb0
xor edx, edx
mov eax, dword [edx*4 + 0x1008a490]
test eax, eax
je 0x10011612
add eax, 0x2c
cmp eax, dword [edi]
je 0x1001161d
inc edx
cmp edx, 0x40
jb 0x10011600
jmp 0x1001171e
push esi
mov esi, dword [edx*4 + 0x1008a490]
test esi, esi
je 0x1001171d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
push ecx
push 0x40
push dword [esi + 4]
mov dword [ebp - 0x10c], ebx
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x100116c8
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x1001166e
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x10011661
push dword [esi + 4]
mov ebx, dword [ebp - 0x110]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x10c]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esi]
mov ebx, 1
mov dword [edi], eax
xor eax, eax
cmp dword [eax*4 + 0x1008a490], esi
je 0x100116b5
inc eax
cmp eax, 0x40
jb 0x100116a4
jmp 0x1001171d
dec dword [0x1008a3f8]
mov dword [eax*4 + 0x1008a490], 0
jmp 0x1001171d
call fcn.10011f10
cmp dword [eax + 0xa8], 2
jl 0x1001171d
push 0
push str.......SDKHooksMhookmhook_liblhook.cpp
push 0x333
push str.Lhook_Unhook
push 2
lea ecx, [ebp - 0x108]
call fcn.10011880
mov esi, eax
push str.failed_VirtualProtectEx_1:
mov ecx, esi
call fcn.10011a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.10011750
push eax
call fcn.10011f10
mov ecx, eax
call fcn.10011db0
pop esi
mov ecx, dword [0x1008a3fc]
test ecx, ecx
je 0x1001172f
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.1002e779
mov esp, ebp
pop ebp
ret
Function at 0x10013ad0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a224
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10064008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov byte [ebx + 8], 1
mov dword [ebx + 0xc], 0
lea edi, [ebx + 0x10]
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100145e0
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 1
push esi
mov dword [ebx], vtable.CKLHookAPIBase.0
mov byte [ebx + 0x30], 0
call fcn.10013e70
lea edi, [ebx + 0xa4]
mov byte [ebp - 4], 2
lea eax, [edi + 4]
mov dword [ebp + 8], edi
push esi
mov ecx, eax
mov dword [edi], esi
mov dword [ebp + 8], eax
call fcn.10013f40
xor esi, esi
cmp dword [edi], esi
jle 0x10013b9f
nop dword [eax]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
mov eax, dword [eax]
lea edi, [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
inc esi
mov dword [edi], eax
cmp esi, dword [ebx + 0xa4]
jl 0x10013b80
push dword [ebp + 0xc]
lea eax, [ebx + 0x32]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10017c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push esi
push eax
push 0x101
push 0
push str.SOFTWARELetasoftSound_Booster
push 0x80000002
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017c6f
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10058c68
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10017c66
cmp dword [ebp - 4], 4
jne 0x10017c66
cmp dword [ebp - 8], 5
cmovbe esi, dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret