joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4366b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
push str.kernel32.dll
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.CreateRemoteThread
push edi
call esi
push 0x54b264
push edi
mov dword [ebp - 0x24], eax
call esi
push 0x54b274
push edi
mov dword [ebp - 0x20], eax
call esi
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
jne 0x43672b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x436718
test eax, eax
je 0x436718
push 0x40
push 0x1000
push dword [ebp - 0x14]
xor edi, edi
xor esi, esi
push edi
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], edi
call ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43681e
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x436805
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 4
push 0x1000
push dword [ebp - 0x18]
push edi
push ebx
call dword [ebp - 0x20]
mov edi, eax
test edi, edi
je 0x436803
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4367f2
lea eax, [ebp - 0xc]
push eax
push 4
push edi
push dword [ebp - 0x1c]
push esi
push esi
push ebx
call dword [ebp - 0x24]
mov esi, eax
test esi, esi
je 0x4367f2
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call fcn.0047f6f0
add esp, 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
push 0x8000
push 0
push edi
push ebx
call dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
jmp 0x436805
xor edi, edi
push 0x8000
push 0
push dword [ebp - 0x1c]
push ebx
call dword [ebp - 0x30]
test esi, esi
je 0x43681e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x442aa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, ecx
test edi, edi
je 0x442bfe
push ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jle 0x442bfd
mov word [edi], ax
call fcn.00442860
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x442af4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 0
je 0x442b91
mov eax, dword [ebp + 8]
movzx ecx, ax
mov eax, dword [esi]
test eax, eax
je 0x442b91
nop
cmp eax, ecx
je 0x442b20
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jne 0x442b10
jmp 0x442b91
push 0
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004823d0
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442b42
mov eax, dword [esi + 8]
sub ecx, edx
sar ecx, 1
test eax, eax
je 0x442b7e
cmp word [eax], 0
je 0x442b7e
push eax
mov eax, 0x100
sub eax, ecx
push 0x54bddc
push eax
lea eax, [ebp - 0x204]
lea eax, [eax + ecx*2]
push eax
call fcn.004183f0
add esp, 0x10
push 0
lea eax, [ebp - 0x204]
push eax
push ebx
push edi
call fcn.004823d0
add esp, 0x10
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x1001
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x442bfa
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442bc0
sub ecx, edx
mov edx, edi
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442bd4
sub edx, esi
sar edx, 1
cmp ecx, edx
jbe 0x442bfa
push 0
lea eax, [ebp - 0x204]
push eax
push ebx
push edi
call fcn.004823d0
add esp, 0x10
movzx eax, word [edi]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4431e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44320c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4431fb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ecx, ecx
push edi
movzx edi, word [ebp + 8]
push eax
push esi
push 0x5c
push edi
mov word [esi], cx
call ebx
test eax, eax
jne 0x443288
push 0x80
lea eax, [ebp - 0x204]
push eax
push 3
push edi
call ebx
test eax, eax
je 0x443259
push 0x80
lea eax, [ebp - 0x104]
push eax
push 7
push edi
call ebx
test eax, eax
jne 0x44326c
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
push 0x54af10
push esi
call fcn.00405510
add esp, 0x10
push esi
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x44baf0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fee
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x44bbdc
push 0
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x44bbdc
add edi, 0x20
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x44bb5f
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x21c]
mov esi, dword [ebx]
push edi
push edi
call fcn.00418000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x21c]
push dword [esi - 8]
push esi
call fcn.0050da0f
add esp, 8
test eax, eax
js 0x44bbf8
cmp eax, dword [esi - 8]
jg 0x44bbf8
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.00406a00
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44bbdc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x458e00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537138
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58cfe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
call fcn.004873a0
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 8]
mov dword [edi], 0x54cc50
push str.psapi.dll
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00487530
test eax, eax
je 0x458f3d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push dword [edi + 0xc]
call esi
push str.EnumProcessModules
push dword [edi + 0xc]
mov dword [edi + 0x10], eax
call esi
push str.EnumProcessModulesEx
push dword [edi + 0xc]
mov dword [edi + 0x14], eax
call esi
push str.GetModuleBaseNameW
push dword [edi + 0xc]
mov dword [edi + 0x18], eax
call esi
push str.GetModuleFileNameExW
push dword [edi + 0xc]
mov dword [edi + 0x1c], eax
call esi
push str.GetProcessImageFileNameW
push dword [edi + 0xc]
mov dword [edi + 0x20], eax
call esi
push str.GetModuleInformation
push dword [edi + 0xc]
mov dword [edi + 0x28], eax
call esi
cmp dword [edi + 0x10], 0
mov dword [edi + 0x24], eax
je 0x458f1a
cmp dword [edi + 0x14], 0
je 0x458f1a
cmp dword [edi + 0x1c], 0
je 0x458f1a
cmp dword [edi + 0x20], 0
je 0x458f1a
test eax, eax
jne 0x458f3d
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45b150
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x45b2d3
cmp word [eax], 0
je 0x45b2d3
test ecx, ecx
je 0x45b2d3
push ebx
push esi
push edi
push eax
call fcn.005149f1
add esp, 4
mov dword [ebp - 0x14], 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 8], 0
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push esi
push esi
push 4
push dword [ebp + 0xc]
xorps xmm0, xmm0
xor edi, edi
push ebx
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45b29e
push 2
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
mov esi, dword [ebp - 0x10]
sub esi, 1
js 0x45b299
mov ebx, dword [ebp - 0x18]
nop dword [eax]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x45b260
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + 1]
mov dword [ebp - 0x24], eax
movzx eax, byte [ecx]
sub eax, 0
je 0x45b230
sub eax, 1
jne 0x45b260
lea eax, [ecx + 8]
test eax, eax
je 0x45b260
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x45b260
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
test byte [ebp - 0x24], 0x10
mov eax, 1
mov ecx, eax
mov dword [ebp - 0x20], eax
cmovne edi, ecx
jmp 0x45b263
mov eax, dword [ebp - 0x20]
sub esi, 1
jns 0x45b200
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0x45b299
mov esi, dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test edi, edi
mov edi, dword [ebp + 0xc]
je 0x45b28a
push 0
push 0
push 0
push 0
push 4
push edi
push ebx
call esi
push 0
push dword [ebp - 0x14]
push 0
push 0
push 4
push edi
push ebx
call esi
mov esi, 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45b2b3
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x1c], 0
test ebx, ebx
je 0x45b2c0
push ebx
call fcn.00515523
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x45d020
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0
push 0
mov esi, ecx
push 0
mov dword [ebp - 4], esi
call fcn.0045cd20
mov edi, dword [ebp + 0xc]
mov ecx, 0xc0000000
push 0
push 0x80
push 3
push 0
test edi, edi
mov dword [esi + 0x28], 0
push 1
mov eax, SysReAllocString
mov dword [esi + 0x24], 0
cmovne eax, ecx
mov dword [esi + 0x2c], 0
push eax
push dword [ebp + 8]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
je 0x45d1fc
xor ecx, ecx
test edi, edi
push 0
push 0
setne cl
push 0
lea ecx, [ecx*2 + 2]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x24], eax
test eax, eax
je 0x45d1fc
xor ecx, ecx
test edi, edi
push 0
sete cl
push 0
push 0
lea ecx, [ecx*2 + 2]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [esi + 0x28], ecx
test ecx, ecx
je 0x45d1fc
mov eax, 0x5a4d
cmp ax, word [ecx]
jne 0x45d1fc
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov ecx, 0x454e
mov dword [esi + 0x2c], eax
cmp word [eax], cx
je 0x45d1fc
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x45d146
cmp ecx, 0x20b
jne 0x45d1fc
push 0x108
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x45d1fc
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0x4550
jne 0x45d1fc
mov dword [esi + 0x34], eax
jmp 0x45d16c
push 0xf8
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x45d1fc
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0x4550
jne 0x45d1fc
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 4], 0
test eax, eax
je 0x45d188
mov eax, dword [eax + 0x88]
jmp 0x45d191
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x98]
mov dword [esi + 4], eax
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45d1fc
mov ecx, dword [esi + 0x2c]
mov dword [esi], eax
push ebx
xor ebx, ebx
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
xor ecx, ecx
mov dword [ebp + 8], eax
cmp cx, ax
jae 0x45d1eb
mov esi, dword [ebp + 0xc]
nop dword [eax]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
lea ecx, [eax + edi]
test eax, eax
jne 0x45d1d2
mov ecx, dword [edx + 0x10]
add ecx, edi
cmp esi, edi
jb 0x45d1da
cmp esi, ecx
jb 0x45d1e8
mov eax, dword [ebp + 8]
inc ebx
movzx eax, ax
add edx, 0x28
cmp ebx, eax
jb 0x45d1c0
mov esi, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, esi
sub eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
call fcn.0045cd50
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45e350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x45e37f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.004e6b5b
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x45e3ae
push str.ReadFromPipe_cannot_allocate_a_buffer
call fcn.0048a0f0
add esp, 4
xor eax, eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
push 0
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45e3e1
add edi, dword [ebp - 8]
sub esi, dword [ebp - 8]
jne 0x45e3b1
pop edi
mov eax, ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
push 0x54d094
call fcn.0048a190
push 0
push ebx
call fcn.00507268
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop ebx
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x461c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x461c13
pop ebx
pop ebp
jmp fcn.00462270
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x461c82
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
push 0x406
push dword [ebx + 0xc]
call esi
push 0
push dword [ebp + 0x10]
push 0x404
push dword [ebx + 0xc]
call esi
push 0
push edi
push 0x402
push dword [ebx + 0xc]
call esi
test edi, edi
pop edi
pop esi
jne 0x461c77
cmp dword [ebp + 0xc], 0
jne 0x461c77
cmp dword [ebp + 0x10], 0
jne 0x461c77
push 0
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret 0xc
push 1
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret 0xc

