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

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x49cccc]
cmp esi, dword [eax + 0x30]
jne 0x450edf
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x450f0e
mov eax, dword [0x49cccc]
cmp esi, dword [eax + 0x30]
jne 0x450f0a
mov eax, dword [0x49cccc]
cmp byte [eax + 0x5b], 0
jne 0x450f0e
xor eax, eax
jmp 0x450f10
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x450f25
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x450f3c
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x450f4b
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x450f5a
test bl, bl
je 0x450f70
test bl, bl
je 0x450f68
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x450f70
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x451214
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 0x45123a
mov eax, esp
push eax
push 0x4511dc
call sub.user32.dll_EnumWindows
jmp 0x45124d
mov eax, esp
push eax
push 0x4511bc
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 0x4512f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x451348]
test si, 4
je 0x451309
or bl, 1
test si, 8
je 0x451313
or bl, 4
test si, 1
je 0x45131d
or bl, 8
test si, 2
je 0x451327
or bl, 0x10
test si, 0x10
je 0x451331
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451340
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45134c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x451388]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451366
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451375
or bl, 4
test esi, 0x20000000
je 0x451380
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459254
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459266
add esp, 0xfffffff0
call fcn.00403f64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b188
mov eax, dword [0x4972dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4595f8
mov eax, dword [0x4972e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x459604
mov eax, ebx
call fcn.00459610
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
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, 0x454cc0
push eax
push 0
push 0
mov eax, dword [0x497464]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420d9c]
call fcn.00422648
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420d9c]
call fcn.00422648
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420d9c]
call fcn.00422648
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459a40
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459910
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459910
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459910
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4593a3
call fcn.00403fbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4596f4
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 0x45989f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459880
mov dl, 1
mov eax, dword [0x41314c]
call fcn.00403c10
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ab0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45986f
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.0044bb94
test al, al
je 0x459862
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, 0x4598b0
lea eax, [ebp - 0x254]
call fcn.004098bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459862
xor eax, eax
push ebp
push 0x45985b
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 0x4598e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459844
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d20
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 0x459844
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459862
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459765
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416f34
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 0x4598a6
lea eax, [ebp - 0x260]
call fcn.00404ab0
ret

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

