joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100651c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101fe070]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1006521c
cmp dword [esp + 4], 6
jb 0x1006521c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1015c023
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.1015c023
add esp, 0x118
ret
Function at 0x10065cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x101fe070]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x244]
test ebx, ebx
je 0x10065dfb
mov eax, dword [ecx]
test eax, eax
je 0x10065dfb
push edi
push str.RegQueryValueExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10065dfa
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [esp + 0x10], 0x208
cmp dword [esi + 0x14], 8
jb 0x10065d29
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push esi
push ebx
call edi
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10065d42
sub eax, edx
lea ecx, [ebp + 0x38]
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100090a0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push ebx
call edi
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10065d84
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.100090a0
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push ebx
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call edi
pop edi
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1015c023
add esp, 0x230
ret 0xc
Function at 0x10067160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190d28
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [ebp - 0x14], 0
call fcn.1015c042
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.1015e8b0
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100671e4
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000d2f0
test al, al
je 0x10067211
lea ecx, [ebp - 0x14]
call fcn.1000c630
test al, al
jne 0x10067211
xor bl, bl
jmp 0x100672ae
lea esi, [edi + 4]
push esi
push 0
call fcn.10118b70
add esp, 8
test al, al
jne 0x10067237
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10067232
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
push esi
push 0x1a
call fcn.10118b70
add esp, 8
test al, al
jne 0x1006725d
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10067258
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
push esi
push 2
call fcn.10118b70
add esp, 8
test al, al
jne 0x10067283
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1006727e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
push esi
push 0xb
call fcn.10118b70
add esp, 8
test al, al
jne 0x100672a9
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100672a4
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000be80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret
Function at 0x10067360
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190d71
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x100673a4
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100673be
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x100673f3
add eax, 2
sub ecx, 1
jne 0x100673b0
push esi
mov ecx, edi
call fcn.10008eb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x100673be
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x100673be
push esi
lea ecx, [ebp - 0x28]
call fcn.10008eb0
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1006741a
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10067492
push esi
mov ecx, edi
call fcn.10008eb0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10067479
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006746f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067552
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100673d4
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1015ca47
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x100674b9
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x100674f9
cmp eax, dword [ebp - 0x34]
ja 0x100674f9
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100674e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100090a0
push esi
call fcn.1015c847
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x100673d4
call fcn.101616ac
int3
Function at 0x1006f7e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019189c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101fe070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10009040
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10009040
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10009040
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10009040
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10009040
push 0x88
push ebx
call fcn.1015c4d3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10075330
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187468
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008eb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000fdc0
add esp, 4
cmp dword [ebp - 0x18], 2
jbe 0x1007543c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x100753ae
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x5c
jne 0x100753ae
mov bl, 1
jmp 0x100754a5
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x100753d1
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x100754a3
push 0x5c
lea eax, [ebp - 0x28]
push 0x2f
push eax
call fcn.1000fbb0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
add esp, 0xc
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
jmp 0x1007548c
jne 0x100754a3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x100754a3
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x100754a3
push 1
push 0x101c06b8
lea ecx, [ebp - 0x28]
call fcn.10009360
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100754a3
shr eax, 4
mov bl, 1
and al, 1
mov byte [esi], al
jmp 0x100754a5
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100754e2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100754d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10075513
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret
call fcn.101616ac
int3
Function at 0x100768e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192569
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101fe070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [edi + 0x24]
call fcn.1007d0d0
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x30]
mov eax, dword [ebp + 8]
mov dword [edi], vtable.RC::RCMiniUISimpleWindow.0
mov dword [edi + 0x24], vtable.RC::RCMiniUISimpleWindow.1.0
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10078350
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x100783b5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x10078395
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100783ab
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100783ab
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x100783ab
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x102056ac], 0
jne 0x100783f5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100783e7
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102056b0], eax
mov byte [0x102056ac], 1
jmp 0x100783fa
mov eax, dword [0x102056b0]
mov byte [0x102056ac], 1
jmp 0x100783fa
mov eax, dword [0x102056b0]
test eax, eax
je 0x10078410
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x10078d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x10192c73
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x40c], 0
mov dword [ebp + 0x40c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call fcn.1015e8b0
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x10078e1e
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x10078e1e
call fcn.10078060
mov edi, eax
jmp 0x10078f29
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10078e3b
call fcn.10078060
jmp 0x10078f1c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x10078e56
call fcn.10078060
jmp 0x10078f1c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x10078e74
mov edi, 0x8007000e
jmp 0x10078f1e
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
test edx, edx
ja 0x10078f6b
jb 0x10078e98
cmp eax, 0xffffffff
ja 0x10078f6b
cmp eax, 0x400
jbe 0x10078eb1
push eax
lea ecx, [ebp]
call fcn.1007be60
mov dword [ebp - 4], 1
jmp 0x10078ed6
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x10078ed6
mov eax, dword [ebp]
test eax, eax
jne 0x10078ee4
mov edi, 0x8007000e
jmp 0x10078f1e
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10078eff
call fcn.10078060
jmp 0x10078f1c
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x428]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.10079c10
mov edi, eax
test esi, esi
je 0x10078f29
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10078f3d
lea ecx, [ebp]
call fcn.1007be50
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1015c023
lea esp, [ebp + 0x414]
pop ebp
ret 0x10
push 0x80070216
call fcn.10076830
int3
Function at 0x1007ccd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101fe070]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [esp + 0x128]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.1015e8b0
push 0x110
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x114
push 0
push eax
call fcn.1015e8b0
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1007cd30
cmp dword [esp + 0xc], 6
mov eax, 0x30
jae 0x1007cd35
mov eax, 0x2c
push edi
mov dword [esi], eax
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [0x1020389c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x134]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x11c]
pop edi
mov dword [esi + 0x28], 0
pop esi
xor ecx, esp
call fcn.1015c023
add esp, 0x118
ret 0x18
Function at 0x1007d0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193722
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101fe070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x14
mov dword [eax], vtable.RC::RCMiniUIWindow.0
call fcn.1015c042
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea esi, [edi + 4]
mov dword [edi], 1
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000dff0
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100663d0
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [ebp - 4], 7
mov edi, eax
push 0x78
mov dword [edi], vtable.RC::RCMiniUIDialogView.0
lea esi, [edi + 0x4c]
mov dword [edi + 0x10], 0xae
mov dword [edi + 0x14], 0xaf
mov dword [edi + 0x1c], edi
mov dword [edi + 0x24], edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], vtable.RC::RCMiniUIBounceWndHandler.0
mov dword [edi + 0x48], edi
call fcn.1015c042
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
movaps xmm0, xmmword [0x101ce080]
movsd xmm1, qword [0x101cde30]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x101ce050]
movsd qword [eax + 0x18], xmm1
movups xmmword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm1
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov byte [ebp - 4], 9
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x54], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
xorps xmm0, xmm0
mov dword [eax + 0x64], 0
movsd qword [eax + 0x68], xmm0
mov dword [eax + 0x70], 1
mov dword [eax + 0x38], SysReAllocString
mov dword [eax + 0x3c], SysReAllocString
mov byte [ebp - 4], 7
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 0xd
push 0x60
mov byte [esi], 0
mov byte [edi + 0x4d], 0xff
call fcn.1015c042
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.1007ce20
mov byte [ebp - 4], 0xd
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10080ea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 0x12
mov ebp, ecx
mov dword [eax], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [ebp + 4]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10080f0e
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x10080f0e
mov eax, dword [esp + 0x20]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x10080f20
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0x12
mov dword [esp + 0x14], ecx
mov dword [ebp], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [esp + 0x10]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x10080f8e
mov eax, dword [ecx]
push esi
push edi
push ebx
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x10080fa9
cmp dword [ebp], 0
jne 0x10080fb0
mov eax, dword [esp + 0x10]
push esi
push edi
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10080fb0
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x10082210
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193d18
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x101fe070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], 0x82080000
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov word [esi + 0xc], ax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], al
push 0x18
movups xmmword [esi + 0x10], xmm0
call fcn.1015c042
add esp, 4
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret