joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8a254a
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x8a2577
push esi
call fcn.008aa340
cmp byte [esi + 0x40], 0
pop ecx
je 0x8a2570
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x8a25e6
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x8a25db
mov eax, dword [esi + 8]
test eax, eax
je 0x8a2598
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x8a25d7
cmp eax, 2
je 0x8a25db
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x8a258d
cmp eax, 3
je 0x8a25bc
cmp eax, 1
jne 0x8a258d
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x8a258d
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x8a258d
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x8a2604
cmp eax, 0xcc
je 0x8a2604
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.008a241d
pop esi
ret

Function at 0x8abc4a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x8abc58
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x8abd2c
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x99e530]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x99e530]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x99e530]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x99e530]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x99e530]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x99e530]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x99e530]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x99e530]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x8abc75
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x8abd4c
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x99e530]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x8abd32
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x8c0dd8
Capabilities:
Clear file content
Encode data using xor
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x8cb9d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x2ac8]
mov dword [esp + 0x14], 1
call fcn.008c7930
lea ecx, [esi + 0x1468]
mov byte [esp + 0x14], 0
call fcn.008c8650
add esi, 0x24
mov dword [esp + 4], esi
mov eax, dword [esi]
mov dword [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x8c0f39
push ebx
push edi
lea edi, [esi + 0x101c]
push edi
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [esi + 0x143c]
test eax, eax
je 0x8c0e44
mov ecx, dword [esi + 0x1440]
cmp ecx, eax
mov eax, 0xa37ba0
ja 0x8c0e49
mov eax, 0x8f8814
push eax
xor eax, eax
mov ax, word [esi + 0x102a]
xor ecx, ecx
mov cx, word [esi + 0x1028]
push eax
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x1026]
mov ax, word [esi + 0x1024]
push ecx
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1022]
xor edx, edx
mov dx, word [esi + 0x101e]
xor eax, eax
mov ax, word [edi]
push ecx
push edx
push eax
push 0xa37b48
lea ebx, [esi + 0x1c]
call fcn.008c9470
add esp, 4
push eax
push ebx
call fcn.00858bf5
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1438]
not ecx
dec ecx
test eax, eax
mov edi, ecx
je 0x8c0eef
test edi, edi
jle 0x8c0f01
push ebp
mov ebp, 0xffffffe4
mov eax, ebx
sub ebp, esi
mov ecx, dword [esi + 0x1438]
add ecx, 2
mov dword [esi + 0x1438], ecx
mov dl, byte [eax]
add cl, 0x43
xor dl, cl
mov byte [eax], dl
inc eax
lea edx, [eax + ebp]
cmp edx, edi
jl 0x8c0ecc
pop ebp
jmp 0x8c0f01
push ebx
push ebx
lea eax, [esi + 0x1030]
push edi
push eax
call fcn.008c8e20
add esp, 0x10
cmp dword [esi + 0x143c], 0x3e7
je 0x8c0f1f
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
mov dword [esi], 0xffffffff
pop ebx
add esi, 4
push esi
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x8c0fb0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push esi
lea ecx, [esp + 0x10]
lea eax, [esp + 0x10]
push 1
push ecx
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
xor esi, esi
call dword [sym.imp.advapi32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x8c0ff6
push esi
push esi
lea edx, [esp + 0x18]
push 1
push edx
call dword [sym.imp.advapi32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x8c0ff6
lea esi, [esp + 4]
push 0xa37bf8
call fcn.008c94e0
add esp, 4
push eax
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
pop esi
jne 0x8c101e
call dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
add esp, 0x20
ret
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
add esp, 0x20
ret
Function at 0x8c1040
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xa37c64
call fcn.008c94e0
add esp, 4
push eax
push reloc.dsound.dll_DirectSoundCreate
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jne 0x8c110a
push esi
push 0xa37c58
call fcn.008c94e0
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.advapi32.dll_RegDeleteValueA]
add esp, 4
push eax
push ecx
call esi
push 0xa37c4c
call fcn.008c94e0
mov edx, dword [esp + 8]
add esp, 4
push eax
push edx
call esi
push 0xa37c40
call fcn.008c94e0
add esp, 4
push eax
mov eax, dword [esp + 8]
push eax
call esi
push 0xa37c34
call fcn.008c94e0
mov ecx, dword [esp + 8]
add esp, 4
push eax
push ecx
call esi
push 0xa37c28
call fcn.008c94e0
mov edx, dword [esp + 8]
add esp, 4
push eax
push edx
call esi
push 0xa37c18
call fcn.008c94e0
add esp, 4
push eax
mov eax, dword [esp + 8]
push eax
call esi
push 0xa37c08
call fcn.008c94e0
mov ecx, dword [esp + 8]
add esp, 4
push eax
push ecx
call esi
pop esi
mov edx, dword [esp]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop ecx
ret
Function at 0x8c1120
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
xor ebx, ebx
mov esi, 4
push eax
mov ebp, ecx
push 0xa37c64
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call fcn.008c94e0
add esp, 4
push eax
push reloc.dsound.dll_DirectSoundCreate
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jne 0x8c123c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push 0xa37d14
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.008c94e0
mov ecx, dword [esp + 0x2c]
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
add esp, 4
push eax
push ecx
call edi
test eax, eax
jne 0x8c123c
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
push 0xa37d08
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.008c94e0
mov edx, dword [esp + 0x2c]
add esp, 4
push eax
push edx
call edi
test eax, eax
jne 0x8c123c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0xa37cfc
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.008c94e0
add esp, 4
push eax
mov eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x8c123c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push 0xa37cf0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call fcn.008c94e0
mov ecx, dword [esp + 0x2c]
add esp, 4
push eax
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
lea esi, [ebp + 0x24]
push eax
push 0xa37cdc
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push 0xa37cc8
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov edx, dword [esp + 0x30]
add esp, 0xc
push edx
push 0xa37cb4
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
push 0xa37ca0
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov eax, dword [esp + 0x28]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x8c12d0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 0xa37c64
call fcn.008c94e0
add esp, 4
push eax
push reloc.dsound.dll_DirectSoundCreate
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jne 0x8c1421
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebx
push 0xa37d14
call fcn.008c94e0
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExA]
add esp, 4
push eax
push edx
call esi
test eax, eax
jne 0x8c1421
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push ebx
push 0xa37d40
call fcn.008c94e0
mov ecx, dword [esp + 0x20]
add esp, 4
push eax
push ecx
call esi
test eax, eax
jne 0x8c1421
lea edx, [esp + 0x20]
push 4
push edx
push 4
push ebx
push 0xa37d34
call fcn.008c94e0
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x8c1421
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push ebx
push 0xa37c34
call fcn.008c94e0
mov edx, dword [esp + 0x20]
add esp, 4
push eax
push edx
call esi
test eax, eax
jne 0x8c1421
mov eax, dword [esp + 0x18]
lea esi, [edi + 0x24]
push eax
push 0xa37cdc
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push 0xa37cc8
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
push 0xa37cb4
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push 0xa37d20
call fcn.008c94e0
add esp, 4
push eax
push esi
call fcn.008c3720
add esp, 0xc
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
mov al, bl
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x8c3720
Capabilities:
Check for software breakpoints
Encode data using xor
Write file on windows

