joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cd10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046f994
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c670
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046f8c2
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046c0a6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046c0a6
push 1
push 0
push 0
mov ecx, esi
call fcn.0046c04e
push 1
push 0
push 1
mov ecx, esi
call fcn.0046c04e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046fa06
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ce90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4791b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046f994
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c670
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046f8c2
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43cf54
cmp dword [esp + 0x40], 1
jne 0x43cf52
cmp ecx, eax
jge 0x43cf54
mov eax, ecx
cmp eax, 0xc8
jge 0x43cf60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043cd10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046fa06
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046a4c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046fc3c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00471194
test eax, eax
je 0x43d87c
mov ecx, dword [esp + 0x3c]
call fcn.0046fc69
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43d840
push edi
mov ecx, esi
call fcn.0046d228
mov ecx, esi
call fcn.0043da20
cmp dword [esp + 0x38], 1
jne 0x43d875
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046d392
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43fa80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43fab3
push esi
call fcn.00442bd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43faac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43fb39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fb22
mov eax, dword [esi + 8]
test eax, eax
je 0x43fad7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43fb1e
cmp eax, 2
je 0x43fb22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43faca
cmp eax, 3
je 0x43fafd
cmp eax, 1
jne 0x43faca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43faca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43faca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fb60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fb48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fb60
add esp, 4
pop esi
ret

Function at 0x44ca70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44cad6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44cad6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44cab7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44ce60
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44ce98
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44dac0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44db09
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44df80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044db30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044dbb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044dbb0
lea ecx, [esi + 0xc]
call fcn.00468e54
lea ecx, [esi + 0x10]
call fcn.00468e54
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044f140
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044f140
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044f140
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00468ec9
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00468ec9
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46b2b9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b2f1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00469370
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469348
jmp 0x46b2fd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46c9ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46c9f0
call fcn.0047295b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46c9f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46c9e7
xor eax, eax
jmp 0x46c9f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046c9fe
pop edi
pop esi
pop ebx
ret 4

