joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006ac7e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100c416c
call fcn.100a35ac
sub esp, 0x840
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x1006acc5
mov bl, 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x30], ebx
call fcn.1003e953
pop ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10003561
push str.SiteAllow
push 0x100cd86c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.100047f1
push ebx
lea ecx, [ebp - 0x14]
call fcn.1000357f
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x1006ad40
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1006aca7
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov esi, 0x400
xor edi, edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x84c]
push eax
push edi
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1006adbe
push ebx
lea ecx, [ebp + 8]
call fcn.1000357f
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.100614fa
pop ecx
pop ecx
cmp eax, ebx
je 0x1006adbb
lea ecx, [ebp - 0x24]
call fcn.10001489
lea ecx, [ebp - 0x24]
call fcn.10001489
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1006aca5
inc edi
jmp 0x1006ad51
lea ecx, [ebp - 0x24]
call fcn.10001489
lea ecx, [ebp - 0x24]
call fcn.10001489
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
xor al, al
jmp 0x1006acb4
Function at 0x1006bb2c
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x4c
mov eax, 0x100c4358
call fcn.100a35ac
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov edi, ecx
mov dword [ebp - 4], esi
call fcn.10064264
push dword [ebp + 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006bc03
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x44], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp]
push eax
call fcn.1007fe93
pop ecx
pop ecx
push esi
push str._IID_
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10050e8e
cmp eax, 0xffffffff
je 0x1006bbf8
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push str.TOOLBAR
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push 0x100cb0a0
mov byte [ebp - 4], 3
call fcn.10005f07
push 1
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.10003561
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10089796
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.10088bcb
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100888f7
push esi
push 1
lea ecx, [ebp]
call fcn.100035a9
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x50
leave
ret

Function at 0x1006bca0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c4382
call fcn.100a35ac
sub esp, 0x4c
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 4], esi
call fcn.10064264
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006bd01
mov ecx, dword [ebp + 8]
push 0x100cb0a0
call fcn.10005f07
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp - 0x58]
push eax
call fcn.1007fe93
pop ecx
pop ecx
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 2
jae 0x1006bd2b
lea eax, [ebp - 0x54]
mov ecx, dword [ebp + 8]
push eax
call fcn.10005f07
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.100035a9
jmp 0x1006bce2

