joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40214c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41efce
call fcn.0041384c
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x428060]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x4021f5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x4021be
push edi
call fcn.00401b66
test al, al
pop ecx
je 0x4021be
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00413970
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x4021d4
lea eax, [edi + 8]
push eax
call fcn.00413950
cmp eax, ebx
pop ecx
je 0x4021f5
mov dword [eax], ebx
mov dword [ebp - 0x18], eax
lea esi, [eax + 8]
cmp esi, ebx
je 0x4021f5
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4021f7
xor eax, eax
cmp eax, ebx
jne 0x40221e
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x402214
lea ecx, [ebp - 0x424]
call fcn.0040344b
mov esi, 0x8007000e
jmp 0x402311
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x40223d
call fcn.00401bbf
mov esi, eax
jmp 0x4022f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40225f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x402269
call fcn.00401bbf
jmp 0x4022ed
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
inc eax
cmp eax, 0x400
mov byte [ebp - 4], 2
jbe 0x402294
push eax
lea ecx, [ebp - 0x424]
call fcn.00403454
jmp 0x4022a4
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x4022a4
mov edi, dword [ebp - 0x424]
cmp edi, ebx
mov dword [ebp - 4], 1
jne 0x4022bc
mov esi, 0x8007000e
jmp 0x4022ef
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], bl
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040234a
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x402311
lea ecx, [ebp - 0x424]
call fcn.0040344b
lea ecx, [ebp - 0x18]
call fcn.00401e40
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40e986
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push esi
push edi
call dword [0x428060]
mov edi, eax
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x422ff8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ea54
mov byte [ebp - 0x40c], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x423020
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jbe 0x40ea54
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x40c]
push eax
call esi
test eax, eax
je 0x40ea54
lea eax, [ebp - 0x40c]
push eax
call esi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.00413970
mov eax, esp
push edi
push esi
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.004044b6
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
xor eax, eax
push 4
pop ecx
mov edi, 0x424058
repe cmpsd dword [esi], dword es:[edi]
setne al
dec eax
and eax, 0x80004005
jmp 0x40ea59
mov eax, 0x80004005
lea esp, [ebp - 0x414]
pop edi
pop esi
leave
ret

Function at 0x40ea63
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [0x428060]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push 0x423030
mov esi, 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40eaa2
mov eax, esi
jmp 0x40eb45
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x424058
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40eac9
push 0x423058
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40eb3a
xor ebx, ebx
jmp 0x40eb3a
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, eax
test ebx, ebx
jl 0x40eb2b
mov edi, dword [ebp - 4]
test edi, edi
jne 0x40eaeb
xor eax, eax
jmp 0x40eb10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00413970
mov eax, esp
push dword [ebp - 0xc]
push esi
push edi
push eax
call fcn.004044ed
push 4
push eax
push 1
push 0
push str.TransferJobID
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40eb2b
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x40eb3a
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412e82
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp dword [0x4298ac], 0
push esi
jne 0x412df5
call fcn.00412d20
test eax, eax
je 0x412e38
mov eax, dword [0x4298ac]
cmp eax, 1
jne 0x412e16
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412e38
pop esi
ret
push eax
call dword [0x4298b4]
test eax, eax
jne 0x412e80
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x412e3c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4298ac]
call dword [0x4298b4]
mov edi, eax
test edi, edi
je 0x412e63
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x412e7f
lea edi, [esi + 0xff0]
push esi
push dword [0x4298ac]
call dword [0x4298b0]
add esi, 0x10
cmp esi, edi
jb 0x412e69
mov eax, esi
pop edi
pop esi
ret
jmp 0x412de2

