joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47352c
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 0x4736d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4736b8
mov dl, 1
mov eax, dword [0x41b98c]
call fcn.00403cec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4736a7
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.00464d40
test al, al
je 0x47369a
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, 0x4736e8
lea eax, [ebp - 0x254]
call fcn.0040b230
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47369a
xor eax, eax
push ebp
push 0x473693
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 0x473720
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47367c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ec8
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 0x47367c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47369a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47359d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004202b0
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 0x4736de
lea eax, [ebp - 0x260]
call fcn.00404c58
ret

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

Disassembly:
push ecx
mov eax, dword [0x5545b8]
cmp byte [eax + 0xad], 0
jne 0x4740c1
cmp dword [0x5545d0], 0
jne 0x474082
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47400c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5545d0], eax
cmp dword [0x5545cc], 0
jne 0x47409d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5545cc], eax
cmp dword [0x5545d4], 0
jne 0x4740c1
push esp
push 0
push 0
push 0x473fb0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5545d4], eax
pop edx
ret
Function at 0x474294
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4742ab
add esp, 0xfffffff0
call fcn.00404080
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426e04
mov eax, dword [0x5502fc]
cmp word [eax + 2], 0
jne 0x4742d3
mov eax, dword [0x5502fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00475dec
mov eax, dword [0x5503f4]
cmp word [eax + 2], 0
jne 0x4742ed
mov eax, dword [0x5503f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00475ff8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b320]
call fcn.00403cec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b320]
call fcn.00403cec
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41b320]
call fcn.00403cec
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 [0x42d7c4]
call fcn.00435d90
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4744a4
mov eax, dword [0x5501c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00436164
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4766b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5501c8]
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.0040f6b4
test eax, eax
je 0x4743f4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040abd4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f6e8
test eax, eax
je 0x474408
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.00404ec8
mov byte [ebx + 0xd4], 0
push ebx
push 0x475934
call fcn.00427f80
mov dword [ebx + 0xc8], eax
mov eax, dword [0x550044]
cmp byte [eax], 0
jne 0x474459
mov eax, ebx
call fcn.004745e8
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.00476894
mov eax, ebx
call fcn.00477418
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x474499
call fcn.004040d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474868
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5545b8]
cmp dword [eax + 0x30], 0
je 0x474912
cmp dword [ebx + 0x94], 0
jne 0x47490c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4747f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47490c
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 0x4748d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47490c
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.0041dc18
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4748e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47562c
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 0x475661
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.00404d48
jmp 0x47566e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x476a78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x476ae6
mov eax, esi
call fcn.0045f974
test al, al
je 0x476ae6
mov eax, dword [ebx + 0x84]
call fcn.0045f5d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x476ae6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x476ada
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045f5d4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00457988
jmp 0x476ae6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004768b4
pop esi
pop ebx
ret
Function at 0x481db0
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 [0x408618]
call fcn.00405a40
xor eax, eax
push ebp
push 0x481f51
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54ed18], 0
jne 0x481e0b
mov ecx, dword [0x550058]
mov dl, 1
mov eax, dword [0x408ce0]
call fcn.0040e884
call fcn.004045d0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035f8
mov eax, ebx
call fcn.0040565c
mov dword [ebp - 0x24], eax
mov esi, 0x481f60
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.00406c5c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040566c
test eax, eax
jle 0x481ef4
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 0x481ee0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ec8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x481e86
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404efc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x481e9c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404efc
mov eax, dword [ebp - 0x54]
call fcn.00405138
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ec8
mov eax, dword [ebp - 0x58]
call fcn.00405138
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x481ee2
xor eax, eax
test al, al
je 0x481eed
mov ebx, 0x15
jmp 0x481ef9
mov ebx, 0x10
jmp 0x481ef9
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 [0x54ed18]
call fcn.00481bd8
mov eax, dword [ebp - 4]
call fcn.00481bd8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481f58
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c7c
lea eax, [ebp - 0xc]
mov edx, dword [0x408618]
call fcn.00405b10
ret
Function at 0x4847e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484846
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x484814
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 8], eax
jmp 0x484830
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 0xc]
call fcn.00405138
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48484d
lea eax, [ebp - 0xc]
call fcn.00404c58
ret

