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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4728aa
add esp, 0xfffffff0
call fcn.00404b74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004234e0
mov eax, dword [0x54dca0]
mov dword [eax + 4], ebx
mov dword [eax], 0x472c3c
mov eax, dword [0x54dcb8]
mov dword [eax + 4], ebx
mov dword [eax], 0x472c48
mov eax, ebx
call fcn.00472c54
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
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, 0x46e6ec
push eax
push 0
push 0
mov eax, dword [0x54dfb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42876c]
call fcn.00429fc0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42876c]
call fcn.00429fc0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42876c]
call fcn.00429fc0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00473084
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472f54
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472f54
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472f54
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4729e7
call fcn.00404bcc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x472d38
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 0x472ee3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x472ec4
mov dl, 1
mov eax, dword [0x419fb4]
call fcn.00404820
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405750
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x472eb3
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.0046440c
test al, al
je 0x472ea6
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, 0x472ef4
lea eax, [ebp - 0x254]
call fcn.0040bdbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x472ea6
xor eax, eax
push ebp
push 0x472e9f
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 0x472f2c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x472e88
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004059d0
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 0x472e88
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004059d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472ea6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x472da9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041eb04
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 0x472eea
lea eax, [ebp - 0x260]
call fcn.00405750
ret

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

Disassembly:
push ecx
mov eax, dword [0x5525b8]
cmp byte [eax + 0xad], 0
jne 0x4738cd
cmp dword [0x5525d0], 0
jne 0x47388e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x473818
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5525d0], eax
cmp dword [0x5525cc], 0
jne 0x4738a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5525cc], eax
cmp dword [0x5525d4], 0
jne 0x4738cd
push esp
push 0
push 0
push 0x4737bc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5525d4], eax
pop edx
ret
Function at 0x473aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x473ab7
add esp, 0xfffffff0
call fcn.00404b74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004234e0
mov eax, dword [0x54df80]
cmp word [eax + 2], 0
jne 0x473adf
mov eax, dword [0x54df80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004755f8
mov eax, dword [0x54e124]
cmp word [eax + 2], 0
jne 0x473af9
mov eax, dword [0x54e124]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00475804
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419948]
call fcn.00404820
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42927c]
call fcn.004311f4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x473cb0
mov eax, dword [0x54dda0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004315c8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x475ed4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x54dda0]
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.0040fe64
test eax, eax
je 0x473c00
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b398
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040fe98
test eax, eax
je 0x473c14
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004059d0
mov byte [ebx + 0xd4], 0
push ebx
push 0x475140
call fcn.0042465c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x54daac]
cmp byte [eax], 0
jne 0x473c65
mov eax, ebx
call fcn.00473df4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004760b0
mov eax, ebx
call fcn.00476c10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x473ca5
call fcn.00404bcc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474074
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5525b8]
cmp dword [eax + 0x30], 0
je 0x47411e
cmp dword [ebx + 0x94], 0
jne 0x474118
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x474004
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x474118
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 0x4740de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x474118
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.0041c044
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4740ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x474e38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x474e6d
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.00405840
jmp 0x474e7a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004057a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x476294
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x476302
mov eax, esi
call fcn.0045f040
test al, al
je 0x476302
mov eax, dword [ebx + 0x84]
call fcn.0045eca0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x476302
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4762f6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045eca0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00457088
jmp 0x476302
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004760d0
pop esi
pop ebx
ret
Function at 0x484430
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x545da8], 0
mov eax, dword [0x54e424]
cmp dword [eax], 2
jne 0x484609
mov eax, dword [0x54ddac]
cmp dword [eax], 5
jl 0x484609
call fcn.0047c04c
test al, al
jne 0x484461
call fcn.0047c058
call fcn.0047c044
mov dword [0x545db0], eax
push 0x48460c
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d74], eax
cmp dword [0x545d74], 0
jne 0x4844bc
mov edx, 0x8000
mov eax, 0x484620
call fcn.00410d5c
mov dword [0x545dac], eax
mov eax, dword [0x545dac]
mov dword [0x545db0], eax
push 0x48460c
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d74], eax
cmp dword [0x545d74], 0
je 0x484604
push 0x48462c
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d78], eax
cmp dword [0x545d78], 0
je 0x484604
push 0x484638
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d7c], eax
cmp dword [0x545d7c], 0
je 0x484604
mov byte [0x545da8], 1
push 0x484648
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d80], eax
push 0x484654
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d84], eax
push 0x484660
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d88], eax
push 0x484670
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d8c], eax
push 0x484680
mov eax, dword [0x545db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d90], eax
mov edx, 0x8000
mov eax, 0x484698
call fcn.00410d5c
mov dword [0x545db4], eax
cmp dword [0x545db4], 0
je 0x484609
push 0x4846a8
mov eax, dword [0x545db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d94], eax
push 0x4846c4
mov eax, dword [0x545db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d98], eax
push 0x4846e4
mov eax, dword [0x545db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545d9c], eax
push 0x484700
mov eax, dword [0x545db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545da0], eax
push 0x484718
mov eax, dword [0x545db4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x545da4], eax
ret
call fcn.004843b0
ret

Function at 0x4aed04
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0045f040
test al, al
je 0x4aed66
cmp bl, 7
jne 0x4aed3b
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4aed40
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
test eax, eax
je 0x4aed66
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
push edi
push 0
push 0x100f
push eax
call sub.user32.dll_SendMessageA
mov byte [esi + 0x268], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4bbdd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov al, byte [ebp - 9]
dec eax
test eax, eax
jl 0x4bbe23
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx*8]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
lea edx, [edx + ecx*8]
mov ecx, dword [ebp - 0x14]
xor byte [edx + ecx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x4bbdfd
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4bbde8
mov esp, ebp
pop ebp
ret
Function at 0x4bc514
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x200]
push ecx
mov ecx, 0x78
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x80
je 0x4bc550
sub eax, 0x40
je 0x4bc559
sub eax, 0x40
je 0x4bc562
jmp 0x4bc56b
mov dword [ebp - 0x18], 4
jmp 0x4bc577
mov dword [ebp - 0x18], 6
jmp 0x4bc577
mov dword [ebp - 0x18], 8
jmp 0x4bc577
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x4bc66a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
setge al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004bbd58
sub eax, 0x80
je 0x4bc59e
sub eax, 0x40
je 0x4bc5a7
sub eax, 0x40
je 0x4bc5b0
jmp 0x4bc5b9
mov dword [ebp - 0x1c], 0xa
jmp 0x4bc5c5
mov dword [ebp - 0x1c], 0xc
jmp 0x4bc5c5
mov dword [ebp - 0x1c], 0xe
jmp 0x4bc5c5
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x4bc66a
mov cl, byte [ebp - 0x18]
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jle 0x4bc630
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 1
mov cl, byte [ebp - 0x18]
mov edx, str.cw
mov eax, dword [ebp - 4]
call fcn.004bbee8
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004bbe30
mov dl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004bbf4c
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x14]
shl eax, 2
lea edx, [ebp + eax*8 - 0x200]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4bc5e8
mov cl, byte [ebp - 0x18]
mov edx, str.cw
mov eax, dword [ebp - 4]
call fcn.004bbee8
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004bbe30
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, 2
lea edx, [ebp + eax*8 - 0x200]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bc678
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe04
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1fc]
push ecx
mov ecx, 0x78
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x80
je 0x4bc6b4
sub eax, 0x40
je 0x4bc6bd
sub eax, 0x40
je 0x4bc6c6
jmp 0x4bc6cf
mov dword [ebp - 0x18], 4
jmp 0x4bc6db
mov dword [ebp - 0x18], 6
jmp 0x4bc6db
mov dword [ebp - 0x18], 8
jmp 0x4bc6db
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x4bc7c9
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
setge al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004bbd58
sub eax, 0x80
je 0x4bc702
sub eax, 0x40
je 0x4bc70b
sub eax, 0x40
je 0x4bc714
jmp 0x4bc71d
mov dword [ebp - 0x1c], 0xa
jmp 0x4bc729
mov dword [ebp - 0x1c], 0xc
jmp 0x4bc729
mov dword [ebp - 0x1c], 0xe
jmp 0x4bc729
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x4bc7c9
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, 2
lea edx, [ebp + eax*8 - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
mov cl, byte [ebp - 0x18]
mov edx, 0x546294
mov eax, dword [ebp - 4]
call fcn.004bbee8
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004bbe30
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
jl 0x4bc7b3
mov dword [ebp - 0x14], eax
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x14]
shl eax, 2
lea edx, [ebp + eax*8 - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
mov dl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004bc064
mov cl, byte [ebp - 0x18]
mov edx, 0x546294
mov eax, dword [ebp - 4]
call fcn.004bbee8
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.004bbe30
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jne 0x4bc76a
mov cl, byte [ebp - 0x18]
lea edx, [ebp - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.004bbdd4
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bccbc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408c24]
call fcn.004062a4
xor eax, eax
push ebp
push 0x4bce5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x546424], 0
jne 0x4bcd17
mov ecx, dword [0x54dadc]
mov dl, 1
mov eax, dword [0x409040]
call fcn.0040ef98
call fcn.004050c4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004039a8
mov eax, ebx
call fcn.004060f4
mov dword [ebp - 0x24], eax
mov esi, 0x4bce6c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407580
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406104
test eax, eax
jle 0x4bce00
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4bcdec
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059d0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4bcd92
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004059e8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4bcda8
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004059e8
mov eax, dword [ebp - 0x54]
call fcn.00405c24
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059d0
mov eax, dword [ebp - 0x58]
call fcn.00405c24
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4bcdee
xor eax, eax
test al, al
je 0x4bcdf9
mov ebx, 0x15
jmp 0x4bce05
mov ebx, 0x10
jmp 0x4bce05
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x546424]
call fcn.004bcb40
mov eax, dword [ebp - 4]
call fcn.004bcb40
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bce64
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405774
lea eax, [ebp - 0xc]
mov edx, dword [0x408c24]
call fcn.00406374
ret
Function at 0x4be514
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00406284
xor eax, eax
push ebp
push 0x4be586
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004060f4
push eax
push 0
call sub.netapi32.dll_NetUserGetLocalGroups
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4be570
mov eax, dword [ebp - 0xc]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be58d
lea eax, [ebp - 4]
call fcn.00405f94
ret
Function at 0x4c20b4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c213d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4c2117
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x88]
mov ecx, 0x80
call fcn.004059d0
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 4]
call fcn.0040a154
jmp 0x4c2124
mov eax, dword [ebp - 4]
mov edx, 0x4c2150
call fcn.004057a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2144
lea eax, [ebp - 0x8c]
call fcn.00405750
ret

Function at 0x4c2158
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4c21fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004031e8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040aff8
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4c21d9
lea eax, [ebp - 0x14]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405c84
mov eax, dword [ebp - 0x14]
mov edx, 0x4c2214
call fcn.00405b70
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x4c21d9
mov eax, dword [ebp - 8]
call fcn.00405c24
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2203
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405774
lea eax, [ebp - 8]
call fcn.00405750
ret

Function at 0x4c2264
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0x104
call fcn.0040b5c4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c22da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 0x104
call fcn.004039a8
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4c22bc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405958
jmp 0x4c22c4
mov eax, dword [ebp - 8]
call fcn.00405750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c22e1
mov eax, dword [ebp - 0xc]
call fcn.0040b610
ret