Function at 0x4139ad
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00413970
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x413a48
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x429af4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x413a48
cmp eax, 1
je 0x413a69
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x413a48
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x413a15
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x413a44
xor eax, eax
inc eax
jmp 0x413a88
cmp edi, eax
jae 0x413a4c
xor eax, eax
jmp 0x413a88
cmp eax, esi
jae 0x413a53
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x429af4]
jmp 0x413a6c
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414ac9
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x424140
call fcn.00413000
mov edi, 0x94
mov eax, edi
call fcn.00413970
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x429af4], ecx
mov eax, dword [esi + 4]
mov dword [0x429b00], eax
mov edx, dword [esi + 8]
mov dword [0x429b04], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x429af8], esi
cmp ecx, 2
je 0x414b29
or esi, 0x8000
mov dword [0x429af8], esi
shl eax, 8
add eax, edx
mov dword [0x429afc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x414b64
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414b64
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x414b7c
cmp eax, 0x20b
je 0x414b69
mov dword [ebp - 0x1c], esi
jmp 0x414b90
cmp dword [ecx + 0x84], 0xe
jbe 0x414b64
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x414b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x414b64
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004152c3
pop ecx
test eax, eax
jne 0x414ba4
push 0x1c
call fcn.00414aa5
pop ecx
call fcn.00416ce2
test eax, eax
jne 0x414bb5
push 0x10
call fcn.00414aa5
pop ecx
call fcn.0041abcc
mov dword [ebp - 4], esi
call fcn.0041a9ce
test eax, eax
jge 0x414bce
push 0x1b
call fcn.00414a80
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x42b1d4], eax
call fcn.0041a8ac
mov dword [0x429944], eax
call fcn.0041a80a
test eax, eax
jge 0x414bf4
push 8
call fcn.00414a80
pop ecx
call fcn.0041a5d7
test eax, eax
jge 0x414c05
push 9
call fcn.00414a80
pop ecx
push 1
call fcn.00416077
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x414c1b
push eax
call fcn.00414a80
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0041a57a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x414c3c
movzx eax, word [ebp - 0x40]
jmp 0x414c3f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040157d
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x414c5d
push edi
call fcn.004161a4
call fcn.004161c6
jmp 0x414c8f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0041303b
ret
Function at 0x1001ae70
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x1001ae9d
xor ecx, ecx
jmp 0x1001aea9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x1001af5d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x1001aed0
mov dword [esp + 0xc], esi
jmp 0x1001af30
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x1001af29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001af1c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x1001af30
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1001af30
push 0x1002fa38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1001af30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x1001af53
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x1001aec2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x1001af71
mov ecx, dword [ebx]
add ecx, 8
call fcn.1001b0b0
test eax, eax
je 0x1001af71
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x1001af80
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x1002a78b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100331b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.1001cf30
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x1001b018
push 0x10030930
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.1001d22b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x1001b630
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100331b0]
jne 0x1001b63a
repz ret
jmp fcn.1001dfa1

Function at 0x1001cf02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x1001cf19
jmp 0x1001d05d
mov dword [ebp - 0x1c], 0x5f5e100
mov byte [ebp - 0x4c], 0x4e
mov byte [ebp - 0x4b], 0x78
mov byte [ebp - 0x4a], 0x4b
mov byte [ebp - 0x49], 0x56
Function at 0x1001cf30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x48], 0x71
mov byte [ebp - 0x47], 0x21
mov byte [ebp - 0x46], 0x70
mov byte [ebp - 0x45], 0x71
mov byte [ebp - 0x44], 0x26
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x2b
mov byte [ebp - 0x41], 0x4b
mov byte [ebp - 0x40], 0x69
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x67
mov byte [ebp - 0x3d], 0x62
mov byte [ebp - 0x3c], 0x36
mov byte [ebp - 0x3b], 0x6a
mov byte [ebp - 0x3a], 0x51
mov byte [ebp - 0x39], 0x28
mov byte [ebp - 0x38], 0x42
mov byte [ebp - 0x37], 0x6a
mov byte [ebp - 0x36], 0x31
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0xffe8960
mov dword [ebp - 8], 0x10001000
mov dword [ebp - 0x18], 0xbd0
invalid
invalid

