joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54ad08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBrush.0
mov dword [esp + 0x30], 0
cmp dword [0x5bf6d8], 7
jne 0x41fb50
call fcn.00420460
test eax, eax
jne 0x41fb50
push 0xf
jmp 0x41fb52
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x38], 0
jne 0x41fb77
fld qword [0x58c068]
sub esp, 8
mov ecx, eax
fstp qword [esp]
call fcn.0041b910
add esp, 8
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.005079bd
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.00507a10
cmp dword [0x5bf6d8], 2
jl 0x41fbc1
mov edx, dword [esi + 4]
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
cmp dword [esp + 0x3c], 0
jne 0x41fbe2
push 0
push 7
call ebx
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 4]
add eax, 4
push eax
add ecx, 4
call fcn.0041e6f0
jmp 0x41fbf9
push 7
call ebx
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
add ecx, 4
push ecx
add ebx, 5
mov ecx, eax
call fcn.0041e5e0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CBrush.0
call fcn.00402490
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 8

Function at 0x4201f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00506c00
movzx ebx, word [esp + 0x14]
mov edi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 2
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x420228
push 2
push ebx
xor edi, edi
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x420228
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x420221
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x420221
call fcn.004201b0
cmp ax, 0x10
jne 0x420221
push 0
push esi
push edi
call fcn.0050d14a
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x420460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x258
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x254], eax
cmp dword [0x5c4838], 0
jne 0x42053d
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [0x5c4838], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42053d
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420533
push esi
push edi
mov ecx, 0xb
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x420531
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi*2 + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420531
mov dword [0x5c4834], 1
pop edi
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x254]
mov eax, dword [0x5c4834]
xor ecx, esp
call fcn.00524c67
add esp, 0x258
ret
Function at 0x424050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54ac31
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
mov ebx, 2
push 0x566c94
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00405ee0
mov edi, dword [esp + 0x30]
push ecx
mov dword [esp + 0x1c], esp
add edi, 0xfffffff0
mov ebp, esp
push edi
mov dword [esp + 0x1c], 1
call fcn.00402380
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00424190
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x28], 3
call fcn.00406620
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4240fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push 0x566c94
push ecx
call fcn.00411320
mov ebx, dword [esp + 0x3c]
add esp, 8
test al, al
je 0x42412f
push 1
push 0x56be28
mov ecx, esi
call fcn.00405e50
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00405e50
mov byte [esp + 0x24], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42414d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42416e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x424940
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push esi
mov esi, eax
test esi, esi
je 0x424997
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00526c60
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42499e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
add esp, 0x60
ret
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov eax, 1
pop esi
add esp, 0x60
ret
Function at 0x4255b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
cmp ecx, esi
push edi
mov ebx, eax
jne 0x4255e9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4255df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp ebx, esi
je 0x4255bf
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [ebx], eax
push 1
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push esi
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4255bf
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
push esi
push ebp
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425658
cmp edi, esi
je 0x425645
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
call fcn.004592f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4256f9
sub eax, 2
je 0x4256a5
sub eax, 1
je 0x42568b
lea ecx, [esp + 0x10]
call fcn.00411680
lea ecx, [esp + 0x34]
call fcn.004592f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push ebp
lea edx, [esp + 0x14]
lea ecx, [ebx + 8]
push edx
mov word [ebx], 0x13
call fcn.0042a0f0
mov edi, eax
jmp 0x42574d
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x1c], esi
call fcn.0042a0a0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
push 0x11
mov edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ecx
mov word [ebx], 0x2011
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ecx, eax
cmp ecx, esi
mov dword [ebx + 8], ecx
je 0x42574d
mov ecx, dword [ecx + 0xc]
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
call fcn.0042a0a0
jmp 0x42574d
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
push ecx
lea edi, [esp + 0x1c]
xor esi, esi
mov word [ebx], 0x1f
call fcn.004171b0
mov esi, dword [esp + 0x14]
add esi, esi
push esi
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push esi
push 0
push eax
mov dword [ebx + 8], eax
call fcn.00526c60
mov ebx, dword [ebx + 8]
add esp, 0xc
test ebx, ebx
je 0x42574b
push ebp
lea edx, [esp + 0x14]
push edx
lea edi, [esp + 0x1c]
mov esi, ebx
call fcn.004171b0
mov edi, eax
xor esi, esi
xor eax, eax
cmp edi, esi
sete al
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x425765
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
call fcn.004592f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x425a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push edi
mov edi, eax
test edi, edi
jne 0x425ac1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
add esp, 8
ret
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425b62
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push edi
push eax
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425b16
cmp dword [esp + 0x10], 3
je 0x425ba6
test ebx, ebx
je 0x425b21
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 8
ret
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425b7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop edi
add esp, 8
ret
test ebx, ebx
je 0x425bb1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425be9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 8
ret
Function at 0x425c00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x542ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
call fcn.00402380
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c], 2
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
call fcn.00402380
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x44]
add esp, 4
mov byte [esp + 0x2c], bl
call fcn.00425a70
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x20], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c9d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x20], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425cbe
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x425ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542e98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push edi
mov dword [esp + 0x20], 4
lea ebp, [esp + 0x20]
call fcn.00402380
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
call fcn.00402380
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov eax, ebp
mov byte [esp + 0x30], 1
call fcn.00425a70
mov ebx, eax
xor eax, eax
add esp, 0xc
or edx, 0xffffffff
cmp ebx, eax
mov byte [esp + 0x24], al
lea ecx, [esi + 0xc]
jne 0x425dc4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425d8d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425dae
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esp + 0x14], 4
jne 0x425d7a
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425dde
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425dff
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x425e20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x542ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
call fcn.00402380
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c], 2
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
call fcn.00402380
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x2c], bl
call fcn.00425ce0
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x20], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425eb9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x20], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425eda
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x426320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x542ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
call fcn.00402380
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c], 2
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
call fcn.00402380
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x2c], bl
call fcn.00426180
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x20], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4263b9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x20], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4263da
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x426620
Capabilities:
Get file attributes

