joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454bf4
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 0x454c1a
mov eax, esp
push eax
push 0x454bbc
call sub.user32.dll_EnumWindows
jmp 0x454c2d
mov eax, esp
push eax
push 0x454b9c
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 0x454cb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454d0c]
test si, 4
je 0x454ccd
or bl, 1
test si, 8
je 0x454cd7
or bl, 4
test si, 1
je 0x454ce1
or bl, 8
test si, 2
je 0x454ceb
or bl, 0x10
test si, 0x10
je 0x454cf5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d04
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x454d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454d4c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d2a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454d39
or bl, 4
test esi, 0x20000000
je 0x454d44
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cdd4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cde6
add esp, 0xfffffff0
call fcn.00403fd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e2f8
mov eax, dword [0x488c20]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d178
mov eax, dword [0x488c2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d184
mov eax, ebx
call fcn.0045d190
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
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, 0x45861c
push eax
push 0
push 0
mov eax, dword [0x488d98]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4230d4]
call fcn.004249c8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4230d4]
call fcn.004249c8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4230d4]
call fcn.004249c8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d608
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d4d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d4d8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d4d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cf23
call fcn.00404028
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e054
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e06b
add esp, 0xfffffff0
call fcn.00403fd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e2f8
mov eax, dword [0x488d84]
cmp word [eax + 2], 0
jne 0x45e093
mov eax, dword [0x488d84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fd44
mov eax, dword [0x488e40]
cmp word [eax + 2], 0
jne 0x45e0ad
mov eax, dword [0x488e40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ff50
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416014]
call fcn.00403c7c
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 [0x423c84]
call fcn.0042bbf0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45e264
mov eax, dword [0x488c94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bfc4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460614
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x488c94]
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.0040d77c
test eax, eax
je 0x45e1b4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004097f8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d7b0
test eax, eax
je 0x45e1c8
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.00404d48
mov byte [ebx + 0xd4], 0
push ebx
push 0x45f7d0
call fcn.0041f474
mov dword [ebx + 0xc8], eax
mov eax, dword [0x488b50]
cmp byte [eax], 0
jne 0x45e219
mov eax, ebx
call fcn.0045e3a8
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.00460828
mov eax, ebx
call fcn.0046138c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e259
call fcn.00404028
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466324
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 [0x4078a0]
call fcn.00405548
xor eax, eax
push ebp
push 0x4664c5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487cf8], 0
jne 0x46637f
mov ecx, dword [0x488b60]
mov dl, 1
mov eax, dword [0x407e94]
call fcn.0040c9c4
call fcn.00404520
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035e0
mov eax, ebx
call fcn.00405418
mov dword [ebp - 0x24], eax
mov esi, 0x4664d4
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.004064e0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405428
test eax, eax
jle 0x466468
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 0x466454
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d48
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4663fa
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404d60
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x466410
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404d60
mov eax, dword [ebp - 0x54]
call fcn.00404f68
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d48
mov eax, dword [ebp - 0x58]
call fcn.00404f68
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x466456
xor eax, eax
test al, al
je 0x466461
mov ebx, 0x15
jmp 0x46646d
mov ebx, 0x10
jmp 0x46646d
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 [0x487cf8]
call fcn.004661a4
mov eax, dword [ebp - 4]
call fcn.004661a4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004064f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4664cc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404afc
lea eax, [ebp - 0xc]
mov edx, dword [0x4078a0]
call fcn.00405618
ret

Function at 0x46ccfc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x487eb4]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x46cd34
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x46cd4c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46cd45
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004035e0
xor edx, edx
mov eax, 0x4880b4
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x46cdb3
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x46cd6a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x46d00d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x46d006
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x46d01f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46d018
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0046cbec
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46d039
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.0046ccfc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x46d0c1
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x46d0df
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0046cc7c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x46d109
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x46d139
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46d132
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x46d14d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046caec
test bl, bl
jne 0x46d227
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x48ee30
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d185
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d19a
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cff4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x46d1cd
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x46d17a
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d1f1
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x46d203
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d218
jmp 0x46d2e8
cmp bl, 1
jne 0x46d2e8
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x48ee8a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d247
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d25c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cff4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x46d28f
sub ebx, 6
inc dword [ebp - 8]
jne 0x46d23c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x46d2b7
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46d2c9
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x46d2de
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cb6c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x47077c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4707aa
mov eax, ebx
call fcn.00471230
cmp dword [ebx + 0x40], 0
je 0x4707a3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47081b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47080d
cmp dword [ebx + 8], 0
je 0x4707cc
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 0x4707de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47080d
cmp dword [ebx + 8], 0
je 0x4707bf
cmp eax, 3
je 0x4707f1
dec eax
jne 0x4707bf
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 0x4707bf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4707bf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x470839
cmp dword [ebx + 0x14], 0xcc
je 0x470839
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.00470844
pop ebx
ret

Function at 0x482658
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4826c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
lea eax, [ebp - 4]
mov edx, 0xfe
call fcn.004051f8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004051f8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4826cc
lea eax, [ebp - 4]
call fcn.00404ad8
ret
Function at 0x482954
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
mov eax, dword [ebp - 8]
call fcn.00404f58
xor eax, eax
push ebp
push 0x482af1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x64
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x482928]
call fcn.00405dfc
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_GetKeyboardLayoutList
cmp eax, 1
jl 0x482ab8
mov edx, dword [ebp - 0x10]
push edx
push eax
call sub.user32.dll_GetKeyboardLayoutList
mov esi, eax
dec esi
test esi, esi
jl 0x482ab8
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmIsIME
test al, al
je 0x482ab0
lea eax, [ebp - 0x119]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
push 0x104
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmGetIMEFileNameA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00404d48
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
call fcn.00408b28
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 4]
call fcn.00408b28
mov edx, dword [ebp - 0x124]
pop eax
call fcn.00404f00
jne 0x482a6d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
jmp 0x482ab8
push 0x104
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
push eax
call sub.imm32.dll_ImmGetDescriptionA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.00404d48
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404f00
jne 0x482ab0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
jmp 0x482ab8
inc ebx
dec esi
jne 0x4829e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482af8
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.00404afc
lea eax, [ebp - 0x10]
mov edx, dword [0x482928]
call fcn.00405e08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404afc
ret
Function at 0x482b04
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
mov eax, dword [ebp - 8]
call fcn.00404f58
xor eax, eax
push ebp
push 0x482ce5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x111]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
lea eax, [ebp - 0x216]
xor ecx, ecx
mov edx, 0x104
call fcn.004035e0
push 0x104
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x482b93
mov dword [0x488b14], 0x271b
jmp 0x482cba
cmp byte [ebp + eax - 0x217], 0x5c
je 0x482ba6
mov byte [ebp + eax - 0x216], 0x5c
inc eax
push 0x482cf4
lea eax, [ebp + eax - 0x216]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, 0x48eea4
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00404d48
lea eax, [ebp - 0x216]
push eax
call sub.shlwapi.dll_PathFileExistsA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x482c49
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00404d48
mov eax, dword [ebp - 0x21c]
call fcn.00404f68
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x482c1e
mov dword [0x488b14], 0x271c
lea eax, [ebp - 0x216]
push eax
call sub.shlwapi.dll_PathFileExistsA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x482c49
mov eax, dword [ebp - 0xc]
call fcn.00404f68
push eax
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_lstrcpyA
push 0
lea eax, [ebp - 0x216]
push eax
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.004032d4
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.00409640
lea eax, [ebp - 0x220]
mov edx, dword [ebp - 4]
call fcn.00404da4
mov eax, dword [ebp - 0x220]
call fcn.00404f68
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x482ca3
mov dword [0x488b14], 0x271d
mov eax, dword [ebp - 8]
call fcn.00404f68
push eax
lea eax, [ebp - 0x216]
push eax
call sub.imm32.dll_ImmInstallIMEA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482cec
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.00404afc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404afc
ret
Function at 0x4831b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f58
xor eax, eax
push ebp
push 0x483269
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004035e0
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
mov dword [ebp - 0x54], 0xc
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x60], 0xc
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xffffffff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x483251
mov ebx, dword [ebp - 0x70]
jmp 0x483253
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483270
lea eax, [ebp - 4]
call fcn.00404ad8
ret

Function at 0x4ca251
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c9fca
dec edx
add ebx, ebx
call fcn.004ca28f
push 0x3e4ac16
mov ebx, dword [esp]
add esp, 4
add edx, ebx
mov edx, edx
xor dword [esi], eax
push 0x4387572b
pop ebx
inc esi
add ebx, ebx
cmp esi, edi
jne fcn.004ca251
and ebx, edx
add edx, 1
and edx, edx
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.EnableUE
push str.Software360Safe
push 0x80000001
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x401046
cmp dword [esp], 1
jmp 0x401049
cmp eax, 2
je 0x401051
xor eax, eax
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret