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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x433418
mov eax, esi
call fcn.00448828
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433418
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x433418
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x433557
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x433458
cmp eax, 0x108
ja 0x433458
mov eax, esi
call fcn.00448828
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43354e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x433557
jmp 0x43354e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x433537
cmp eax, 0x20a
ja 0x433537
test byte [esi + 0x50], 0x80
jne 0x43348a
sub eax, 0x203
je 0x433487
sub eax, 3
je 0x433487
sub eax, 3
jne 0x43348a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43349e
dec eax
je 0x4334b3
dec eax
je 0x4334d0
dec eax
je 0x4334b3
jmp 0x4334d7
mov ecx, ebx
mov eax, dword [0x46d8b4]
mov eax, dword [eax]
mov edx, esi
call fcn.00452064
jmp 0x43354e
cmp byte [esi + 0x5d], 1
jne 0x4334c9
mov eax, esi
mov si, 0xffed
call fcn.00403384
jmp 0x433557
or word [esi + 0x54], 1
jmp 0x43354e
and word [esi + 0x54], 0xfffe
jmp 0x43354e
mov eax, dword [0x46eb14]
cmp byte [eax + 0x20], 0
je 0x43354e
mov eax, dword [0x46eb14]
cmp dword [eax + 0x1c], 0
je 0x43354e
mov eax, dword [ebx]
mov edx, dword [0x46eb14]
cmp eax, dword [edx + 0x1c]
jne 0x43354e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044876c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403384
jmp 0x433557
cmp eax, 0xb00b
jne 0x43354e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431d28
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436a18
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x436a34
cmp dword [esi + 4], 0
je 0x436a61
test byte [ebx + 0x55], 1
jne 0x436a53
mov eax, ebx
call fcn.00435624
test eax, eax
jne 0x436a53
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436b71
mov edx, esi
mov eax, ebx
call fcn.0043653c
jmp 0x436b71
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x436b6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438888
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00433300
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00436a18
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438888
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b71
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cf80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46dad4]
cmp byte [eax + 0xc], 0
je 0x43d0ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d0e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46eb68], 0
jne 0x43cfd4
push 0x43d0f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d0fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb68], eax
cmp dword [0x46cb24], 0
jne 0x43d0cf
push 0x43d10c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46cb24], eax
cmp dword [0x46cb24], 0
je 0x43d0cf
push 0x43d118
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb6c], eax
push 0x43d128
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb70], eax
push 0x43d13c
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb74], eax
push 0x43d154
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb78], eax
push 0x43d16c
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb7c], eax
push 0x43d180
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb80], eax
push 0x43d198
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb84], eax
push 0x43d1b0
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb88], eax
push 0x43d1cc
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb8c], eax
push 0x43d1d8
mov eax, dword [0x46cb24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46eb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d0ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ed8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440fc7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404148
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4486dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44872c]
test si, 4
je 0x4486f0
or bl, 1
test si, 8
je 0x4486fa
or bl, 4
test si, 1
je 0x448704
or bl, 8
test si, 2
je 0x44870e
or bl, 0x10
test si, 0x10
je 0x448718
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448727
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448768]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448749
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448758
or bl, 4
test esi, 0x20000000
je 0x448763
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ee10
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ee22
add esp, 0xfffffff0
call fcn.004034ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cea8
mov eax, dword [0x46d60c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f1b4
mov eax, dword [0x46d618]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f1c0
mov eax, ebx
call fcn.0044f1cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
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, 0x44b5e8
push eax
push 0
push 0
mov eax, dword [0x46d804]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e8f4]
call fcn.0041ff90
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e8f4]
call fcn.0041ff90
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e8f4]
call fcn.0041ff90
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f67c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f510
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f510
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f510
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ef5f
call fcn.00403504
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f2f4
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 0x44f49f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f480
mov dl, 1
mov eax, dword [0x415588]
call fcn.00403158
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ed8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f46f
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.0043d2e0
test al, al
je 0x44f462
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, 0x44f4b0
lea eax, [ebp - 0x254]
call fcn.00408d8c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f462
xor eax, eax
push ebp
push 0x44f45b
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 0x44f4e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f444
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404148
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 0x44f444
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f462
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f365
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419098
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 0x44f4a6
lea eax, [ebp - 0x260]
call fcn.00403ed8
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ebb4]
cmp byte [eax + 0xa5], 0
jne 0x44fe8d
cmp dword [0x46ebcc], 0
jne 0x44fe4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44fdd8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ebcc], eax
cmp dword [0x46ebc8], 0
jne 0x44fe69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ebc8], eax
cmp dword [0x46ebd0], 0
jne 0x44fe8d
push esp
push 0
push 0
push 0x44fd7c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46ebd0], eax
pop edx
ret
Function at 0x44ff84
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ff9b
add esp, 0xfffffff0
call fcn.004034ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cea8
mov eax, dword [0x46d7e8]
cmp word [eax + 2], 0
jne 0x44ffc3
mov eax, dword [0x46d7e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045165c
mov eax, dword [0x46d8e0]
cmp word [eax + 2], 0
jne 0x44ffdd
mov eax, dword [0x46d8e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451854
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41516c]
call fcn.00403158
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 [0x41f2fc]
call fcn.00426674
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450164
mov eax, dword [0x46d69c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426a44
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451df4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d69c]
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.0040c8c0
test eax, eax
je 0x4500d2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408780
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8e8
test eax, eax
je 0x4500e6
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.00404148
mov eax, dword [0x46d4fc]
cmp byte [eax], 0
jne 0x45011a
mov eax, ebx
call fcn.0045028c
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.00451fd0
mov eax, ebx
call fcn.00452994
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45015a
call fcn.00403504
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45050c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ebb4]
cmp dword [eax + 0x30], 0
je 0x4505b6
cmp dword [ebx + 0x94], 0
jne 0x4505b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45049c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4505b0
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 0x450576
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4505b0
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.00417508
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450585
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451118
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45114d
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.00403fc8
jmp 0x45115a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f2c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4521ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4521ed
mov eax, esi
call fcn.00438ae8
test al, al
je 0x4521ed
mov eax, dword [ebx + 0x84]
call fcn.00438888
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4521ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438888
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10001030
Capabilities:
Accept command line arguments
Link many functions at runtime

