joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481a7c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x481a93
add esp, 0xfffffff0
call fcn.00403e68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423fd0
mov eax, dword [0x50e9d0]
cmp word [eax + 2], 0
jne 0x481abb
mov eax, dword [0x50e9d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004831fc
mov eax, dword [0x50eb64]
cmp word [eax + 2], 0
jne 0x481ad5
mov eax, dword [0x50eb64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004833f4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41863c]
call fcn.00403ad4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41863c]
call fcn.00403ad4
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], 0xff000018
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 [0x426604]
call fcn.0042e550
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x481c5c
mov eax, dword [0x50e800]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e920
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4839a4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50e800]
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.0040e210
test eax, eax
je 0x481bca
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e24
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e238
test eax, eax
je 0x481bde
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.00404b88
mov eax, dword [0x50e518]
cmp byte [eax], 0
jne 0x481c12
mov eax, ebx
call fcn.00481d84
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.00483b80
mov eax, ebx
call fcn.00484544
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x481c52
call fcn.00403ec0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482004
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50fbf4]
cmp dword [eax + 0x30], 0
je 0x4820ae
cmp dword [ebx + 0x94], 0
jne 0x4820a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x481f94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4820a8
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 0x48206e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4820a8
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.0041afe4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48207d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x482c10
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 0x482c45
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.00404a08
jmp 0x482c52
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040496c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x483d5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x483d9d
mov eax, esi
call fcn.00469cc0
test al, al
je 0x483d9d
mov eax, dword [ebx + 0x84]
call fcn.004699bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x483d9d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004699bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x484a5c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4179d4]
call fcn.00405418
xor eax, eax
push ebp
push 0x484ba0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50a2c8], 0
jne 0x484aaf
mov ecx, dword [0x50e560]
mov dl, 1
mov eax, dword [0x408260]
call fcn.0040d3fc
call fcn.004042d0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403258
mov eax, ebx
call fcn.004051bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x484bb0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004066bc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051cc
test eax, eax
jle 0x484b47
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x484b40
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ba0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b88
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004091ec
test eax, eax
jne 0x484b40
mov ebx, 0x15
jmp 0x484b4c
mov ebx, 0x10
jmp 0x484b4c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x50a2c8]
call fcn.004849b4
mov eax, dword [ebp - 8]
call fcn.004849b4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004066d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484ba7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040493c
lea eax, [ebp - 0x10]
mov edx, dword [0x4179d4]
call fcn.004054e8
ret

Function at 0x48837c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00487e1c
test byte [ebx + 0x23d], 4
jne 0x488411
mov edx, esp
mov eax, ebx
call fcn.00462b3c
push esp
mov eax, ebx
call fcn.004697b8
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4883b1
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4883e2
mov ecx, dword [0x50e92c]
mov dl, 1
mov eax, dword [0x484674]
call fcn.0040d3fc
call fcn.004042d0
mov eax, ebx
call fcn.00488950
cmp byte [ebx + 0x57], 0
jne 0x488418
mov eax, ebx
call fcn.004699bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x488418
push 0
mov eax, ebx
call fcn.004699bc
push eax
call sub.user32.dll_ShowWindow
jmp 0x488418
mov eax, ebx
call fcn.0046693c
add esp, 0x10
pop ebx
ret
Function at 0x4950bc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4950c4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4952b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4952cc
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040496c
lea ecx, [ebp - 0x10]
mov edx, 0x4952e0
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040496c
lea ecx, [ebp - 0x14]
mov edx, 0x4952f8
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040496c
lea ecx, [ebp - 0x18]
mov edx, 0x495314
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040496c
lea ecx, [ebp - 0x1c]
mov edx, 0x495330
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040496c
lea ecx, [ebp - 0x24]
mov edx, 0x495348
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040927c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004097c4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x495360
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x28]
call fcn.004915b8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x495370
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x2c]
call fcn.004915b8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x495388
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004097c4
inc eax
je 0x495259
lea ecx, [ebp - 0x34]
mov edx, 0x495388
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x34]
call fcn.00409788
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040af2c
fstp qword [ebp - 0x3c]
wait
call fcn.0040b340
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x495274
lea ecx, [ebp - 0x40]
mov edx, 0x495388
mov eax, esi
call fcn.00492f48
mov eax, dword [ebp - 0x40]
call fcn.004915b8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x495398
mov eax, esi
call fcn.00492f48
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040496c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4952bd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040493c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040493c
ret
Function at 0x4a0c54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a0cae
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a0c44
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00490128
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0048fd28
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0cb5
lea eax, [ebp - 4]
call fcn.00404918
ret

Function at 0x4aff4c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4aff7a
mov eax, ebx
call fcn.004b0a00
cmp dword [ebx + 0x40], 0
je 0x4aff73
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4affeb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4affdd
cmp dword [ebx + 8], 0
je 0x4aff9c
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 0x4affae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4affdd
cmp dword [ebx + 8], 0
je 0x4aff8f
cmp eax, 3
je 0x4affc1
dec eax
jne 0x4aff8f
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 0x4aff8f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4aff8f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b0009
cmp dword [ebx + 0x14], 0xcc
je 0x4b0009
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.004b0014
pop ebx
ret

Function at 0x4c0df8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407c4c
ret

Function at 0x4c582c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4c5864]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c5842
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c5851
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c5860
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x4cf354
Capabilities:
Create http request

Disassembly:
push ebx
push esi
add esp, 0xffffffc8
mov esi, 0x14
mov dword [esp], 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 2
mov eax, 0x4cf3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x4cf3ec
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x4cf3e8
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [esp + 4]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
add esp, 0x38
pop esi
pop ebx
ret

Function at 0x4cf53c
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403258
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x4cf56a
mov al, 1
jmp 0x4cf56c
xor eax, eax
add esp, 0xc
ret
Function at 0x4dde78
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc8
xor eax, eax
push ebp
push 0x4ddfa9
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004c720c
mov ebx, eax
test ebx, ebx
je 0x4ddf83
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004c722c
jmp 0x4ddf6f
lea edx, [ebp - 0x138]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409c64
push dword [ebp - 0x134]
push 0x4ddfc0
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404b88
push dword [ebp - 0x13c]
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00404c98
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
call fcn.00404d24
jne 0x4ddf62
mov eax, dword [ebp - 0x124]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004c724c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ddedd
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddfb0
lea eax, [ebp - 0x13c]
mov edx, 4
call fcn.0040493c
lea eax, [ebp - 4]
call fcn.00404918
ret
Function at 0x4ddfc4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4ddfcc
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4de20d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402b4c
test eax, eax
jle 0x4de06a
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00402bac
mov eax, dword [ebp - 0xc]
call fcn.00409b88
test al, al
je 0x4de06a
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.00402bac
mov eax, dword [ebp - 0x10]
call fcn.004dde78
push 0x30
push 0x4de21c
push 0x4de224
push 0
call sub.user32.dll_MessageBoxA_1
push 0xbb8
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00402bac
mov eax, dword [ebp - 0x14]
call fcn.00409b98
push 0x34
push 0x4de21c
push 0x4de240
push 0
call sub.user32.dll_MessageBoxA_1
cmp eax, 6
jne 0x4de06a
call fcn.004e07b4
lea edx, [ebp - 0x1c]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409c64
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4de264
call fcn.00404c24
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43a9e4]
call fcn.0043aa94
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4de280
mov edx, 0x4de290
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov eax, ebx
call fcn.00403b04
lea edx, [ebp - 0x28]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409c64
push dword [ebp - 0x24]
push 0x4de2a4
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c98
mov eax, dword [ebp - 0x20]
call fcn.00409b88
test al, al
je 0x4de1f2
lea edx, [ebp - 0x34]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00409c64
push dword [ebp - 0x30]
push 0x4de2a4
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404c98
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00404d24
je 0x4de1f2
push 1
push 0
push 0x4de2b0
lea edx, [ebp - 0x40]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
push dword [ebp - 0x40]
push 0x4de2b0
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404c98
mov eax, dword [ebp - 0x3c]
call fcn.00404dd8
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.0048370c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409c64
push dword [ebp - 0x48]
push 0x4de2a4
push dword [ebp - 8]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404c98
mov eax, dword [ebp - 0x44]
call fcn.00404dd8
push eax
push 0x4de2b4
mov eax, dword [0x510108]
call fcn.004699bc
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
call fcn.00409b98
mov eax, dword [0x50eb18]
mov eax, dword [eax]
call fcn.004831e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de214
lea eax, [ebp - 0x4c]
mov edx, 0x13
call fcn.0040493c
ret
Function at 0x4e11c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e12c3
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.user32.dll_GetClientRect
push 0
call sub.user32.dll_GetSystemMetrics
lea edx, [ebp - 4]
call fcn.0040964c
push 1
call sub.user32.dll_GetSystemMetrics
lea edx, [ebp - 8]
call fcn.0040964c
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x11c]
call fcn.00409fd4
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x14]
call fcn.0040964c
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
call fcn.00404d24
jne 0x4e1296
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x10]
call fcn.0040964c
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00404d24
jne 0x4e1296
mov edx, dword [ebp - 0xc]
mov eax, 0x4e12dc
call fcn.00404f1c
dec eax
jge 0x4e1296
mov bl, 1
jmp 0x4e1298
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e12ca
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.0040493c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040493c
ret
Function at 0x4ebfac
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404dc8
xor eax, eax
push ebp
push 0x4ec014
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x1505
mov eax, dword [ebp - 4]
call fcn.00404bd8
test eax, eax
jle 0x4ebff8
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
shl esi, 5
add ebx, esi
add ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4ebfe1
and ebx, 0x7fffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec01b
lea eax, [ebp - 4]
call fcn.00404918
ret

Function at 0x5076f4
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5077a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, 0x5077b4
call fcn.004049b0
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404dd8
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x507781
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
jmp 0x50778b
mov eax, 0x5077d0
call fcn.00434608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5077a8
lea eax, [ebp - 0x18]
call fcn.00404918
ret
Function at 0x401bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41eba9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00402210
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
push 0x42621c
mov ecx, dword [ebp - 0x10]
call fcn.0041a046
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret