joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454bb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov edi, eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
mov esi, eax
test bl, bl
je 0x454bd9
test esi, 0x40000
je 0x454bf3
test bl, bl
jne 0x454c8d
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x454c8d
push edi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x454c26
mov eax, dword [0x488ce4]
cmp edi, dword [eax + 0x30]
jne 0x454c22
mov eax, dword [0x488ce4]
cmp byte [eax + 0x5b], 0
jne 0x454c26
xor eax, eax
jmp 0x454c28
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x454c3f
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x454c54
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x454c63
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x454c74
cmp byte [esp + 2], 0
je 0x454c8d
cmp byte [esp + 2], 0
je 0x454c85
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x454c8d
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x454f30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x454f56
mov eax, esp
push eax
push 0x454ef8
call sub.user32.dll_EnumWindows
jmp 0x454f69
mov eax, esp
push eax
push 0x454ed8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x454ff4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x455048]
test si, 4
je 0x455009
or bl, 1
test si, 8
je 0x455013
or bl, 4
test si, 1
je 0x45501d
or bl, 8
test si, 2
je 0x455027
or bl, 0x10
test si, 0x10
je 0x455031
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455040
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45504c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x455088]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455066
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455075
or bl, 4
test esi, 0x20000000
je 0x455080
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d0f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45d106
add esp, 0xfffffff0
call fcn.00403ed4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b384
mov eax, dword [0x4833c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d498
mov eax, dword [0x4833cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d4a4
mov eax, ebx
call fcn.0045d4b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
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, 0x458958
push eax
push 0
push 0
mov eax, dword [0x483534]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42061c]
call fcn.00421e70
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42061c]
call fcn.00421e70
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42061c]
call fcn.00421e70
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d928
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d7f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d7f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d7f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d243
call fcn.00403f2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d5dc
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 0x45d787
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d768
mov dl, 1
mov eax, dword [0x412dc8]
call fcn.00403b80
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a90
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d757
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.0044ec48
test al, al
je 0x45d74a
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, 0x45d798
lea eax, [ebp - 0x254]
call fcn.0040989c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d74a
xor eax, eax
push ebp
push 0x45d743
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 0x45d7d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d72c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d00
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 0x45d72c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d74a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d64d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416afc
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 0x45d78e
lea eax, [ebp - 0x260]
call fcn.00404a90
ret

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

Disassembly:
push ecx
mov eax, dword [0x488ce4]
cmp byte [eax + 0xad], 0
jne 0x45e171
cmp dword [0x488d00], 0
jne 0x45e132
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e0bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x488d00], eax
cmp dword [0x488cfc], 0
jne 0x45e14d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x488cfc], eax
cmp dword [0x488d04], 0
jne 0x45e171
push esp
push 0
push 0
push 0x45e060
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x488d04], eax
pop edx
ret
Function at 0x45e374
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e38b
add esp, 0xfffffff0
call fcn.00403ed4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b384
mov eax, dword [0x483520]
cmp word [eax + 2], 0
jne 0x45e3b3
mov eax, dword [0x483520]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046007c
mov eax, dword [0x4835e0]
cmp word [eax + 2], 0
jne 0x45e3cd
mov eax, dword [0x4835e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460288
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4129a4]
call fcn.00403b80
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 [0x42112c]
call fcn.00428cc4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45e584
mov eax, dword [0x483430]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429098
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46095c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x483430]
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.0040d170
test eax, eax
je 0x45e4d4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409240
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1a4
test eax, eax
je 0x45e4e8
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.00404d00
mov byte [ebx + 0xd4], 0
push ebx
push 0x45faf0
call fcn.0041c500
mov dword [ebx + 0xc8], eax
mov eax, dword [0x483300]
cmp byte [eax], 0
jne 0x45e539
mov eax, ebx
call fcn.0045e6c8
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.00460b40
mov eax, ebx
call fcn.004616a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e579
call fcn.00403f2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e948
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45e9e7
cmp dword [ebx + 0x94], 0
jne 0x45e9e1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e8d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e9e1
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 0x45e9a7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e9e1
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.00414da4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e9b6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x488ce4]
cmp dword [eax + 0x30], 0
je 0x45ed5d
test bl, bl
jne 0x45ecae
cmp dword [esi + 0x9c], 0
jne 0x45eca3
mov eax, esi
call fcn.00461520
push eax
push 0x45eb2c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45ec74
mov eax, dword [0x488ce4]
call fcn.00461c00
test al, al
je 0x45ec74
mov eax, dword [0x488d08]
call fcn.00405998
mov edi, eax
cmp edi, 0
jl 0x45ec74
push 0
mov eax, dword [0x488d08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45ec5e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45eca3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414da4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45ec83
inc dword [esi + 0x9c]
jmp 0x45ed5d
cmp dword [esi + 0x9c], 0
jle 0x45ed5d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45ed5d
cmp dword [esi + 0x44], 0
je 0x45ed09
mov eax, dword [0x488ce4]
call fcn.00461c00
test al, al
je 0x45ed09
mov eax, dword [0x488d08]
call fcn.00405998
mov edi, eax
cmp edi, 0
jl 0x45ed09
push 5
mov eax, dword [0x488d08]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45ecf3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45ed38
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414da4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45ed18
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x488d08
mov ecx, 1
mov edx, dword [0x45eb0c]
call fcn.00405b4c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45f844
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45f8ae
mov eax, ebx
call fcn.00461c00
test al, al
jne 0x45f8ae
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.00404b80
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45f89b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45f8bb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae4
jmp 0x45f8bb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x460d24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460d92
mov eax, esi
call fcn.00449830
test al, al
je 0x460d92
mov eax, dword [ebx + 0x84]
call fcn.00449490
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460d92
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x460d86
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449490
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441304
jmp 0x460d92
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00460b60
pop esi
pop ebx
ret

Function at 0x464c08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x464c36
mov eax, ebx
call fcn.004656bc
cmp dword [ebx + 0x40], 0
je 0x464c2f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x464ca7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x464c99
cmp dword [ebx + 8], 0
je 0x464c58
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 0x464c6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x464c99
cmp dword [ebx + 8], 0
je 0x464c4b
cmp eax, 3
je 0x464c7d
dec eax
jne 0x464c4b
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 0x464c4b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x464c4b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x464cc5
cmp dword [ebx + 0x14], 0xcc
je 0x464cc5
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.00464cd0
pop ebx
ret
Function at 0x476244
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x48319c]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x4762ab
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x476271
cmp dword [ebp - 8], 0
je 0x4762fb
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x4762e6
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x4762f5
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4764a4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404d00
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x4764e3
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4764f8
mov eax, ebx
mov edx, 0x476508
call fcn.00404d5c
add esp, 0x10c
pop ebx
ret