Disassembly:
push esi
cmp dword [esp + 0xc], 1
jne 0x100011ea
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push eax
call dword [0x10005368]
add esp, 4
test eax, eax
je 0x1000109d
xor ecx, ecx
jmp 0x10001067
add ecx, 1
cmp eax, ecx
je 0x1000109d
cmp word [esi + ecx*2], 0x72
jne 0x10001060
cmp word [esi + ecx*2 + 2], 0x65
jne 0x10001060
cmp word [esi + ecx*2 + 4], 0x6e
jne 0x10001060
cmp word [esi + ecx*2 + 6], 0x64
jne 0x10001060
cmp word [esi + ecx*2 + 8], 0x65
jne 0x10001060
cmp word [esi + ecx*2 + 0xa], 0x72
jne 0x10001060
mov eax, 1
jmp 0x1000109f
xor eax, eax
mov dword [0x1000d088], eax
cmp dword [0x1000d078], 0
jne 0x100011ea
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call esi
mov dword [0x1000d078], eax
push 0x1000501a
call esi
mov dword [0x1000d07c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000502e
push dword [0x1000d078]
call esi
mov dword [0x1000d08c], eax
push 0x10005043
push dword [0x1000d078]
call esi
mov dword [0x1000d090], eax
push 0x10005059
push dword [0x1000d078]
call esi
mov dword [0x1000d094], eax
push 0x1000506e
push dword [0x1000d078]
call esi
mov dword [0x1000d0a0], eax
push 0x1000507e
push dword [0x1000d078]
call esi
mov dword [0x1000d098], eax
push 0x10005099
push dword [0x1000d078]
call esi
mov dword [0x1000d09c], eax
push 0x100050b4
push dword [0x1000d078]
call esi
mov dword [0x1000d0ac], eax
push 0x100050ca
push dword [0x1000d078]
call esi
mov dword [0x1000d0b8], eax
push 0x100050df
push dword [0x1000d078]
call esi
mov dword [0x1000d0b0], eax
push 0x100050f5
push dword [0x1000d078]
call esi
mov dword [0x1000d0bc], eax
push str.NtSetInformationVirtualMemory
push dword [0x1000d07c]
call esi
mov dword [0x1000d0a8], eax
push 0x10005132
push dword [0x1000d07c]
call esi
mov dword [0x1000d0b4], eax
push str.NtQueryInformationToken
push dword [0x1000d07c]
call esi
mov dword [0x1000d0c0], eax
push str.NtSetInformationThread
push dword [0x1000d07c]
call esi
mov dword [0x1000d0a4], eax
call fcn.10001200
call fcn.100013a0
call fcn.10001470
mov dword [0x1000d058], eax
call fcn.10001590
mov eax, 1
pop esi
ret
Function at 0x10001200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push eax
call dword [0x10005368]
add esp, 4
test eax, eax
je 0x10001395
xor ecx, ecx
jmp 0x1000123b
add ecx, 1
cmp eax, ecx
je 0x10001395
cmp word [edi + ecx*2], 0x67
jne 0x10001230
cmp word [edi + ecx*2 + 2], 0x70
jne 0x10001230
cmp word [edi + ecx*2 + 4], 0x75
jne 0x10001230
push edi
call dword [0x10005368]
add esp, 4
cmp eax, 6
jb 0x10001395
mov ebx, eax
lea esi, [eax + eax]
add esi, 0xa
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10001395
mov esi, eax
lea edx, [ebx + ebx]
xor ebp, ebp
mov eax, 1
jmp 0x100012ab
mov ebp, eax
add eax, 1
cmp cx, 0x22
je 0x100012c1
cmp ebx, eax
je 0x100012c1
movzx ecx, word [edi + eax*2]
cmp cx, 0x5c
je 0x100012a0
cmp cx, 0x2f
je 0x100012a0
jmp 0x100012a2
cmp word [edi], 0x22
lea ebx, [edi + 2]
cmovne ebx, edi
mov eax, ebp
add eax, ebp
push eax
push ebx
mov edi, edx
push edx
push esi
call fcn.10001c90
add esp, 0x10
movzx eax, word [ebx + ebp*2]
or eax, 0x20
cmp ax, 0x63
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 2]
or eax, 0x20
cmp ax, 0x68
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 4]
or eax, 0x20
cmp ax, 0x72
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 6]
or eax, 0x20
cmp ax, 0x6f
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 8]
or eax, 0x20
cmp ax, 0x6d
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 0xa]
or eax, 0x20
cmp ax, 0x65
jne 0x10001385
cmp word [ebx + ebp*2 + 0xc], 0x2e
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 0xe]
or eax, 0x20
cmp ax, 0x65
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 0x10]
or eax, 0x20
cmp ax, 0x78
jne 0x10001385
movzx eax, word [ebx + ebp*2 + 0x12]
or eax, 0x20
cmp ax, 0x65
jne 0x10001385
lea eax, [esi + ebp*2]
push 0x16
push 0x100051f6
push edi
push eax
call fcn.10001c90
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100013a0
Capabilities:
Start service