Disassembly:
lea eax, [esp + 4]
push 0x566c94
push eax
call fcn.00411320
add esp, 8
test al, al
jne 0x426659
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edx, 0xffffffff
cmp eax, edx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jne 0x426689
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426685
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
ret
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42669c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
ret

Function at 0x426730
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esi + 0x1aac]
test eax, eax
je 0x42674f
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x42674f
mov dword [esi + 0x1aac], 0
push 0
push 0
push 0x4266b0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x1aac], eax
mov eax, ecx
ret

Function at 0x426c70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
test ebx, ebx
jne 0x426ca1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ebx
add esp, 8
ret
lea ecx, [esp + 0x10]
push 0x566c94
push ecx
call fcn.00411320
add esp, 8
test al, al
jne 0x426ccd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x426c8e
mov ecx, ebx
call fcn.00428740
test eax, eax
jne 0x426cf1
call fcn.004286a0
test eax, eax
jne 0x426cf1
lea ecx, [esp + 0x10]
call fcn.004592f0
xor eax, eax
pop ebx
add esp, 8
ret
lea ecx, [esp + 4]
push ecx
push 2
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426cb7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
push esi
push 4
lea edx, [esp + 0x10]
push edx
push 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
push eax
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x426d58
test esi, esi
je 0x426d47
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
call fcn.004592f0
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
test esi, esi
je 0x426d63
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
call fcn.004592f0
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x426d80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aad8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
test edi, edi
je 0x426e72
mov dword [esp + 0x14], 0
mov esi, ecx
lea ebx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.00423300
lea eax, [esp + 0x10]
push eax
push 2
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426e52
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0xc]
je 0x426e86
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x426e3e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x426eaa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret