joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51c7f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x51c806
add esp, 0xfffffff0
call fcn.00405668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00455a38
mov eax, dword [0x641c98]
mov dword [eax + 4], ebx
mov dword [eax], 0x51cc34
mov eax, dword [0x641cb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x51cc40
mov eax, ebx
call fcn.0051cc4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5175b0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.0051d244
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x51d060
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x51d060
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x51d060
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x51d060
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x51d060
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x51c983
call fcn.004056c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x51ce00
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51cfab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x51cf8c
mov dl, 1
mov eax, dword [0x43bd3c]
call fcn.0044affc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406ca8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x51cf7b
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.004a3b40
test al, al
je 0x51cf6e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x51cfbc
lea eax, [ebp - 0x394]
call fcn.004201f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x51cf6e
xor eax, eax
push ebp
push 0x51cf67
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x51d02c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x51cf50
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407990
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x51cf50
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cf6e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x51ce71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044af38
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cfb2
lea eax, [ebp - 0x3a0]
call fcn.00406ca8
ret

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

Disassembly:
push ecx
mov eax, dword [0x648308]
cmp byte [eax + 0xb1], 0
jne 0x51dbd6
cmp dword [0x648328], 0
jne 0x51db96
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x63df18]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x648328], eax
cmp dword [0x648324], 0
jne 0x51dbb1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x648324], eax
cmp dword [0x64832c], 0
jne 0x51dbd6
push esp
push 0
push 0
mov eax, dword [0x63df14]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x64832c], eax
pop edx
ret
Function at 0x51def0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x51df07
add esp, 0xfffffff0
call fcn.00405668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00455a38
mov eax, dword [0x641994]
cmp byte [eax], 0
jne 0x51df34
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x64209c]
cmp word [eax + 2], 0
jne 0x51df4e
mov eax, dword [0x64209c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005200e4
mov eax, dword [0x642300]
cmp word [eax + 2], 0
jne 0x51df68
mov eax, dword [0x642300]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005202e8
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x465cb8]
call fcn.0046c0d4
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x520860
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46a810]
call fcn.00475a6c
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x51e14c
mov eax, dword [0x641de4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00475efc
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x520b48
mov dl, 1
mov eax, dword [0x4385c8]
call fcn.0040502c
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x641de4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041ffec
test eax, eax
je 0x51e07c
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041fd48
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041ffd0
test eax, eax
je 0x51e094
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407990
push ebx
push 0x51fabc
call fcn.00513aa8
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x641994]
cmp byte [eax], 0
jne 0x51e0e5
mov eax, ebx
call fcn.0051e30c
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00520d90
mov eax, ebx
call fcn.005219bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x51e142
call fcn.004056c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51e644
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x51e6f0
cmp dword [ebx + 0x98], 0
jne 0x51e6ea
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x51e57c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x51e6ea
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x51e6b0
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x51e6ea
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.004469d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x51e6bf
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x51e910
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x648308]
cmp dword [eax + 0x178], 0
je 0x51ea75
test bl, bl
jne 0x51e9c3
cmp dword [esi + 0xa0], 0
jne 0x51e9b8
mov eax, esi
call fcn.0052180c
push eax
push 0x51e81c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x51e989
mov eax, dword [0x648308]
cmp byte [eax + 0xd7], 0
je 0x51e989
mov eax, dword [esi + 0xdc]
call fcn.00408af0
mov edi, eax
cmp edi, 0
jl 0x51e989
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x51e972
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x51e9b8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004469d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x51e998
inc dword [esi + 0xa0]
jmp 0x51ea75
cmp dword [esi + 0xa0], 0
jle 0x51ea75
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x51ea75
cmp dword [esi + 0x48], 0
je 0x51ea20
mov eax, dword [0x648308]
cmp byte [eax + 0xd7], 0
je 0x51ea20
mov eax, dword [esi + 0xdc]
call fcn.00408af0
mov edi, eax
cmp edi, 0
jl 0x51ea20
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x51ea09
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x51ea4f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004469d0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x51ea2f
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x510448]
call fcn.00408c9c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x51f6c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x51f733
cmp byte [ebx + 0xd7], 0
jne 0x51f733
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406e30
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x51f720
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x51f740
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407088
jmp 0x51f740
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407088
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x520f78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x520fe6
mov eax, esi
call fcn.0049db18
test al, al
je 0x520fe6
mov eax, dword [ebx + 0x88]
call fcn.0049d764
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x520fe6
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x520fda
push 0
mov eax, dword [ebx + 0x88]
call fcn.0049d764
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00494548
jmp 0x520fe6
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00520db0
pop esi
pop ebx
ret
Function at 0x5279a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x527a22
mov eax, dword [ebx + 8]
call fcn.0049d764
mov ecx, eax
mov dl, 1
mov eax, dword [0x4ab088]
call fcn.00497b50
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004b0858
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5272a0
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0049d764
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0049d764
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x527a98
mov eax, dword [ebx + 8]
call fcn.0049d764
mov ecx, eax
mov dl, 1
mov eax, dword [0x4ab088]
call fcn.00497b50
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004b0858
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5272ec
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d764
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d764
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x527b04
mov eax, dword [ebx + 8]
call fcn.0049d764
mov ecx, eax
mov dl, 1
mov eax, dword [0x4abac4]
call fcn.00497b50
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0049d764
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0049d764
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x53cb68
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x53cc90
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0053ca54
mov eax, dword [esi]
call fcn.00408ae8
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4192b8]
call fcn.00408c9c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004047b4
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004047b4
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408ae8
mov dword [ebp - 0xc], eax
mov eax, dword [0x642584]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0052bc3c
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404b70
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408ae8
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0052bc18
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0052b9d0
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0052bc34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cc97
lea eax, [ebp - 4]
mov edx, dword [0x4192b8]
call fcn.00408dc0
ret

