joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5002
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb44f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x28], 0x3f
mov byte [ebp - 0x27], 0x5c
mov byte [ebp - 0x26], 0x3a
mov byte [ebp - 0x25], 0x21
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x23], 0x7e
mov byte [ebp - 0x22], 0x24
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x20], 0x2b
mov byte [ebp - 0x1f], 0x2d
mov byte [ebp - 0x1e], 0x5f
mov byte [ebp - 0x1d], 0x40
mov byte [ebp - 0x1c], 0x5e
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0x1a], 0x28
mov byte [ebp - 0x19], 0x29
mov byte [ebp - 0x18], 0x2a
mov byte [ebp - 0x17], 0x7b
mov byte [ebp - 0x16], 0x7d
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x22
mov byte [ebp - 0x13], 0x27
mov byte [ebp - 0x12], 0x3c
mov byte [ebp - 0x11], 0x3e
mov byte [ebp - 0x10], 0x2c
mov byte [ebp - 0xf], 0x3d
mov byte [ebp - 0xe], 0x3b
lea ecx, [ebp - 0x34]
call fcn.00401900
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004e82b5
push 0x40
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x58], eax
call fcn.0044e43f
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x4c50f7
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x40]
jmp 0x4c51b7
mov dword [ebp - 0x30], 0
jmp 0x4c5109
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x1b
jge 0x4c519e
push 1
push 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
call fcn.004e167d
mov byte [ebp - 4], 1
push 1
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp + eax - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004e12c2
mov byte [ebp - 4], 2
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0043c2b0
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004e812c
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
test ecx, ecx
je 0x4c518d
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x4c]
jmp 0x4c51b7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e812c
jmp 0x4c5100
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c6782
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x28], 0x3f
mov byte [ebp - 0x27], 0x5c
mov byte [ebp - 0x26], 0x3a
mov byte [ebp - 0x25], 0x21
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x23], 0x7e
mov byte [ebp - 0x22], 0x24
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x20], 0x2b
mov byte [ebp - 0x1f], 0x2d
mov byte [ebp - 0x1e], 0x5f
mov byte [ebp - 0x1d], 0x40
mov byte [ebp - 0x1c], 0x5e
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0x1a], 0x28
mov byte [ebp - 0x19], 0x29
mov byte [ebp - 0x18], 0x2a
mov byte [ebp - 0x17], 0x7b
mov byte [ebp - 0x16], 0x7d
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x22
mov byte [ebp - 0x13], 0x27
mov byte [ebp - 0x12], 0x3c
mov byte [ebp - 0x11], 0x3e
mov byte [ebp - 0x10], 0x2c
mov byte [ebp - 0xf], 0x3d
mov byte [ebp - 0xe], 0x3b
lea ecx, [ebp - 0x34]
call fcn.00401900
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004e82b5
push 0x40
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x58], eax
call fcn.0044e43f
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x4c6877
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x40]
jmp 0x4c6937
mov dword [ebp - 0x30], 0
jmp 0x4c6889
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x1b
jge 0x4c691e
push 1
push 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
call fcn.004e167d
mov byte [ebp - 4], 1
push 1
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp + eax - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004e12c2
mov byte [ebp - 4], 2
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0043c2b0
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004e812c
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
test ecx, ecx
je 0x4c690d
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x4c]
jmp 0x4c6937
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004e812c
jmp 0x4c6880
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e0c20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004d0180
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4e0ceb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4e0ceb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4e0c9e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4e0ca9
or bh, 8
and edi, 0x8000000
je 0x4e0cc4
mov eax, dword [0x541d1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4e0ceb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e10c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e10eb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4e110f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4e112a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4e416e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4e4190
cmp dword [edi + 0x3c], 0
jne 0x4e4190
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004eddfe
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004e41bd
pop edi
pop esi
pop ebx
ret 8

Function at 0x4e586b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e58a3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e85d3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e85ab
jmp 0x4e58af
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e6f3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e6f7e
call fcn.004eddfe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e6f7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e6f75
xor eax, eax
jmp 0x4e6f86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e6f8c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4eeb6e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4eeb9c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4eebba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eead4
jmp 0x4eebba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eebba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eead4
test edi, edi
mov eax, edi
jne 0x4eeba4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10004320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000433f
xor eax, eax
jmp 0x100043ba
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004355
xor eax, eax
jmp 0x100043ba
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x1000439d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x1000439d
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10004376
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100043a9
xor eax, eax
jmp 0x100043ba
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x100043b7
xor eax, eax
jmp 0x100043ba
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10009cf3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009cfc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009d39
mov eax, dword [ebp - 0xc]
jmp 0x10009d8f
cmp dword [ebp - 4], 1
je 0x10009d4a
cmp dword [ebp - 4], 2
je 0x10009d4a
push 0xd
pop eax
jmp 0x10009d8f
cmp dword [ebp + 0xc], 0
je 0x10009d83
cmp dword [ebp - 8], 0
je 0x10009d7c
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10009d75
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x10009d7a
push 0xd
pop eax
jmp 0x10009d8f
jmp 0x10009d83
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10009dba
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.1001dd66
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10009b42
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009e18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009bb4
mov eax, dword [ebp - 0x21c]
jmp 0x10009ea7
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10009e7d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009dba
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009e74
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009bb4
mov eax, dword [ebp - 0x220]
jmp 0x10009ea7
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x10009e1f
lea ecx, [ebp - 0x10]
call fcn.10009b87
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.10009c59
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009bb4
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e011
leave
ret 4
Function at 0x1000f6c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100c8698
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000f77e
jmp 0x1000f7f2
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e011
leave
ret

Function at 0x1001372e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.1002081d
test eax, eax
je 0x10013793
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x10013789
cmp dword [ebp + 8], 0x1b
jne 0x1001376f
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020936
jmp 0x10013789
cmp dword [ebp + 8], 0xd
jne 0x10013789
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020936
push 0
mov ecx, dword [ebp - 4]
call fcn.1001383d
leave
ret 0xc
Function at 0x1002917b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000f8a3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100291ac
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100291ac
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x10032529
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x1003255a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x10032638
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f594
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003262e
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.1003194a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x1003262e
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000f61a
mov ecx, dword [ebp - 8]
call fcn.1002519a
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10032610
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x10032610
push 1
push 0
push 0
push dword [ebp - 0x10]
push 0x100c942c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x1003262e
mov ecx, dword [ebp - 8]
call fcn.100250cf
test eax, eax
je 0x1003262e
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.100250cf
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x10032699
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.100343f2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034451
mov ecx, eax
call fcn.1003338d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x100348f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x100349c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x100349be
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x100349be
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003495c
mov byte [ebp - 1], 1
jmp 0x100349be
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10034966
jmp 0x100349be
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100349a1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x100349a1
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x100349b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x100349b9
jmp 0x100349be
jmp 0x10034919
jmp 0x100349e2
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x100349e2
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4