Disassembly:
push ecx
mov eax, dword [0x49cccc]
cmp byte [eax + 0xad], 0
jne 0x45a289
cmp dword [0x49cce8], 0
jne 0x45a24a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a1d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49cce8], eax
cmp dword [0x49cce4], 0
jne 0x45a265
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49cce4], eax
cmp dword [0x49ccec], 0
jne 0x45a289
push esp
push 0
push 0
push 0x45a178
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49ccec], eax
pop edx
ret
Function at 0x45a45c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a473
add esp, 0xfffffff0
call fcn.00403f64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b188
mov eax, dword [0x49744c]
cmp word [eax + 2], 0
jne 0x45a49b
mov eax, dword [0x49744c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c0b4
mov eax, dword [0x49750c]
cmp word [eax + 2], 0
jne 0x45a4b5
mov eax, dword [0x49750c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c2c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412d28]
call fcn.00403c10
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 [0x4218ac]
call fcn.00429824
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45a66c
mov eax, dword [0x497358]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429bf8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c984
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x497358]
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.0040d1c8
test eax, eax
je 0x45a5bc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409274
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1fc
test eax, eax
je 0x45a5d0
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.00404d20
mov byte [ebx + 0xd4], 0
push ebx
push 0x45bbdc
call fcn.0041c304
mov dword [ebx + 0xc8], eax
mov eax, dword [0x497210]
cmp byte [eax], 0
jne 0x45a621
mov eax, ebx
call fcn.0045a7b0
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.0045cb5c
mov eax, ebx
call fcn.0045d6c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a661
call fcn.00403fbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45aa30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45aacf
cmp dword [ebx + 0x94], 0
jne 0x45aac9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a9b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45aac9
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 0x45aa8f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45aac9
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.00415100
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45aa9e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49cccc]
cmp dword [eax + 0x30], 0
je 0x45ae45
test bl, bl
jne 0x45ad96
cmp dword [esi + 0x9c], 0
jne 0x45ad8b
mov eax, esi
call fcn.0045d53c
push eax
push 0x45ac14
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45ad5c
mov eax, dword [0x49cccc]
call fcn.0045dc1c
test al, al
je 0x45ad5c
mov eax, dword [0x49ccf0]
call fcn.004059b8
mov edi, eax
cmp edi, 0
jl 0x45ad5c
push 0
mov eax, dword [0x49ccf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45ad46
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45ad8b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415100
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45ad6b
inc dword [esi + 0x9c]
jmp 0x45ae45
cmp dword [esi + 0x9c], 0
jle 0x45ae45
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45ae45
cmp dword [esi + 0x44], 0
je 0x45adf1
mov eax, dword [0x49cccc]
call fcn.0045dc1c
test al, al
je 0x45adf1
mov eax, dword [0x49ccf0]
call fcn.004059b8
mov edi, eax
cmp edi, 0
jl 0x45adf1
push 5
mov eax, dword [0x49ccf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45addb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45ae20
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415100
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45ae00
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49ccf0
mov ecx, 1
mov edx, dword [0x45abf4]
call fcn.00405b6c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45b8d8
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 0x45b942
mov eax, ebx
call fcn.0045dc1c
test al, al
jne 0x45b942
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.00404ba0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45b92f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45b94f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b04
jmp 0x45b94f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b04
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45cd40
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cdae
mov eax, esi
call fcn.0044690c
test al, al
je 0x45cdae
mov eax, dword [ebx + 0x84]
call fcn.00446588
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cdae
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45cda2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446588
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043e510
jmp 0x45cdae
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045cb7c
pop esi
pop ebx
ret

Function at 0x460ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004237dc
cmp ebx, dword [ebp - 8]
jge 0x460f4b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423b78
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423b78
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423ba4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x460f11
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x460f54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004237dc
cmp ebx, dword [ebp - 8]
jge 0x460fb7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423b78
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423b78
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423ba4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x460f7d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46f704
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00404d70
mov edx, eax
mov eax, ebp
call fcn.004051d0
mov eax, dword [esp]
call fcn.00404d70
mov edi, eax
test edi, edi
jle 0x46f769
mov ebx, 1
mov eax, ebp
call fcn.00404fa0
mov edx, dword [esp]
movzx edx, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x46f734
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46f770
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00404d70
mov edx, eax
mov eax, dword [esp]
call fcn.004051d0
mov eax, edi
call fcn.00404d70
mov ebp, eax
test ebp, ebp
jle 0x46f7cf
mov ebx, 1
mov eax, dword [esp]
call fcn.00404fa0
movzx edx, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
movzx eax, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x46f79f
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47eeb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47eee6
mov eax, ebx
call fcn.0047f96c
cmp dword [ebx + 0x40], 0
je 0x47eedf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47ef57
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47ef49
cmp dword [ebx + 8], 0
je 0x47ef08
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 0x47ef1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47ef49
cmp dword [ebx + 8], 0
je 0x47eefb
cmp eax, 3
je 0x47ef2d
dec eax
jne 0x47eefb
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 0x47eefb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47eefb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47ef75
cmp dword [ebx + 0x14], 0xcc
je 0x47ef75
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.0047ef80
pop ebx
ret
Function at 0x4b8a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
jmp 0x4b8aaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8aa0
mov eax, 1
add ebx, ebx
jne 0x4b8ac3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8ad4
jne 0x4b8af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8af3
dec eax
add ebx, ebx
jne 0x4b8ae0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8ab8
add ebx, ebx
jne 0x4b8aef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8b45
xor ecx, ecx
sub eax, 3
jb 0x4b8b0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b8b7a
sar eax, 1
mov ebp, eax
jmp 0x4b8b16
add ebx, ebx
jne 0x4b8b16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ae4
inc ecx
add ebx, ebx
jne 0x4b8b24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ae4
add ebx, ebx
jne 0x4b8b31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8b26
jne 0x4b8b42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8b26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8b64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8b56
jmp 0x4b8aa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8b64
add edi, ecx
jmp 0x4b8aa6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8b82
cmp byte [edi], 0x11
jne 0x4b8b82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b8b87
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x4b8bff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc0344]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0498]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8bb4
mov ecx, edi
jns 0x4b8be3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc049c]
or eax, eax
je 0x4b8bf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8bd1
call dword [esi + 0xc04ac]
mov ebp, dword [esi + 0xc04a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b8c33
sub esp, 0xffffff80
jmp 0x416310
Function at 0x40407d
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
cmp dword [0x40f6b8], 2
push esi
push edi
jne 0x40416e
push str.advapi32.dll
xor edi, edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x4040b6
push str.GetUserNameW
push eax
call fcn.007b1980
nop
mov esi, eax
cmp esi, edi
mov dword [ebp - 4], 0x208
je 0x40416e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
test eax, eax
je 0x40416e
cmp word [ebp - 0x21c], di
lea eax, [ebp - 0x21c]
je 0x404163
push ebx
jmp 0x4040ef
mov eax, dword [ebp - 8]
movzx ebx, word [eax]
inc eax
inc eax
cmp ebx, 0x20
mov dword [ebp - 8], eax
jne 0x404102
push 0x5f
pop ebx
cmp ebx, 0x20
jl 0x404126
cmp ebx, 0x7e
jg 0x404126
push ebx
push str._:___
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
jne 0x404126
and byte [ebp - 0x13], al
push 1
mov byte [ebp - 0x14], bl
pop eax
jmp 0x404139
push ebx
lea eax, [ebp - 0x14]
push str.__x_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea esi, [eax + edi]
lea ecx, [esi + 1]
cmp ecx, dword [ebp + 0xc]
jae 0x404159
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
add edi, eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edi, esi
mov eax, dword [ebp - 8]
cmp word [eax], 0
jne 0x4040ec
pop ebx
mov eax, dword [ebp + 8]
and byte [edi + eax], 0
mov eax, edi
jmp 0x40418f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x404188
and byte [esi], al
push esi
call sub.MSVCRT.dll_strlen
pop ecx
pop edi
pop esi
leave
ret
Function at 0x7b4158
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x7b41b3
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x7b4178
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x7b9542
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
leave
add dword [esp], 0xffffff33
xchg dword [esp], edx
pushfd
add ebp, 0x57
popfd
lea ebp, [ebp - 0x57]
xchg dword [esp + 4], edx
push ebp
mov ebp, esp
leave
xchg dword [esp], edx
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0xb]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
popfd
push esi
mov esi, dword [esp + 0xe]
pop esi
jmp fcn.007b4158