Function at 0x55afe8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x55b039
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x55b020
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x55b010
jmp 0x55b039
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x55b021
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x580f84
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407a68
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x580fa9
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004078d4
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x580fc8
mov eax, ebx
mov edx, dword [esp]
call fcn.00407a68
pop ecx
pop edx
pop ebx
ret
Function at 0x5bde94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5bdeac
add esp, 0xfffffff0
call fcn.00405668
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5bdfc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004045bc
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5bdfb0
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004b46e8
xor eax, eax
push ebp
push 0x5bdf9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004b46e8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004079cc
jmp 0x5bdf6e
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407cf8
mov eax, dword [ebx + 4]
call fcn.00407198
dec eax
jle 0x5bdf82
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5bdf5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdfa4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bdfcd
lea eax, [ebp - 4]
call fcn.00406cf0
ret
Function at 0x5c9e14
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcdc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x324], edx
mov dword [ebp - 0x320], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5c9f65
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5c9e60
cmp dword [ebp - 0x10c], 1
je 0x5c9e64
xor ebx, ebx
jmp 0x5c9e66
mov bl, 1
mov dl, 1
mov eax, dword [0x45ff4c]
call fcn.00461098
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c9f40
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00461180
test bl, bl
je 0x5c9ea3
mov edx, 0x5c9f80
mov eax, dword [ebp - 4]
call fcn.0046140c
jmp 0x5c9eb0
mov edx, 0x5c9fe0
mov eax, dword [ebp - 4]
call fcn.0046140c
lea ecx, [ebp - 0x320]
mov edx, 0x5ca048
mov eax, dword [ebp - 4]
call fcn.00461c94
mov edx, dword [ebp - 0x320]
lea eax, [esi + 0x1c]
call fcn.00407088
lea ecx, [ebp - 0x324]
mov edx, 0x5ca074
mov eax, dword [ebp - 4]
call fcn.00461c94
mov edx, dword [ebp - 0x324]
lea eax, [esi + 0x20]
call fcn.00407088
mov eax, dword [ebp - 4]
call fcn.00461150
cmp dword [esi + 0x1c], 0
jne 0x5c9f2a
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x31c]
push eax
call sub.advapi32.dll_GetUserNameW
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x31c]
mov ecx, pe_nt_image_headers32
call fcn.00407990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c9f47
mov eax, dword [ebp - 4]
call fcn.0040505c
ret
Function at 0x5d0a2c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5d0a5a
mov eax, ebx
call fcn.005d14e8
cmp dword [ebx + 0x40], 0
je 0x5d0a53
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5d0acb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5d0abd
cmp dword [ebx + 8], 0
je 0x5d0a7c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5d0a8e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5d0abd
cmp dword [ebx + 8], 0
je 0x5d0a6f
cmp eax, 3
je 0x5d0aa1
dec eax
jne 0x5d0a6f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5d0a6f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5d0a6f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5d0ae9
cmp dword [ebx + 0x14], 0xcc
je 0x5d0ae9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005d0af4
pop ebx
ret