Disassembly:
mov eax, 0x1008
call fcn.00858020
push ebp
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x8c388f
mov eax, dword [esi + 0x143c]
test eax, eax
je 0x8c3767
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x8c3767
mov ecx, dword [esi + 0x1440]
cmp ecx, eax
ja 0x8c388f
inc ecx
mov dword [esi + 0x1440], ecx
lea ebp, [esi + 4]
push ebp
mov dword [esp + 0xc], ebp
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0085a581
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, fcn.00858bf5
cmp byte [eax], 0xcc
je 0x8c3888
mov ecx, dword [sym.imp.kernel32.dll_WriteFile]
cmp byte [ecx], 0xcc
je 0x8c3888
xor eax, eax
push ebx
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0xa38518
lea ebx, [esi + 0x1c]
call fcn.008c9470
add esp, 4
push eax
push ebx
call fcn.00858bf5
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1438]
not ecx
dec ecx
test eax, eax
mov edi, ecx
je 0x8c3850
test edi, edi
jle 0x8c3862
mov ebp, 0xffffffe4
mov eax, ebx
sub ebp, esi
mov ecx, 2
mov edx, dword [esi + 0x1438]
add edx, ecx
mov dword [esi + 0x1438], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [eax + ebp]
cmp edx, edi
jl 0x8c382f
mov ebp, dword [esp + 0x10]
jmp 0x8c3862
push ebx
push ebx
lea eax, [esi + 0x1030]
push edi
push eax
call fcn.008c8e20
add esp, 0x10
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push 0
push ecx
push edi
push ebx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x1008
ret
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
xor al, al
pop ebp
add esp, 0x1008
ret

