joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f1c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f1a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f1b8
or bl, 4
test esi, 0x20000000
je 0x44f1c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455870
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455882
add esp, 0xfffffff0
call fcn.00403b50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e18c
mov eax, dword [0x46b51c]
mov dword [eax + 4], ebx
mov dword [eax], 0x455c14
mov eax, dword [0x46b528]
mov dword [eax + 4], ebx
mov dword [eax], 0x455c20
mov eax, ebx
call fcn.00455c2c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
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, 0x452048
push eax
push 0
push 0
mov eax, dword [0x46b680]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fbf0]
call fcn.00421404
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fbf0]
call fcn.00421404
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fbf0]
call fcn.00421404
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045604c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4559bf
call fcn.00403ba8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456954
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45696b
add esp, 0xfffffff0
call fcn.00403b50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e18c
mov eax, dword [0x46b66c]
cmp word [eax + 2], 0
jne 0x456993
mov eax, dword [0x46b66c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004580d4
mov eax, dword [0x46b724]
cmp word [eax + 2], 0
jne 0x4569ad
mov eax, dword [0x46b724]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004582cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415a8c]
call fcn.004037fc
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420770]
call fcn.00428084
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456b34
mov eax, dword [0x46b584]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428454
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45887c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b584]
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.0040cd50
test eax, eax
je 0x456aa2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fd8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd78
test eax, eax
je 0x456ab6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047ec
mov eax, dword [0x46b448]
cmp byte [eax], 0
jne 0x456aea
mov eax, ebx
call fcn.00456c5c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00458a58
mov eax, ebx
call fcn.0045941c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456b2a
call fcn.00403ba8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459934
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41503c]
call fcn.00404f14
xor eax, eax
push ebp
push 0x459a78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468dd4], 0
jne 0x459987
mov ecx, dword [0x46b458]
mov dl, 1
mov eax, dword [0x407878]
call fcn.0040bff4
call fcn.00403fb8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403078
mov eax, ebx
call fcn.00404de4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x459a88
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f90
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404df4
test eax, eax
jle 0x459a1f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x459a18
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404804
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047ec
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004086b8
test eax, eax
jne 0x459a18
mov ebx, 0x15
jmp 0x459a24
mov ebx, 0x10
jmp 0x459a24
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x468dd4]
call fcn.0045988c
mov eax, dword [ebp - 8]
call fcn.0045988c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459a7f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 0x10]
mov edx, dword [0x41503c]
call fcn.00404fe4
ret
Function at 0x462394
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff88
mov dword [esp + 4], edx
mov dword [esp], eax
lea eax, [esp + 0x39]
xor ecx, ecx
mov edx, 0x3f
call fcn.00403078
lea edx, [esp + 0xc]
mov ecx, 0x2d
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x462519
mov edi, 1
xor esi, esi
jmp 0x462459
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x46b21c]
mov byte [esp + esi + 0x39], dl
mov edx, eax
shl edx, 4
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46b21c]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
mov al, byte [esp + edi + 0xd]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x46b21c]
mov byte [esp + esi + 0x3b], dl
mov edx, eax
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46b21c]
mov byte [esp + esi + 0x3c], al
add edi, 3
add esi, 4
mov eax, dword [esp + 8]
sub eax, 2
cmp edi, eax
jle 0x4623da
cmp edi, dword [esp + 8]
jg 0x4624ff
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x46b21c]
mov byte [esp + esi + 0x39], dl
cmp edi, dword [esp + 8]
jne 0x4624b6
mov edx, eax
shl edx, 4
and dl, 0x30
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46b21c]
mov byte [esp + esi + 0x3a], al
mov byte [esp + esi + 0x3b], 0x3d
jmp 0x4624f7
mov edx, eax
shl edx, 4
and dl, 0x30
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
and al, 0xf
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46b21c]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
and dl, 0x3c
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46b21c]
mov byte [esp + esi + 0x3b], al
mov byte [esp + esi + 0x3c], 0x3d
add esi, 4
lea edx, [esp + 0x39]
mov ecx, esi
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [esp + 8], 0x2d
jge 0x4623b1
add esp, 0x78
pop edi
pop esi
pop ebx
ret

