joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434fc2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 0x2c]
mov dword [ebx], 0x5be57c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
xor edi, edi
test eax, eax
je 0x43501b
mov ebx, eax
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
push edi
push eax
mov edx, dword [ecx + 4]
mov ecx, esi
call edx
push dword [ebp - 0x10]
call fcn.00436434
inc edi
pop ecx
cmp edi, ebx
jb 0x434ffc
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov dword [ebp - 0x18], 0x5bcfec
call dword [eax + 8]
lea ecx, [ebx + 0x4c]
call int.0041a605
xor esi, esi
lea ecx, [ebx + 0x40]
push esi
push esi
mov dword [ebp - 4], esi
call fcn.00435e04
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 1
push esi
mov dword [ecx + 4], esi
call fcn.0043616c
push esi
push esi
lea ecx, [ebx + 0x20]
mov dword [ebp - 4], 2
call fcn.0043605f
lea ecx, [ebx + 0xc]
call fcn.004177b0
push esi
lea ecx, [ebx + 4]
mov dword [ebp - 4], 3
call fcn.00436024
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43b0b0
Capabilities:
Reference public rsa key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
push 0xf0000040
mov esi, ecx
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0x8004
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43b10b
lea eax, [esi + 8]
push eax
push 0
push 0
push 0x114
push 0x5b6dc0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x43b12a
pop edi
mov dword [esi + 0xc], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc]
call fcn.0041a830
push 0x600748
lea eax, [esp + 0xc]
push eax
call fcn.005936f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [edi]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
lea ecx, [esp + 0xc]
call fcn.0041a830
push 0x600748
lea eax, [esp + 0xc]
push eax
call fcn.005936f7
int3
Function at 0x43b190
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, ecx
cmp dword [eax + 0xc], 0
push esi
push edi
lea edi, [eax + 0xc]
mov dword [esp + 0xc], eax
jne 0x43b1c3
push edi
push 0
push 0
push dword [eax]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43b275
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43b294
mov esi, dword [ebp + 0x14]
push esi
call fcn.005929cd
add esp, 4
xor edx, edx
mov ebx, eax
test esi, esi
je 0x43b202
mov ecx, dword [ebp + 0x10]
dec ecx
add ecx, esi
mov al, byte [ecx]
lea ecx, [ecx - 1]
mov byte [edx + ebx], al
inc edx
cmp edx, esi
jb 0x43b1f5
mov eax, dword [esp + 0xc]
push 0
push 0
push dword [eax + 8]
push esi
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
push ebx
mov esi, eax
call fcn.005929c8
mov ecx, dword [edi]
add esp, 4
test ecx, ecx
je 0x43b235
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [edi], 0
test esi, esi
je 0x43b244
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090006
jne 0x43b25c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
lea ecx, [esp + 0x14]
call fcn.0041a830
push 0x600748
lea eax, [esp + 0x14]
push eax
call fcn.005936f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a830
push 0x600748
lea eax, [esp + 0x14]
push eax
call fcn.005936f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a830
push 0x600748
lea eax, [esp + 0x14]
push eax
call fcn.005936f7
int3
Function at 0x44b3c0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ab3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov edx, ecx
lea ecx, [ebp - 0x34]
push edi
call fcn.0044ae20
mov dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [eax + 4]
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
or edx, 0xffffffff
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0058f330
mov esi, eax
test esi, esi
je 0x44b424
push esi
lea ecx, [ebp - 0x18]
call fcn.004103b0
mov ebx, dword [ebp - 0x18]
mov edi, esi
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.0058f120
test edi, edi
mov byte [ebp - 4], 2
mov esi, 0x5b5d98
cmovne esi, ebx
call fcn.0044df70
mov ecx, eax
test ecx, ecx
je 0x44b52a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0044d480
test al, al
jne 0x44b48d
test esi, esi
jne 0x44b46f
xor ecx, ecx
jmp 0x44b483
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b474
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.0044d800
mov byte [ebp - 4], 6
test edi, edi
je 0x44b4a6
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.004103b0
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
call dword [0x5b46d4]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
call edi
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b534
test al, 1
jne 0x44b541
push 0
test al, 0x10
je 0x44b4f6
call edi
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x44b556
jmp 0x44b501
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44b4f0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44b519
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004089f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0057b7ff
lea ecx, [ebp - 0x1c]
call fcn.0044e0c0
push 0x600c00
mov eax, ecx
push eax
call fcn.005936f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0057b7ff
int3
Function at 0x44dd40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44dd96
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44dd96
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x44dd86
cmp esi, edx
jae 0x44dd96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x44dd74
cmp esi, edx
jae 0x44dd96
cmp word [esi], 0
je 0x44dd96
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x453480
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b53a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov esi, dword [ecx + 0x2c]
cmp esi, 1
ja 0x4534c5
mov esi, 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x4534ef
call dword [0x5b4304]
cmp esi, eax
jae 0x4534df
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x4534ef
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
test esi, esi
je 0x453544
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov eax, esi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.005929cd
add esp, 4
mov dword [ebp - 0x14], eax
push 0x453460
push 0x454030
push esi
lea ebx, [eax + 4]
mov byte [ebp - 4], 2
push 0xc
push ebx
mov dword [eax], esi
call fcn.00592bed
mov byte [ebp - 4], 0
mov edi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov dword [ebp - 0x14], 1
cmp edi, 1
jbe 0x4535c3
lea esi, [ebx + 0xc]
nop dword [eax]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.00591960
push 0
push 4
push esi
push 0x5919c0
push 0
push 0
call dword [0x5b4788]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x453645
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x1c]
add esi, 0xc
mov dword [ebp - 0x14], eax
cmp eax, edi
mov eax, dword [ebp - 0x10]
jb 0x453560
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp edi, 1
jbe 0x4535e2
lea esi, [ebx + 0xc]
dec edi
mov ecx, esi
call fcn.00591960
add esi, 0xc
sub edi, 1
jne 0x4535d3
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x44], 0
ja 0x45362b
push 0x453460
mov dword [ebp - 4], 3
lea esi, [ebx - 4]
push dword [esi]
push 0xc
push ebx
call fcn.00592c61
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.00592bdf
mov ecx, dword [ebp - 0xc]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004540f0
push 0x600604
lea eax, [ebp - 0x2c]
push eax
call fcn.005936f7
call fcn.0054c700
int3
Function at 0x4574c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bae7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x30]
mov esi, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], eax
push ecx
mov ecx, eax
call fcn.00458270
mov ebx, dword [ebp - 0x1c]
cmp byte [ebx + 0xd], 0
jne 0x457631
cmp dword [ebx + 0x24], 0x10
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x45751d
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x457528
mov esi, dword [esi]
push ecx
push eax
mov ecx, esi
call fcn.004589c0
shr eax, 0x1f
add esp, 8
test al, al
jne 0x457631
mov ecx, dword [ebp - 0x10]
cmp ebx, dword [ecx]
je 0x457631
mov eax, dword [ebx + 0x28]
mov esi, dword [eax]
cmp esi, eax
je 0x457631
mov eax, dword [esi + 0x14]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45756b
lock inc dword [eax + 4]
mov eax, dword [esi + 0x14]
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0x2c], 1
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
jne 0x457583
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00457ab0
jmp 0x4575c8
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x2c]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x4575bd
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4575bd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x4575bd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 0x18
push esi
call fcn.00592746
add esp, 8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x34], 0
jne 0x457607
mov esi, dword [eax + 0x2c]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
test esi, esi
je 0x457607
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x457607
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x457607
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push edi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x110
call fcn.00592716
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
xorps xmm0, xmm0
mov ecx, esi
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x5c1234
call fcn.00565f4e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x459080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [edx + 2]
push edi
mov dword [esp + 0x18], ebp
xor esi, esi
movzx edx, byte [eax + 1]
lea eax, [eax + 4]
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 6]
shl edx, 8
or edx, ecx
mov dword [esp + esi*4 + 0x1c], edx
inc esi
cmp esi, 0x10
jb 0x459092
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov ebp, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esi + 0x5b7188]
mov edx, ebp
movzx ecx, byte [esi + 0x5b7148]
xor edx, ebx
and edx, edi
xor edx, ebp
add edx, dword [esp + eax*4 + 0x1c]
add edx, dword [esi*4 + 0x5b7048]
inc esi
add edx, dword [esp + 0x10]
rol edx, cl
mov ecx, ebp
add edx, edi
mov dword [esp + 0x10], ecx
mov ebp, ebx
mov ebx, edi
mov edi, edx
cmp esi, 0x10
jb 0x4590e0
cmp esi, 0x20
jae 0x45915b
movzx eax, byte [esi + 0x5b7188]
mov edx, ebx
movzx ecx, byte [esi + 0x5b7148]
xor edx, edi
and edx, ebp
xor edx, ebx
add edx, dword [esp + eax*4 + 0x1c]
add edx, dword [esi*4 + 0x5b7048]
inc esi
add edx, dword [esp + 0x10]
rol edx, cl
mov ecx, ebp
add edx, edi
mov dword [esp + 0x10], ecx
mov ebp, ebx
mov ebx, edi
mov edi, edx
cmp esi, 0x20
jb 0x459120
cmp esi, 0x30
jae 0x45919b
movzx eax, byte [esi + 0x5b7188]
mov edx, ebp
movzx ecx, byte [esi + 0x5b7148]
xor edx, ebx
xor edx, edi
mov eax, dword [esp + eax*4 + 0x1c]
add eax, edx
add eax, dword [esi*4 + 0x5b7048]
inc esi
add eax, dword [esp + 0x10]
rol eax, cl
mov ecx, ebp
add eax, edi
mov dword [esp + 0x10], ecx
mov ebp, ebx
mov ebx, edi
mov edi, eax
cmp esi, 0x30
jb 0x459160
cmp esi, 0x40
jae 0x4591dd
movzx eax, byte [esi + 0x5b7188]
mov edx, ebp
movzx ecx, byte [esi + 0x5b7148]
not edx
or edx, edi
xor edx, ebx
mov eax, dword [esp + eax*4 + 0x1c]
add eax, edx
add eax, dword [esi*4 + 0x5b7048]
inc esi
add eax, dword [esp + 0x10]
rol eax, cl
mov ecx, ebp
add eax, edi
mov dword [esp + 0x10], ecx
mov ebp, ebx
mov ebx, edi
mov edi, eax
cmp esi, 0x40
jb 0x4591a0
mov eax, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x18]
add dword [ecx + 0xc], edi
add dword [ecx + 0x10], ebx
add dword [ecx + 0x14], ebp
pop edi
pop esi
pop ebp
mov dword [ecx + 8], eax
pop ebx
add esp, 0x4c
ret
Function at 0x46eaee
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x59d663
call fcn.00593e24
sub esp, 0xa0
push ebx
push esi
movzx esi, cl
mov eax, 0x90
mov ebx, edx
mov dword [ebp - 0x14], ebx
push edi
cmp esi, eax
ja 0x46ebe5
je 0x46ebdc
cmp esi, 0x26
ja 0x46eb86
je 0x46eb7d
mov eax, esi
sub eax, 0x13
je 0x46eb74
sub eax, 0xe
je 0x46eb6b
sub eax, 1
je 0x46eb62
sub eax, 1
je 0x46eb59
sub eax, 1
je 0x46eb50
sub eax, 1
jne case.default.0x46ebf4
push 4
push str.Left
jmp 0x46ebac
push 4
push str.Home
jmp 0x46ebac
push 3
push 0x5c32ec
jmp 0x46ebac
push 9
push str.Page_Down
jmp 0x46ebac
push 7
push str.Page_Up
jmp 0x46ebac
push 5
push 0x5c32c4
jmp 0x46ebac
push 2
push 0x5c3308
jmp 0x46ebac
mov eax, esi
sub eax, 0x27
je 0x46ebd3
sub eax, 1
je 0x46ebca
sub eax, 5
je 0x46ebc1
sub eax, 1
je 0x46ebb8
sub eax, 0x41
jne case.default.0x46ebf4
push 5
push str.Num__
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
jmp 0x46ed2e
push 6
push 0x5c3314
jmp 0x46ebac
push 6
push str.Insert
jmp 0x46ebac
push 4
push str.Down
jmp 0x46ebac
push 5
push str.Right
jmp 0x46ebac
push 8
push str.Num_Lock
jmp 0x46ebac
lea eax, [esi - 0xaa]
cmp eax, 0xb
ja case.default.0x46ebf4
jmp dword [eax*4 + 0x46ed3e]
push 0xb
push str.Search__MM_
jmp 0x46ebac
push 0xf
push str.Favourites__MM_
jmp 0x46ebac
push 9
push str.Home__MM_
jmp 0x46ebac
push 9
push str.Mute__MM_
jmp 0x46ebac
push 0x10
push str.Volume_Down__MM_
jmp 0x46ebac
push 0xe
push str.Volume_Up__MM_
jmp 0x46ebac
push 9
push str.Next__MM_
jmp 0x46ebac
push 0xd
push str.Previous__MM_
jmp 0x46ebac
push 9
push str.Stop__MM_
jmp 0x46ebac
push 0x11
push str.Play___Pause__MM_
jmp 0x46ebac
push 0xa
push str.Email__MM_
jmp 0x46ebac
push 0xa
push str.Media__MM_
jmp 0x46ebac
lea eax, [esi - 0x70]
cmp eax, 0x17
ja 0x46ecb1
lea ecx, [ebp - 0x2c]
lea ebx, [esi - 0x6f]
call int.00408eb0
mov edi, eax
and dword [ebp - 4], 0
mov ecx, edi
mov esi, dword [edi]
push 1
push 0x5c3324
call dword [esi]
mov edx, ebx
mov ecx, edi
call fcn.00470ae0
mov ecx, dword [ebp - 0x14]
push eax
jmp 0x46ed21
push ebx
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
push eax
call dword [0x5b4904]
test eax, eax
jne 0x46ed2e
push eax
push esi
lea eax, [ebp - 0xac]
push eax
push 2
pop ecx
call fcn.0058a740
add esp, 0xc
lea edi, [ebp - 0x6c]
mov esi, eax
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2c]
call int.00408eb0
mov esi, eax
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
push 9
push str._unknown:
call dword [edx]
mov edx, dword [esi]
lea eax, [ebp - 0x6c]
push 0xffffffffffffffff
push eax
mov ecx, esi
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 2
push 0x5c3328
call dword [eax]
push esi
mov ecx, ebx
call fcn.00410060
lea ecx, [ebp - 0x2c]
call fcn.00408e60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x473490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dc0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], 0x5bccc4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 1
mov eax, 0x66666667
mov dword [esi + 0x20], 0
xor ebx, ebx
mov dword [esi + 0x24], 0
imul dword [esi + 0x1c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jae 0x473520
push 4
lea ecx, [esi + 0x14]
call fcn.0054e415
mov ebx, dword [esi + 0x14]
push 0x50
push dword [ebp + 8]
push ebx
call fcn.005936cd
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x50]
mov dword [esi + 0x18], eax
add esp, 0xc
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x477020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], fcn.0058c4a0
mov dword [edi + 4], 0x5b57c4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov byte [edi + 0x14], 0
push dword [esi + 8]
push dword [esi + 4]
call fcn.0058c580
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp + 8], ecx
mov dword [ecx], fcn.0058c4a0
mov dword [ecx + 4], 0x5b57c4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 2
mov byte [ecx + 0x14], 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
call fcn.0058c580
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x30], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x47d9c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e85e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
mov dword [esi], fcn.0058c4a0
mov dword [esi + 4], 0x5b57c4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0x5b57a8
mov dword [esi + 0x1c], 0x5b57c4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edx, dword [ecx]
push esi
mov dword [ebp - 0x10], 1
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x47fa30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ea95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x6c], 0x5b57a8
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x68], 0x5b57c4
mov eax, dword [esi + 0x5c4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x5b57a8
mov dword [ebp - 0x50], 0x5b57c4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov ebx, dword [ebp + 8]
push 0
push ebx
call fcn.0047c770
lea edi, [esi + 0x5c0]
mov esi, dword [edi + 4]
mov ecx, edi
lea eax, [esi + 1]
push eax
call fcn.0047bd30
push dword [ebp - 0x64]
imul esi, esi, 0x34
push dword [ebp - 0x68]
add esi, dword [edi]
mov ecx, esi
call fcn.0058c580
push dword [ebp - 0x4c]
lea ecx, [esi + 0x18]
push dword [ebp - 0x50]
call fcn.0058c580
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x48]
mov esi, dword [0x5b46d4]
call esi
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push dword [ebp - 0x60]
call esi
mov edi, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x14]
add edi, 0x2e8
inc eax
push eax
lea ecx, [edi + 0x2b0]
call fcn.00480b70
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push 1
push ebx
push 0
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0047e280
mov dword [ebp - 0x38], 0x5b57a8
mov dword [ebp - 0x34], 0x5b57c4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x38]
mov ecx, ebx
call fcn.0047ff00
mov ebx, dword [ebp - 0x14]
mov ecx, edi
push 1
push dword [ebp - 0x34]
push 1
push ebx
call fcn.0047e280
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call esi
mov eax, dword [edi]
add esp, 4
mov ecx, edi
push ebx
call dword [eax + 0x100]
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x20], 0x5bfbbc
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 8], 0x5bcc5c
call dword [eax + 0x118]
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.0047f270
cmp byte [ebx + 0x5b4], 0
jne 0x47fc0f
cmp byte [ebx + 0x5b5], 0
je 0x47fc0f
mov ecx, dword [ebx + 0x5b8]
mov byte [ebx + 0x5b4], 1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4