Function at 0x1006c2ff
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x13b8], eax
jne 0x1006c34f
cmp byte [esi + 0x13b0], al
je 0x1006c34f
cmp byte [esi + 0x13b1], al
jne 0x1006c34f
lea ecx, [esp + 4]
push ecx
push 4
push dword [esi + 4]
push 0x10067a07
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfffffffffffffffe
push eax
mov dword [esi + 0x13b8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x13b8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret
Function at 0x10075e91
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x10075ea8
movsx edx, byte [ecx]
imul eax, eax, 0x1000193
xor eax, edx
inc ecx
cmp ecx, dword [esp + 8]
jne 0x10075e9c
ret

Function at 0x100790c8
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push edi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a1cc0
push dword [esi]
mov edi, eax
push edi
call fcn.100a56ba
push edi
push 0
push 0x10078f5c
call fcn.100a57da
add esp, 0x18
pop edi
pop esi
ret
Function at 0x1007d0bb
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x100c5724
call fcn.100a35ac
sub esp, 0x74
push ebx
push esi
push edi
push dword [ebp + 0x4c]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007d100
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001d29
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x44
leave
ret
push edi
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp + 0x1c]
push eax
call fcn.1007fe48
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x30], edi
jne 0x1007d141
xor esi, esi
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.100035a9
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1007d0ee
push 0x68
call fcn.100a2ba4
pop ecx
mov ecx, eax
mov dword [ebp + 0x40], ecx
mov byte [ebp - 4], 2
cmp ecx, edi
je 0x1007d160
call fcn.1007cdc7
mov dword [ebp + 0x3c], eax
jmp 0x1007d163
mov dword [ebp + 0x3c], edi
mov esi, dword [ebp + 0x3c]
push edi
push edi
push edi
push edi
push edi
push str.affiliateMerchants
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10080634
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 3
jae 0x1007d18d
lea eax, [ebp + 0x20]
push edi
push edi
push edi
push eax
lea ecx, [ebp - 0x80]
call fcn.1008184d
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
add esi, 8
sar eax, 2
xor ebx, ebx
test eax, eax
jbe 0x1007d285
push ebx
mov ecx, esi
mov dword [ebp + 0x38], edi
call fcn.10001bf2
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
sub ecx, dword [eax + 0x38]
add eax, 0x2c
sar ecx, 2
test ecx, ecx
jbe 0x1007d273
push ebx
mov ecx, esi
call fcn.10001bf2
mov ecx, dword [eax]
push dword [ebp + 0x38]
add ecx, 0x2c
call fcn.10001bf2
mov eax, dword [eax]
add eax, 8
push dword [eax]
lea ecx, [ebp + 0x40]
call fcn.100027e0
mov ecx, dword [eax]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x1007d205
call fcn.100598b3
jmp 0x1007d207
xor eax, eax
push eax
lea ecx, [ebp]
call fcn.1000586e
mov ecx, dword [ebp + 0x40]
mov byte [ebp - 4], 6
cmp ecx, edi
je 0x1007d223
call fcn.10003111
mov dword [ebp + 0x40], edi
push ebx
mov ecx, esi
call fcn.10001bf2
mov ecx, dword [ebp + 0x3c]
push eax
lea eax, [ebp]
push eax
add ecx, 0x20
call fcn.1007cfe7
mov ecx, eax
call fcn.1001ee78
push edi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.10003516
inc dword [ebp + 0x38]
push ebx
mov ecx, esi
call fcn.10001bf2
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
sub ecx, dword [eax + 0x38]
add eax, 0x2c
sar ecx, 2
cmp dword [ebp + 0x38], ecx
jb 0x1007d1d0
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x1007d1af
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10080603
mov esi, dword [ebp + 0x3c]
jmp 0x1007d127
Function at 0x1007faa6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c5a86
call fcn.100a35ac
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007fb6c
mov esi, 0x101176a4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1007fb65
cmp ecx, 0xffffffff
je 0x1007fb5e
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.10003561
mov ecx, esi
call fcn.1007fa42
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x1c]
jne 0x1007fb59
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jne 0x1007fb59
push dword [ebp - 0x10]
lea edi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x1007fb6e
push dword [ebp - 0x10]
jmp 0x1007fb5f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x1007fb7d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c5a86
call fcn.100a35ac
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007fc36
mov esi, 0x101176a4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1007fc2f
cmp ecx, 0xffffffff
je 0x1007fc28
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.10003561
mov ecx, esi
call fcn.1007fa42
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [eax + 8]
call fcn.10005455
push dword [ebp - 0x10]
jmp 0x1007fc29
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10080d26
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c5c24
call fcn.100a35ac
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
test edi, edi
jne 0x10080d47
xor al, al
jmp 0x10080e90
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xd], 1
call fcn.1001724e
mov eax, dword [edi + 0x10]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.1001724e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10075d80
test al, al
jne 0x10080e7c
lea ecx, [ebp - 0x34]
call fcn.100168ac
mov esi, dword [eax]
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.10002a34
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x10080e4e
push ebx
lea edi, [esi + 0x18]
push edi
push 0
push ecx
lea eax, [esi + 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.10003561
xor eax, eax
push eax
push eax
push dword [esi + 0x10]
add esi, 0xc
push ecx
mov dword [ebp - 0x28], esp
mov ecx, esp
push esi
mov dword [ebp - 4], eax
call fcn.10003561
push ecx
mov dword [ebp - 0x2c], esp
mov ecx, esp
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10003561
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100808cd
cmp byte [edi], 0
je 0x10080e39
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.100404f4
push dword [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10005363
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10004a20
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001d29
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 8]
dec eax
neg eax
sbb al, al
inc al
and byte [ebp - 0xd], al
lea ecx, [ebp - 0x34]
call fcn.1001687d
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001724e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10075d80
test al, al
je 0x10080d79
cmp byte [ebp - 0xd], 0
je 0x10080e8e
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
test eax, eax
jbe 0x10080e8e
xor eax, eax
inc eax
jmp 0x10080e90
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10080ea1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c5a28
call fcn.100a35ac
mov eax, dword [ebp + 0xc]
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001724e
mov eax, dword [edi + 0x10]
push edi
push eax
jmp 0x10080fec
lea ecx, [ebp - 0x1c]
call fcn.100168ac
mov eax, dword [eax]
lea esi, [eax + 0x1c]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
je 0x10080fe0
cmp byte [eax + 0x18], bl
je 0x10080f90
lea eax, [ebp - 0x8c]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1008100a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1008100a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x1008100a
push 0x24
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.100a2490
movzx eax, word [ebp - 0x34]
sub eax, 0x76c
mov dword [ebp - 0x54], eax
movzx eax, word [ebp - 0x32]
dec eax
mov dword [ebp - 0x58], eax
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x60], eax
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0x64], eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x68], eax
call fcn.100a86be
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x68]
push eax
call fcn.100a7118
add esp, 0x10
mov edi, eax
jmp 0x10080fd4
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x100cb0a0
call fcn.10005f07
push ebx
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
mov dword [ebp - 4], ebx
call fcn.10003561
or dword [ebp - 4], 0xffffffff
call fcn.100400d9
mov edi, eax
add esp, 0xc
cmp edi, ebx
jle 0x10080fd2
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10080fd0
xor edi, edi
cmp edi, ebx
je 0x1008100a
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax]
jle 0x10080fdd
mov dword [eax], edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.1001687d
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x24]
call fcn.1001724e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10075d80
test al, al
je 0x10080ed5
jmp 0x1008100f
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x100820ed
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x4c]
jne 0x10082131
push dword [esi + 4]
call fcn.10081fe2
pop ecx
test al, al
jne 0x10082131
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10081fe2
pop ecx
test al, al
jne 0x10082131
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x4c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10