Function at 0x472e8b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x472eb9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x472ed7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00472df1
jmp 0x472ed7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x472ed7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00472df1
test edi, edi
mov eax, edi
jne 0x472ec1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d8
lea eax, [ebp - 4]
push ebx
push edi
push eax
mov ebx, 0xf013f
xor edi, edi
push ebx
push edi
push str.SOFTWARE_seroxenconfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40106b
jmp 0x40103e
lea eax, [ebp - 0x7d8]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x3e8
push eax
lea eax, [ebp - 0x7d8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40102e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
push str.SOFTWARE_seroxenconfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
pop edi
pop ebx
leave
ret
Function at 0x401294
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x3e80
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 4], 0x3e8
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00401081
test eax, eax
je 0x40130e
push esi
mov esi, dword [ebp - 4]
test esi, esi
je 0x40130d
push edi
mov edi, ebx
mov eax, 0x7273
cmp word [edi + 4], ax
jne 0x401304
cmp dword [edi], 0xffffffff
je 0x401304
push dword [edi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x401304
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x10
sub esi, 1
jne 0x4012cf
pop edi
pop esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
leave
ret

Function at 0x4013e9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401476
lea eax, [ebp - 4]
push eax
push 0x28
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40146f
lea eax, [ebp - 0xc]
push eax
push 0x4021ec
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40146f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push ebx
push ebx
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40146f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
setne bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4014ca
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push edi
lea eax, [ebp - 0x424]
mov dword [ebp - 4], edx
push eax
push 0x104
mov dword [ebp - 8], ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40158c
lea ecx, [ebp - 0x218]
call fcn.00401321
test eax, eax
je 0x40158c
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x218]
push 0x402210
push eax
call esi
push 0x4022c4
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x40158b
push ebx
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40158a
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
test esi, esi
cmovne edi, eax
pop ebx
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x401591
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
mov edx, ecx
lea edi, [ebp - 0x58]
pop ecx
push 0x10
xor al, al
mov dword [ebp - 4], edx
rep stosb byte es:[edi], al
pop ecx
lea edi, [ebp - 0x14]
mov dword [ebp - 0x58], 0x44
rep stosb byte es:[edi], al
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov esi, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4015f7
push 0x2710
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
xor esi, esi
inc esi
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401613
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x4015fa
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40174f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
call fcn.004013e9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x402238
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4017a2
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x40224c
push dword [ebp - 8]
call esi
push 0x40226c
push dword [ebp - 8]
call esi
push 0x402288
push dword [ebp - 8]
call esi
call fcn.0040161a
call fcn.00401294
push 0x3e80
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 4], 0x3e8
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00401081
test eax, eax
je 0x4017fc
push edi
mov edi, dword [ebp - 4]
test edi, edi
je 0x4017fb
mov esi, ebx
mov eax, 0x7277
cmp word [esi + 4], ax
jne 0x4017f3
mov ecx, esi
call fcn.0040122d
add esi, 0x10
sub edi, 1
jne 0x4017e1
pop edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.004013a0
pop esi
pop ebx
test eax, eax
je 0x40184e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040147c
pop ecx
pop ecx
test eax, eax
je 0x40184e
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.004014ca
pop ecx
pop ecx
test eax, eax
je 0x40184e
lea ecx, [ebp - 0x218]
call fcn.00401591
call section..text
xor eax, eax
leave
ret
Function at 0x4014f4
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x41a8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x426010]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov eax, dword [0x426010]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebp
mov word [esp + 0x14], ax
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x48]
mov byte [esp + 0x40], 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebp
call fcn.004037c5
push str.JPLAYStreamer_Driver
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4015c2
push str.BUSY:_Close_player_or_press_STOP_to_search_LAN
mov ecx, 0x427360
call fcn.004032c9
mov esi, ebp
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.00403338
push ebp
push 1
lea ecx, [esp + 0x48]
call fcn.00403338
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040809e
add esp, 0x2c
ret
push ebp
push ebp
lea eax, [esp + 0x18]
push eax
push 0x401390
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0x1f4
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
je 0x401588
xor esi, esi
inc esi
jmp 0x40158a
Function at 0x40160c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41a915
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x426010]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426010]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
push 3
push ebx
push str.SoftwareJPLAY
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401674
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401838
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x80]
push eax
push ebx
push 2
push str.AudioPC
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x7c]
mov dword [esp + 0x2c], ebx
push eax
call fcn.004032c9
mov dword [esp + 0x888], ebx
cmp dword [esp + 0x2c], 0
je 0x40182c
mov ebp, 0x42184c
push ecx
push str.name_
lea ecx, [esp + 0x24]
call fcn.00402d6f
mov esi, eax
test esi, esi
js 0x40182c
push ecx
push ebp
lea ecx, [esp + 0x24]
call fcn.00402d6f
mov edi, eax
test edi, edi
js 0x40182c
mov ecx, edi
lea eax, [esp + 0x34]
sub ecx, esi
sub ecx, 5
push ecx
lea ecx, [esi + 5]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402de5
mov byte [esp + 0x888], 1
lea eax, [edi + 1]
push dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00402de5
push eax
lea ecx, [esp + 0x20]
call fcn.00402d42
push ebx
push 1
lea ecx, [esp + 0x54]
call fcn.00403338
push ecx
push 0x421844
lea ecx, [esp + 0x24]
call fcn.00402d6f
mov edi, eax
test edi, edi
js 0x401820
push ecx
push ebp
lea ecx, [esp + 0x24]
call fcn.00402d6f
mov esi, eax
test esi, esi
js 0x401820
mov ecx, esi
lea eax, [esp + 0x64]
sub ecx, edi
sub ecx, 3
push ecx
lea ecx, [edi + 3]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402de5
mov byte [esp + 0x888], 2
lea eax, [esi + 1]
push dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00402de5
push eax
lea ecx, [esp + 0x20]
call fcn.00402d42
push ebx
push 1
lea ecx, [esp + 0x54]
call fcn.00403338
lea eax, [esp + 0x34]
mov ecx, 0x429bac
push eax
call fcn.00402eb1
lea eax, [esp + 0x64]
mov ecx, 0x429ba0
push eax
call fcn.00402eb1
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00403338
push ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x890], bl
call fcn.00403338
cmp dword [esp + 0x2c], 0
jne 0x4016de
jmp 0x40182c
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.00403338
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00403338
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.0040809e
add esp, 0x878
ret
Function at 0x4020da
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0x400
push esi
push dword [0x427310]
call dword [sym.imp.WS2_32.dll_send]
push 0x58
pop eax
mov edx, esi
mov word [esi], ax
mov ecx, 0x427310
call fcn.004046d6
test eax, eax
je 0x402126
cmp word [esi], 0x73
jne 0x402126
push 0x3fe
lea eax, [esi + 2]
push eax
push esi
call fcn.004081d0
xor eax, eax
add esp, 0xc
inc eax
jmp 0x40214f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 2
push dword [0x427310]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [0x427310]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [0x427310], 0xffffffff
xor eax, eax
pop esi
ret 4