Disassembly:
push ebx
push edi
push esi
push eax
push str.chrome.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10001466
push str.IsSandboxedProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000d0c4], eax
test eax, eax
je 0x10001413
call eax
test al, al
je 0x10001429
push str.dwrite.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10001466
mov esi, eax
mov dword [esp], 0
mov eax, esp
push eax
push esi
call fcn.100020b0
add esp, 8
push dword [esp]
push eax
push esi
push section..data
push str.ADVAPI32.DLL
call fcn.10002100
add esp, 0x14
jmp 0x10001466
push 0x40
push str._BUG_
push str.Function__IsSandboxedProcess____not_found_in_EXPORT_TABLE__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10001466
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x10001466
mov esi, eax
push 0x14
push str.FontCache
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x10001466
mov edi, eax
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call ebx
push esi
call ebx
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x10001860
Capabilities:
Get uefi variable

Disassembly:
mov eax, dword [0x1000d0a0]
test eax, eax
je 0x1000186b
jmp eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
push str.00000000_0000_0000_0000_000000000000
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 1
sete cl
mov eax, 2
sub eax, ecx
ret 4

Function at 0x100020b0
Capabilities:
Parse pe header

Disassembly:
push esi
mov ecx, dword [esp + 8]
movzx edx, word [ecx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x100020fe
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x100020fe
movzx esi, word [ecx + edx + 0x18]
cmp esi, 0x20b
je 0x100020e8
xor eax, eax
movzx esi, si
cmp esi, 0x10b
jne 0x100020fc
mov eax, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x84]
mov dword [eax], esi
mov eax, dword [ecx + edx + 0x80]
add eax, ecx
pop esi
ret