Function at 0x10028035
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001efbf
and dword [ebp - 4], 0
cmp dword [0x1003522c], 0
mov ebx, eax
jne 0x100280e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10028197
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10028197
push eax
call fcn.1001ef4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003522c], eax
call esi
push eax
call fcn.1001ef4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10035230], eax
call esi
push eax
call fcn.1001ef4d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10035234], eax
call esi
push eax
call fcn.1001ef4d
pop ecx
mov dword [0x1003523c], eax
test eax, eax
je 0x100280e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001ef4d
pop ecx
mov dword [0x10035238], eax
mov eax, dword [0x10035238]
cmp eax, ebx
je 0x1002813e
cmp dword [0x1003523c], ebx
je 0x1002813e
push eax
call fcn.1001efc8
push dword [0x1003523c]
mov esi, eax
call fcn.1001efc8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002813e
test edi, edi
je 0x1002813e
call esi
test eax, eax
je 0x10028135
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10028135
test byte [ebp - 0xc], 1
jne 0x1002813e
or dword [ebp + 0x10], 0x200000
jmp 0x10028177
mov eax, dword [0x10035230]
cmp eax, ebx
je 0x10028177
push eax
call fcn.1001efc8
pop ecx
test eax, eax
je 0x10028177
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10028177
mov eax, dword [0x10035234]
cmp eax, ebx
je 0x10028177
push eax
call fcn.1001efc8
pop ecx
test eax, eax
je 0x10028177
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003522c]
call fcn.1001efc8
pop ecx
test eax, eax
je 0x10028197
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10028199
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7b321af0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push ebx
lea eax, [ebp - 0x14]
sub esp, 0x2c
mov word [ebp - 0x16], dx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
je 0x7b321b70
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], str.SYSTEM.INI
shr eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x16]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._GetPrivateProfileStringW_24
mov ebx, dword [ebp - 4]
sub esp, 0x18
leave
ret
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
je 0x7b321bb0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._RegCloseKey_4
push eax
jmp 0x7b321b2f
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._RegQueryValueExW_24
mov ebx, eax
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
test ebx, ebx
jne 0x7b321b2f
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x7b3255a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x40
mov esi, dword [ebp + 0xc]
test byte [0x7b33c120], 8
jne 0x7b325660
mov ebx, esi
shr ebx, 0x10
je 0x7b325602
call sym._GetActiveWindow_0
cmp bx, ax
je 0x7b325602
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], 0x400001
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._PeekMessageW_20
xor eax, eax
sub esp, 0x14
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
movzx esi, si
mov dword [esp], esi
call sym._GetAsyncKeyState_4
sub esp, 4
test al, 1
je 0x7b3255c9
mov eax, ebx
mov dword [ebp - 0x24], ebx
lea ebx, [ebp - 0x24]
jmp 0x7b325623
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x109
mov dword [esp + 8], 0x100
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._PeekMessageW_20
sub esp, 0x14
test eax, eax
je 0x7b325620
lea esp, [ebp - 8]
mov eax, 0xffffffff
pop ebx
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], str._0x_04x__0x_08lx__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x925
mov dword [esp + 0xc], str.MCI_DefYieldProc
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b3255b8
Function at 0x7b325ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ecx, 0x7b342820
mov ebp, esp
push esi
push ebx
xor ebx, ebx
sub esp, 0x60
nop
mov edx, dword [ecx + 8]
test edx, edx
je 0x7b325eff
cmp dword [ecx], eax
je 0x7b325fe1
add ebx, 1
add ecx, 0x14
cmp ebx, 0x14
jne 0x7b325ef0
mov ebx, eax
lea eax, [eax - 0x201]
cmp eax, 0xa
jbe 0x7b325f72
test ebx, ebx
jne 0x7b325f99
mov esi, str.CORE
mov eax, dword [0x7b342a1c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._FindResourceW_12
sub esp, 0xc
test eax, eax
je 0x7b325ff0
mov dword [esp + 4], eax
mov eax, dword [0x7b342a1c]
mov dword [esp], eax
call sym._LoadResource_8
sub esp, 8
test eax, eax
je 0x7b325ff0
mov edx, ebx
call sym._MCI_SetCommandTable
mov ebx, eax
movzx eax, byte [0x7b33c120]
jmp 0x7b325fa5
mov eax, dword [0x7b342a1c]
lea esi, [ebp - 0x48]
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
test eax, eax
jne 0x7b325f20
movzx eax, byte [0x7b33c120]
mov ebx, 0xffff
test al, 8
je 0x7b325fe1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x7b33e013
mov dword [esp + 0x10], 0x2a7
mov dword [esp + 0xc], str.MCI_GetCommandTable
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
movzx eax, byte [0x7b33c120]
mov ebx, 0xffff
test al, 4
je 0x7b325fa5
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.No_command_table_found_in_resource__p__s__n
mov dword [esp + 0x1c], eax
mov eax, dword [0x7b342a1c]
mov dword [esp + 0x10], 0x2a3
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.MCI_GetCommandTable
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 2
call sym._ros_dbg_log
movzx eax, byte [0x7b33c120]
jmp 0x7b325fa5
Function at 0x7b326730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
sub esp, 0x28
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
je 0x7b32678c
mov ebx, eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionMCI_Extensions
mov dword [esp], 0x80000002
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
je 0x7b3267a0
test byte [0x7b33c120], 8
jne 0x7b3267f6
mov eax, 0x119
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
lea eax, [ebx + 2]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [ebp - 0xc], 0x100
call sym._RegQueryValueExW_24
mov esi, eax
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp], eax
call sym._RegCloseKey_4
xor eax, eax
sub esp, 4
test esi, esi
je 0x7b326791
test byte [0x7b33c120], 8
je 0x7b32678c
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.No_...MCI_Extensions_entry_for__s_found._n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x212
mov dword [esp + 0xc], str.MCI_GetDevTypeFromFileName
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b32678c