Function at 0x10083fcd
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x100c5ea8
call fcn.100a35ac
push esi
mov esi, ecx
cmp dword [esi + 0x1dc], 0
push edi
jne 0x10083ffe
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xec]
call edi
push 0
push dword [esi + 0x158]
call edi
mov eax, dword [esp + 0x28]
and dword [eax], 0
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x100856c3
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x100c5ea8
call fcn.100a35ac
push esi
push edi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
add esi, 0x28
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x1008571a
push edi
mov ecx, esi
call fcn.10001bf2
mov eax, dword [eax]
test eax, eax
je 0x1008570c
mov eax, dword [eax + 0xc]
push 0
push 0
push 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x100856ec
mov ecx, esi
call fcn.100884f0
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x100865c2
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x100c62c3
call fcn.100a35ac
sub esp, 0x30
push ebx
push esi
push edi
mov esi, 0x101176e8
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10084f88
test eax, eax
je 0x10086619
mov ecx, esi
call fcn.10084f88
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 8
call fcn.100a2ba4
pop ecx
cmp eax, ebx
je 0x10086632
mov dword [eax], 0x10117700
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x10086634
xor edi, edi
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push 0x1008652b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x100865f8
Function at 0x10089796
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c67b7
call fcn.100a35ac
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edi, 0x101185a8
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], 2
mov dword [esi], vtable.LayoutManager.0
call fcn.1005a319
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.1001bdaf
lea ebx, [esi + 0x30]
push edi
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1005a319
lea ecx, [esi + 0x34]
push edi
mov byte [ebp - 4], 5
call fcn.1005a319
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.10004a20
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
call fcn.10004a20
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], edi
call fcn.10004a20
push 0x1a0
call fcn.100a2ba4
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x10089843
push ebx
mov ecx, eax
call fcn.10021ad9
jmp 0x10089845
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 8], eax
cmp edi, ebx
je 0x1008985b
lea eax, [edi + 0xb8]
mov dword [ebp + 8], eax
jmp 0x1008985e
mov dword [ebp + 8], ebx
push ebx
lea ecx, [esi + 0x30]
call fcn.1000357f
push 1
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x84]
push dword [edi + 0x12d4]
push ebx
push eax
push dword [esi + 8]
call fcn.10080634
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.1008184d
mov eax, dword [esi + 8]
add edi, 0xb8
mov ecx, esi
mov dword [eax + 0x15c], edi
call fcn.1008922d
mov ecx, esi
call fcn.10088409
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.10080603
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14