Function at 0x464b64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov ebx, edx
mov eax, ebx
call fcn.0040457c
xor eax, eax
push ebp
push 0x464baf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x464bc3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466d8c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x46b708]
mov eax, dword [eax]
call fcn.00457e28
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x466dd0
cmp eax, dword [esp]
pop edx
pop eax
ja 0x466d9b
jmp 0x466dd4
pop edx
pop eax
jg 0x466d9b
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1009bb7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x10431dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x98
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0100ddf9
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1009c13
cmp dword [ebp - 0x9c], 5
jne 0x1009c13
cmp dword [ebp - 0x98], 1
jne 0x1009c13
movzx eax, word [ebp - 0xc]
jmp 0x1009c16
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100d61a
leave
ret
Function at 0x1009fb7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001760
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov esi, 0x10016c4
je 0x100a00d
push eax
call fcn.01009d20
push edi
mov ebx, eax
push ebx
push 0x6a4
push esi
call fcn.0101c3d2
cmp ebx, edi
jl 0x100a047
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1001750
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
je 0x100a047
push eax
call fcn.01009d20
push edi
mov ebx, eax
push ebx
push 0x6ae
push esi
call fcn.0101c3d2
cmp dword [ebp - 4], edi
je 0x100a055
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x100ab10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10431dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push str.17492023_C23A_453E_A040_C7C580BBF700
xor ebx, ebx
push 0x10018dc
mov dword [ebp - 0x218], eax
mov dword [eax], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x210], ebx
call fcn.0100a18a
mov edi, eax
add esp, 0x10
cmp edi, ebx
jl 0x100ac1a
push esi
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, 0x10016c4
je 0x100ab9b
push eax
call fcn.01009d20
push ebx
mov edi, eax
push edi
push 0x954
push esi
call fcn.0101c3d2
cmp edi, ebx
jl 0x100ac19
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x100abe7
push eax
call fcn.01009d20
push ebx
mov edi, eax
push edi
push 0x960
push esi
call fcn.0101c3d2
jmp 0x100abf4
mov eax, dword [ebp - 0x214]
mov byte [ebp + eax - 0x109], bl
cmp edi, ebx
jl 0x100ac19
push dword [ebp - 0x218]
lea eax, [ebp - 0x108]
push eax
call fcn.0101badb
push ebx
mov edi, eax
push edi
push 0x96d
push esi
call fcn.0101c3d2
pop esi
cmp dword [ebp - 0x210], ebx
je 0x100ac2e
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0100d61a
leave
ret 4
Function at 0x100b201
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x10431dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10019c0
push 0x1001920
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.0101d18e
lea ecx, [ebp - 0x220]
call fcn.0101cb70
xor ebx, ebx
push ebx
mov edi, eax
push edi
push 0x7eb
mov esi, 0x10016c4
push esi
call fcn.0101c3d2
cmp edi, ebx
jl 0x100b3bf
cmp byte [ebp + 8], bl
je 0x100b2b1
push 0x10
call fcn.0100b052
push 0x1002e54
push 0x10019d8
lea ecx, [ebp - 0x220]
call fcn.0101ca94
push ebx
mov edi, eax
push edi
push 0x7f5
push esi
call fcn.0101c3d2
cmp edi, ebx
jl 0x100b3bf
lea ecx, [ebp - 0x220]
call fcn.0101c911
push ebx
mov edi, eax
push edi
push 0x7fa
push esi
call fcn.0101c3d2
jmp 0x100b3bf
push 0x10019cc
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
call fcn.0101ac17
push ebx
mov edi, eax
push edi
push 0x807
push esi
call fcn.0101c3d2
cmp edi, ebx
jl 0x100b313
lea eax, [ebp - 0x228]
push eax
push 0x10019d8
lea ecx, [ebp - 0x220]
call fcn.0101ca4c
push ebx
push eax
push 0x80d
push esi
mov dword [ebp - 0x22c], eax
call fcn.0101c3d2
cmp dword [ebp - 0x22c], ebx
jl 0x100b357
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x100b357
mov eax, dword [ebp - 0x224]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100b349
cmp dx, bx
je 0x100b345
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100b349
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x100b323
xor eax, eax
jmp 0x100b34e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x100b3a1
push 0xe
call fcn.0100b052
push dword [ebp - 0x224]
lea ecx, [ebp - 0x220]
push 0x10019d8
call fcn.0101ca94
push ebx
mov edi, eax
push edi
push 0x81b
push esi
call fcn.0101c3d2
cmp edi, ebx
jl 0x100b3a1
lea ecx, [ebp - 0x220]
call fcn.0101c911
push ebx
mov edi, eax
push edi
push 0x820
push esi
call fcn.0101c3d2
push dword [ebp - 0x228]
call fcn.0100dd74
push dword [ebp - 0x224]
mov dword [ebp - 0x228], ebx
call fcn.0100dd74
pop ecx
pop ecx
lea ecx, [ebp - 0x220]
call fcn.0101cf88
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100d61a
leave
ret 4