Function at 0x484854
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4848c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x48488f
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 0xc], eax
jmp 0x4848af
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 0x10]
call fcn.00405138
push eax
call sub.kernel32.dll_CreateDirectoryA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4848cc
lea eax, [ebp - 0x10]
call fcn.00404c58
ret

Function at 0x4848d4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484969
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x48491a
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 0x10], eax
jmp 0x48494e
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404e80
mov eax, dword [ebp - 0x14]
call fcn.00405138
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 0x18]
call fcn.00405138
push eax
call sub.kernel32.dll_CopyFileA
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484970
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404c7c
ret
Function at 0x484978
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4849de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x4849ac
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 8], eax
jmp 0x4849c8
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 0xc]
call fcn.00405138
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4849e5
lea eax, [ebp - 0xc]
call fcn.00404c58
ret

Function at 0x484aa4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484b5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x484adf
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov dword [ebp - 0xc], eax
jmp 0x484b48
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004053c0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x484b03
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x484b0f
call fcn.00403be4
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405138
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004053c0
mov al, byte [0x484b6c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00484350
test eax, eax
jns 0x484b45
call fcn.00403be4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b65
lea eax, [ebp - 0x10]
call fcn.00404c58
ret
Function at 0x484b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484c2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x484bab
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov dword [ebp - 0xc], eax
jmp 0x484c14
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004053c0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x484bcf
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x484bdb
call fcn.00403be4
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405138
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004053c0
mov al, byte [0x484c38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00484350
test eax, eax
jns 0x484c11
call fcn.00403be4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484c31
lea eax, [ebp - 0x10]
call fcn.00404c58
ret

Function at 0x484c3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484cf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x484c77
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
mov dword [ebp - 0xc], eax
jmp 0x484ce0
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004053c0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x484c9b
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
call fcn.00405138
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x484cb0
call fcn.00403be4
push eax
call sub.kernel32.dll_GetCurrentDirectoryA
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004053c0
mov al, byte [0x484d04]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00484350
test eax, eax
jns 0x484cdd
call fcn.00403be4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484cfd
lea eax, [ebp - 0x10]
call fcn.00404c58
ret
Function at 0x484d08
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484d6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5500e0]
cmp byte [eax], 0
je 0x484d3c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov dword [ebp - 8], eax
jmp 0x484d58
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404e80
mov eax, dword [ebp - 0xc]
call fcn.00405138
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484d75
lea eax, [ebp - 0xc]
call fcn.00404c58
ret

Function at 0x485c38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485cb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP_1
test eax, eax
jns 0x485c76
call fcn.00403be4
push eax
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404ec8
mov eax, dword [ebp - 0x14]
pop edx
call fcn.0040a624
test eax, eax
jns 0x485c99
call fcn.00403be4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485cb9
lea eax, [ebp - 0x14]
call fcn.00404c58
ret

Function at 0x485d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x485def
lea eax, [ebp - 4]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x485dc3
call fcn.0040ff50
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 6
call fcn.00402f98
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x485def
call fcn.0040ff50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a6ce4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a6db2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a6d6b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4a6d3e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004055dc
jmp 0x4a6d46
mov eax, dword [ebp - 8]
call fcn.00405480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6d72
cmp dword [ebp - 0xc], 0
je 0x4a6d62
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4a9ce4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00405480
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
jns 0x4a9d15
call fcn.00403be4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a9d46
push 0x200
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00405630
mov esp, ebp
pop ebp
ret

Function at 0x4a9d4c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov word [ebp - 2], ax
push 2
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
mov word [ebp - 4], ax
mov ax, word [ebp - 2]
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4a9db3
movzx eax, word [ebp - 2]
sub eax, 0x30
jno 0x4a9d81
call fcn.00403bec
add eax, 0x30
jno 0x4a9d8b
call fcn.00403bec
mov word [ebp - 6], ax
mov ax, word [ebp - 4]
cmp ax, word [ebp - 6]
je 0x4a9db3
mov ax, word [ebp - 6]
push eax
call sub.user32.dll_VkKeyScanW
mov dx, word [ebp - 2]
cmp al, dl
jne 0x4a9db3
mov ax, word [ebp - 6]
mov word [ebp - 4], ax
mov ax, word [ebp - 4]
pop ecx
pop ecx
pop ebp
ret