Function at 0x461c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x461ca3
pop edi
pop ebp
jmp fcn.00462320
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x461ceb
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x406
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], 0
jne 0x461ce0
cmp dword [ebp + 0xc], 0
jne 0x461ce0
push 0
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
ret 8
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
ret 8
Function at 0x4644e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4644f3
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 4], 0x100
push esi
push edi
jne 0x4645fc
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4645fc
mov eax, dword [ebx + 8]
cmp eax, 9
je 0x46452e
cmp eax, 0x21
je 0x46452e
cmp eax, 0x22
jne 0x4645fc
mov esi, dword [ebx]
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
test esi, esi
je 0x4645fc
nop
push esi
call fcn.004eae00
mov ebx, eax
push 0x54d698
mov ecx, ebx
call fcn.004ef5e5
test eax, eax
je 0x46456e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x474
push esi
call ebx
mov edi, eax
jmp 0x464590
push 0x54d5b8
mov ecx, ebx
call fcn.004ef5e5
test eax, eax
je 0x4645b5
push esi
call fcn.00457420
add esp, 4
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x464540
mov eax, dword [ebp - 4]
test eax, eax
je 0x4645fc
push eax
call fcn.004eae00
mov esi, eax
test edi, edi
jne 0x4645cd
lea ecx, [edi + 1]
jmp 0x4645e1
test edi, edi
jne 0x46458a
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x474
push esi
call ebx
mov edi, eax
jmp 0x464590
push 0
push 0
push 0x1304
push edi
call ebx
xor ecx, ecx
cmp eax, 2
setl cl
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00456e40
test eax, eax
je 0x4645fc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466f30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x466f53
xor eax, eax
mov word [edi], ax
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push str.ProfileImagePath
call fcn.00468ca0
test eax, eax
jne 0x466f83
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x210]
push esi
sub eax, 1
je 0x466fbe
sub eax, 1
jne 0x467054
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
jmp 0x466fc4
mov eax, dword [ebp - 0x214]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str.ntuser.dat
push eax
call fcn.0048f340
push 0
push 0xffffffffffffffff
push 0x5c
push dword [ebx + 4]
call fcn.0049c2f0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x466ff7
mov esi, dword [ebx + 4]
jmp 0x466ffa
add esi, 2
test edi, edi
je 0x467012
mov ecx, esi
sub edi, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x467002
lea eax, [ebp - 0x20c]
push eax
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x467054
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x467030
sub esi, ecx
sar esi, 1
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret 4

Function at 0x468010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x468028
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.00468ca0
test eax, eax
je 0x46801f
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [ebp + 0xc]
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x46801f
mov ecx, esi
call fcn.00469f30
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x468480
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x468494
xor eax, eax
pop esi
pop ebp
ret 4
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x46848d
mov ecx, esi
call fcn.00469f30
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x468630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
lea esi, [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
test eax, eax
je 0x468673
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 8], 3
sete al
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 0xc

Function at 0x468be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x468c37
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x468c37
xor eax, eax
mov word [esi], ax
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x468c37
cmp dword [ecx + 0x2c], eax
je 0x468c37
lea eax, [edi + edi]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x468c4c
xor eax, eax
mov word [esi], ax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0xc]
sub eax, 1
je 0x468c68
sub eax, 1
jne 0x468c32
cmp dword [ebp + 0x14], eax
je 0x468c68
push edi
push esi
call fcn.0047e910
add esp, 8
lea eax, [esi + 2]
nop dword [eax + eax]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x468c70
mov ecx, dword [ebp - 4]
sub esi, eax
sar esi, 1
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret 0x10