Function at 0x8c3950
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push 0xa37bb4
push 0xa37ba4
mov dword [esp + 8], 0x94
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call fcn.008c5c80
test eax, eax
jne 0x8c397d
mov eax, dword [sym.imp.kernel32.dll_GetVersionExA]
lea ecx, [esp]
push ecx
call eax
cmp dword [esp + 0x10], 2
jne 0x8c39b9
mov ecx, dword [esp + 4]
mov al, 1
cmp ecx, 5
jne 0x8c39bb
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x8c39bb
mov edx, dword [0xa37b2c]
mov byte [0xaea816], al
lea ecx, [edx + edx]
mov dword [0xa37b2c], ecx
add esp, 0x94
ret
xor al, al
add esp, 0x94
ret
Function at 0x8c3f00
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x20]
test al, al
jne 0x8c3f0e
mov al, 1
pop esi
ret
push edi
push 0xa38798
lea edi, [esi + 0x24]
call fcn.008c94e0
add esp, 4
push eax
push edi
call fcn.008c3720
mov ecx, dword [esi + 0x2b10]
lea eax, [esi + 0x2b3c]
push eax
push ecx
call dword [esi + 0x2b98]
mov eax, dword [esi + 0x14]
add esp, 0x10
test eax, eax
mov byte [esi + 0x20], 0
je 0x8c3f4f
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov edx, dword [esi + 0x2b38]
push 0x7d0
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x8c3f8e
push 0xa38780
call fcn.008c94e0
add esp, 4
push eax
push edi
call fcn.008c3720
mov eax, dword [esi + 0x2b38]
add esp, 8
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [esi + 0x2b38]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x2b34]
test eax, eax
je 0x8c3fac
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
push 0xa3876c
mov dword [esi + 0x2b94], 0
mov dword [esi + 0x2b98], 0
call fcn.008c94e0
add esp, 4
push eax
push edi
call fcn.008c3720
add esp, 8
mov al, 1
pop edi
pop esi
ret

Function at 0x8c3fe0
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push ebx
push ebp
push eax
mov ebp, ecx
push 0x202
call dword [sym.imp.wsock32.dll_WSAStartup]
test eax, eax
je 0x8c4009
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
push 0
push 2
push 2
call dword [sym.imp.wsock32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x8c4027
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
push 0x3a98
mov word [esp + 0xc], 2
call dword [sym.imp.wsock32.dll_htons]
push 0xaea818
mov word [esp + 0xe], ax
call dword [sym.imp.wsock32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x8c4092
push 0xaea818
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
jne 0x8c4073
push ebx
call dword [sym.imp.wsock32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push esi
mov eax, ecx
push edi
mov esi, dword [edx]
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea ecx, [ebp + 0x1468]
call fcn.008c82c0
test eax, eax
jne 0x8c40b3
push ebx
call dword [sym.imp.wsock32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0x10
push edx
add ecx, 4
push 0
push ecx
push eax
push ebx
call dword [sym.imp.wsock32.dll_sendto]
test eax, eax
jne 0x8c40e0
push ebx
call dword [sym.imp.wsock32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
cmp eax, 0xffffffff
push ebx
jne 0x8c40f7
call dword [sym.imp.wsock32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
call dword [sym.imp.wsock32.dll_closesocket]
pop ebp
mov eax, 1
pop ebx
add esp, 0x1a0
ret
Function at 0x8c4200
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [sym.imp.advapi32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x8c424b
push edi
push edi
lea edx, [esp + 0x24]
push 1
push edx
call dword [sym.imp.advapi32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x8c424b
lea edi, [esp + 0x10]
push 0xa38304
call fcn.008c94e0
mov ebx, dword [sym.imp.kernel32.dll_CreateMutexA]
add esp, 4
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x8c42b3
push 0xa382f8
call fcn.008c94e0
add esp, 4
push eax
push esi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x8c42b3
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
call esi
push eax
push 0xa387c0
call fcn.008c94e0
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.008c3720
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x8c42d3
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x8c4301
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x8c4308
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 8
Function at 0x8c4320
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [sym.imp.advapi32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x8c436b
push edi
push edi
lea edx, [esp + 0x24]
push 1
push edx
call dword [sym.imp.advapi32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x8c436b
lea edi, [esp + 0x10]
push 0xa38324
call fcn.008c94e0
mov ebx, dword [sym.imp.kernel32.dll_CreateMutexA]
add esp, 4
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x8c43d3
push 0xa38318
call fcn.008c94e0
add esp, 4
push eax
push esi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x8c43d3
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
call esi
push eax
push 0xa38800
call fcn.008c94e0
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.008c3720
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x8c4420
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x8c4420
push 0xa387e4
call fcn.008c94e0
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.008c3720
add esp, 8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
push esi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4

Function at 0x8c4440
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0xaea815]
test al, al
je 0x8c4453
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + 0x2b7d]
mov dword [ebp - 4], 0
test al, al
je 0x8c447b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov al, byte fs:[0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x8c5810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x8cba0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
call fcn.008c9940
mov ebx, dword [esp + 0x430]
lea eax, [esp + 8]
push eax
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x430], 0
call fcn.008c9980
test al, al
jne 0x8c58b2
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
mov eax, dword [0xaeaa28]
test eax, eax
je 0x8c58b2
push esi
mov esi, dword [esp + 0x420]
call edi
push eax
push esi
push ebx
push 0xa38f60
call fcn.008c94e0
mov ecx, dword [0xaeaa28]
add esp, 4
add ecx, 0x24
push eax
push ecx
call fcn.008c3720
add esp, 0x14
pop esi
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0xa38f2c
call fcn.008c94e0
add esp, 4
push eax
push reloc.dsound.dll_DirectSoundCreate
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
pop edi
pop ebx
test eax, eax
jne 0x8c5959
cmp dword [esp + 0xc], 2
jne 0x8c5919
mov eax, dword [esp + 0x42c]
lea ecx, [esp + 0x10]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0
push eax
call fcn.008c94e0
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp eax, ecx
je 0x8c5988
mov edx, dword [0xaeaa28]
test edx, edx
je 0x8c59bf
push ecx
push eax
push 0xa38f14
call fcn.008c94e0
add esp, 4
push eax
mov eax, dword [0xaeaa28]
add eax, 0x24
push eax
jmp 0x8c59b7
mov ecx, dword [0xaeaa28]
test ecx, ecx
je 0x8c5984
push eax
push 0xa38efc
call fcn.008c94e0
mov ecx, dword [0xaeaa28]
add esp, 4
add ecx, 0x24
push eax
push ecx
call fcn.008c3720
add esp, 0xc
mov eax, dword [esp]
mov ecx, dword [esp + 0x430]
cmp eax, ecx
je 0x8c59ea
mov edx, dword [0xaeaa28]
test edx, edx
je 0x8c59bf
push ecx
push eax
push 0xa38ee4
call fcn.008c94e0
mov edx, dword [0xaeaa28]
add esp, 4
add edx, 0x24
push eax
push edx
call fcn.008c3720
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x420], 0xffffffff
call fcn.008c76b0
xor al, al
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
add esp, 0x424
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x420], 0xffffffff
call fcn.008c76b0
mov ecx, dword [esp + 0x418]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x424
ret