Function at 0x47650c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404d00
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x47654b
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x476560
mov eax, ebx
mov edx, 0x476570
call fcn.00404d5c
add esp, 0x10c
pop ebx
ret
Function at 0x476eb8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x476ec1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f10
mov eax, dword [ebp - 8]
call fcn.00404f10
xor eax, eax
push ebp
push 0x477079
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 4]
call fcn.00409010
test al, al
jne 0x476f35
mov eax, dword [ebp - 8]
call fcn.00409010
test al, al
je 0x476f2c
push 0
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
mov eax, dword [ebp - 8]
call fcn.00404f20
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x476f35
mov byte [ebp - 0xd], 0
jmp 0x477051
mov dl, 1
mov eax, dword [0x412dc8]
call fcn.00403b80
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47704a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x476f98
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004761dc
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x20]
inc ebx
dec esi
jne 0x476f6f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, 0x477094
call fcn.0040506c
dec eax
je 0x47701e
mov eax, dword [ebp - 8]
call fcn.00409010
test al, al
je 0x47701e
push 0
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
mov eax, dword [ebp - 8]
call fcn.00404f20
push eax
call sub.kernel32.dll_CopyFileA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x47701e
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004761dc
mov ecx, dword [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x20]
inc ebx
dec esi
jne 0x476ff5
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00404ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477051
mov eax, dword [ebp - 0x14]
call fcn.00403bb0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477080
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404ab4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab4
ret
Function at 0x477340
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404d00
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x47737f
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x477394
mov eax, ebx
mov edx, 0x4773a4
call fcn.00404d5c
add esp, 0x10c
pop ebx
ret
Function at 0x478a38
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x478b32
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 1
lea eax, [ebp - 8]
push eax
push 0xf013f
push 0
push 0x478b44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x478a80
mov dword [ebp - 4], 0xffffffff
jmp 0x478b24
xor eax, eax
push ebp
push 0x478b1d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, 4
call fcn.00402e60
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x80
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x478b80
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478ad5
mov dword [ebp - 4], 0xfffffffe
call fcn.004044d0
jmp 0x478b24
cmp ebx, dword [ebp - 0x14]
je 0x478afe
mov dword [ebp - 0x10], ebx
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x478b80
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x478afe
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b24
mov eax, dword [ebp - 0xc]
call fcn.00402e7c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b39
ret

Function at 0x478e84
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x478ebc
mov eax, dword [esp]
call fcn.00478dec
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop ebx
ret