Function at 0x100b7a7
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 0x100b3dd
push esi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x10497cc], eax
jne 0x100b7e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01009d20
push esi
mov edi, eax
push edi
push 0x67c
push 0x10016c4
call fcn.0101c3d2
jmp 0x100b7f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10497cc], esi
mov eax, edi
pop edi
pop esi
ret
Function at 0x100c1b8
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.0101ddb6
push 0x1001bc4
xor edi, edi
push edi
push edi
mov dword [esi], 0x1001b18
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
lea ebx, [esi + 0x940]
push ebx
push edi
push 0x2001f
push edi
push edi
push edi
push 0x1001b38
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x93c], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x100c218
push edi
push eax
mov dword [ebx], edi
call fcn.01009d20
push eax
push 0x31
push 0x1001b28
call fcn.0101c3d2
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x100c23d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
or dword [ebp - 8], 0xffffffff
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x940], edi
mov byte [ebp - 1], 0
jne 0x100c261
or eax, 0xffffffff
jmp 0x100c35c
mov eax, dword [esi + 0x93c]
cmp eax, edi
push ebx
mov ebx, 0x1001b28
je 0x100c29e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x100c285
mov byte [ebp - 1], 1
jmp 0x100c29e
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01009d20
push eax
push 0x82
push ebx
call fcn.0101c3d2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], edi
mov edi, 0x1001bf4
push edi
push dword [esi + 0x940]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
mov dword [ebp - 0x14], eax
je 0x100c2f2
test eax, eax
jne 0x100c2d9
cmp dword [ebp - 0xc], 4
je 0x100c2f2
push 0
push eax
call fcn.01009d20
push eax
push 0x9d
push ebx
call fcn.0101c3d2
mov edi, dword [ebp - 0x14]
jmp 0x100c326
inc dword [ebp - 8]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push edi
push dword [esi + 0x940]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x100c32a
push 0
push edi
call fcn.01009d20
push eax
push 0x96
push ebx
call fcn.0101c3d2
or dword [ebp - 8], 0xffffffff
mov esi, dword [esi + 0x93c]
test esi, esi
je 0x100c358
cmp byte [ebp - 1], 0
je 0x100c358
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100c358
push eax
push edi
call fcn.01009d20
push eax
push 0xa5
push ebx
call fcn.0101c3d2
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x100c524
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 9
xor eax, eax
mov dword [ebp - 0xc], ecx
pop ecx
mov dword [ebp - 0x54], esi
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1002e54
push 0x1001c20
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
jne 0x100c587
mov dword [ebp - 4], 0x80004004
mov eax, dword [ebx + 4]
add eax, 0x64
pop edi
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x100c5ab
call edi
push eax
call fcn.01009d20
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x100c574
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x100c3fb
push esi
push esi
mov dword [ebp - 0x18], 0xfffffff
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
cmp dword [ebp - 8], esi
jne 0x100c5df
call edi
push eax
call fcn.01009d20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jl 0x100c574
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x54], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
jne 0x100c607
call edi
push eax
call fcn.01009d20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jl 0x100c574
mov ecx, dword [ebp - 0xc]
call fcn.0100c512
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx edx, al
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x100c646
test edx, edx
je 0x100c63d
mov ecx, dword [ebp - 0x2c]
jmp 0x100c642
mov ecx, dword [ebp - 0x24]
sub ecx, edi
mov dword [ebx], ecx
jmp 0x100c69b
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jle 0x100c665
test edx, edx
je 0x100c657
mov eax, dword [ebp - 0x2c]
jmp 0x100c65c
mov eax, dword [ebp - 0x24]
sub eax, edi
sub ecx, esi
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x100c69e
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x14]
jge 0x100c673
mov dword [ebx], ecx
sub eax, esi
jmp 0x100c69b
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x14]
jge 0x100c67f
sub ecx, edi
jmp 0x100c66d
mov eax, dword [ebp - 0x14]
sub eax, edi
add eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
sub eax, esi
add eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebx]
add eax, edi
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
add eax, esi
jmp 0x100c57a
Function at 0x100d61a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10431dc]
jne 0x100d62b
test ecx, 0xffff0000
jne 0x100d62b
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1049a18], eax
mov dword [0x1049a14], ecx
mov dword [0x1049a10], edx
mov dword [0x1049a0c], ebx
mov dword [0x1049a08], esi
mov dword [0x1049a04], edi
mov word [0x1049a30], ss
mov word [0x1049a24], cs
mov word [0x1049a00], ds
mov word [0x10499fc], es
mov word [0x10499f8], fs
mov word [0x10499f4], gs
pushfd
pop dword [0x1049a28]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1049a2c], ecx
mov dword [0x1049a20], eax
mov dword [0x1049968], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x1049924], eax
mov eax, dword [0x10431dc]
mov dword [ebp - 4], eax
mov eax, dword [0x10431d8]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x1049a1c], ecx
mov dword [0x1049918], 0xc0000409
mov dword [0x104991c], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x1001cb4
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret

Function at 0x100d893
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1049c34], 0
push esi
jne 0x100d806
call fcn.0100d731
test eax, eax
je 0x100d849
mov eax, dword [0x1049c34]
cmp eax, 1
jne 0x100d827
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100d849
pop esi
ret
push eax
call dword [0x1049c3c]
test eax, eax
jne 0x100d891
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100d84d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1049c34]
call dword [0x1049c3c]
mov edi, eax
test edi, edi
je 0x100d874
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x100d890
lea edi, [esi + 0xff0]
push esi
push dword [0x1049c34]
call dword [0x1049c38]
add esi, 0x10
cmp esi, edi
jb 0x100d87a
mov eax, esi
pop edi
pop esi
ret
jmp 0x100d7f3