joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c5ba
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x100c5db
xor eax, eax
jmp 0x100c601
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100c103
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x100c5fe
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x100e91f
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x1027010]
mov edi, dword [ebp + 0xc]
cmp eax, 0x1027010
je 0x100e95a
test byte [eax + 0x1c], 2
je 0x100e95a
cmp byte [eax + 0x19], 2
jb 0x100e95a
push edi
push 0x1002200
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100d360
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0100e65b
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100ea66
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov esi, eax
cmp esi, ebx
jl 0x100ea59
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x40], esi
push 4
mov dword [ebp - 0x1c], eax
pop ecx
mov esi, 0x1004e04
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov dword [ebp - 0x3c], 0x404
mov dword [ebp - 0x24], 1
jne 0x100e9d2
mov dword [ebp - 0x34], 0x10023c0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100ea3a
cmp dword [0x1027684], ebx
je 0x100ea36
mov al, byte [0x1027688]
cmp al, 4
jae 0x100e9f5
cmp al, bl
jne 0x100ea36
mov ecx, dword [0x1027674]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x100ea36
mov ecx, dword [0x102767c]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x1027678]
jne 0x100ea36
cmp eax, ecx
jne 0x100ea36
push 0x1001da0
push dword [0x102765c]
push dword [0x1027658]
call fcn.0100d33f
xor esi, esi
jmp 0x100ea50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100ea4e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, ebx
jge 0x100ea8c
mov eax, dword [0x1027010]
cmp eax, 0x1027010
je 0x100ea8c
test byte [eax + 0x1c], 2
je 0x100ea8c
push esi
push esi
push 0x1002200
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100d38b
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x1012c87
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 8]
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp esi, edi
je 0x1012d46
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x1012d3f
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1012d20
push dword [ebp + 0xc]
xor eax, eax
push edi
mov word [ebx + esi*2 - 2], ax
mov esi, dword [sym.imp.SHELL32.dll_SHDefExtractIconW]
lea eax, [ebp + 8]
push eax
push 2
push edi
push ebx
mov dword [ebp + 8], edi
call esi
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x1012d19
push ebx
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
push edi
push ecx
push 2
push eax
push ebx
call esi
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1012d20
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x1012d36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1012d34
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x1012d5c
mov edi, 0x8007000e
jmp 0x1012d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1012d5a
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1016976
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1027474]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0101690b
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x10169e9
cmp dword [ebp - 0x94], 5
jb 0x1016a0a
jmp 0x1016a06
cmp dword [ebp - 0x88], 1
jne 0x1016a0a
cmp dword [ebp - 0x94], 4
ja 0x1016a06
jne 0x1016a0a
cmp dword [ebp - 0x90], 0
jbe 0x1016a0a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1004ce4
call fcn.01008655
test eax, eax
jge 0x1016a2b
mov byte [0x10275a8], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01016fbd
leave
ret
Function at 0x1016c78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x102775c], 0
push esi
jne 0x1016be6
call fcn.01016add
test eax, eax
je 0x1016c29
mov eax, dword [0x102775c]
cmp eax, 1
jne 0x1016c07
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1016c29
pop esi
ret
push eax
call dword [0x1027764]
test eax, eax
jne 0x1016c71
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 0x1016c2d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x102775c]
call dword [0x1027764]
mov edi, eax
test edi, edi
je 0x1016c52
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1016c6e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x102775c]
call dword [0x1027760]
add edi, 0x10
cmp edi, esi
jb 0x1016c5a
mov eax, edi
pop edi
pop esi
ret
jmp 0x1016bd3
Function at 0x1016f8b
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1024eb0
call fcn.01017010
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1027eec
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1016d46
cmp eax, esi
jne 0x1016d39
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1016d49
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1016d20
xor esi, esi
inc esi
mov eax, dword [0x1027ee8]
cmp eax, esi
jne 0x1016d5c
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1016d8b
mov eax, dword [0x1027ee8]
test eax, eax
jne 0x1016d85
mov dword [0x1027ee8], esi
push 0x10014e8
push 0x10014dc
call fcn.01016c82
pop ecx
pop ecx
test eax, eax
je 0x1016d8b
jmp 0x1016eaf
mov dword [0x1027788], esi
mov eax, dword [0x1027ee8]
cmp eax, esi
jne 0x1016daf
push 0x10014d8
push 0x10014b8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1027ee8], 2
cmp dword [ebp - 0x20], ebx
jne 0x1016dbc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1027ef8], ebx
je 0x1016ddd
push 0x1027ef8
call fcn.01017439
pop ecx
test eax, eax
je 0x1016ddd
push ebx
push 2
push ebx
call dword [0x1027ef8]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1016eaf
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1016e47
cmp cx, bx
je 0x1016e02
cmp dword [ebp - 0x1c], ebx
jne 0x1016e47
movzx ecx, word [eax]
cmp cx, bx
je 0x1016e17
cmp cx, 0x20
ja 0x1016e17
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1016e02
test byte [ebp - 0x40], 1
je 0x1016e23
movzx ecx, word [ebp - 0x3c]
jmp 0x1016e26
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1027784], eax
cmp dword [0x1027778], ebx
jne 0x1016e8c
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1016e58
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1016dec
cmp dword [0x1027788], ebx
jne 0x1016e9a
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1027784]
jmp 0x1016ebb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01017055
ret
call fcn.0101757e
jmp 0x1016ce3

Function at 0x101a587
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], edx
jne 0x101a59b
mov dword [ecx], 0x811c9dc5
push esi
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
imul eax, eax, 0x1000193
mov dword [ecx], eax
movzx esi, byte [edx + esi]
xor esi, eax
inc edx
mov dword [ecx], esi
cmp edx, 0x10
jb 0x101a59c
pop esi
pop ebp
ret 8
Function at 0x101ead6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], ecx
cmp dword [ecx], eax
jne 0x101eb75
cmp dword [ecx + 4], eax
jne 0x101eb75
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push edi
mov dword [ecx + 4], 1
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push 0x20
push 0x1006664
mov ebx, 0x1006618
push ebx
mov edi, 0x80000002
push edi
mov dword [ebp - 4], eax
call esi
test eax, eax
jne 0x101eb72
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x101eb72
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0x20
push 0x1006664
push ebx
push edi
call esi
test eax, eax
jne 0x101eb69
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
and dword [ebp - 8], 0
mov dword [ecx], eax
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101f8e6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1027474]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov word [ebp - 0x54], ax
push 0x28
lea eax, [ebp - 0x54]
mov esi, ecx
push eax
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x54]
push eax
push 0x1006618
push 0x1002368
lea eax, [ebp - 0x25c]
push 0x104
push eax
mov dword [ebp - 0x264], 4
call fcn.01007b68
add esp, 0x14
test eax, eax
jl 0x101f982
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0x10
push 0x1006784
lea eax, [ebp - 0x25c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x101f982
cmp dword [ebp - 0x260], eax
sete al
jmp 0x101f995
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x1027ac0
call fcn.0101eb7c
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0xd8], eax
xor ecx, ebp
pop esi
call fcn.01016fbd
leave
ret
Function at 0x1020f86
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov dword [ebp - 8], ebx
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x1021166
cmp dword [ebp - 8], ebx
je 0x1021161
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
push ebx
or edi, 0xffffffff
push edi
push 0x1006cc8
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
cmp eax, 2
jne 0x1020fe9
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.01020974
jmp 0x10210ae
push ebx
push edi
push 0x1006740
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x102100c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.010207e6
jmp 0x10210ae
push ebx
push edi
push 0x1006cb4
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x1021032
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01020a84
jmp 0x10210ae
push ebx
push edi
push 0x1006ca0
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x102104c
lea eax, [ebp - 4]
push eax
push 1
jmp 0x1021063
push ebx
push edi
push 0x1006c88
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x102106d
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call fcn.01020cab
jmp 0x10210ae
push ebx
push edi
push 0x1006c60
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x102108d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call fcn.01024a12
jmp 0x10210ae
push ebx
push edi
push 0x1006c4c
push edi
push dword [ebp - 8]
call esi
cmp eax, 2
jne 0x10210b2
lea eax, [ebp - 4]
push eax
push 0x1002728
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
mov esi, eax
jmp 0x10210b7
mov esi, 0x80070057
cmp esi, ebx
jl 0x1021166
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x1021140
lea ecx, [ebp + 8]
push ecx
push 2
pop ecx
mul ecx
push edx
push eax
call fcn.0100d65e
mov esi, eax
cmp esi, ebx
jl 0x1021156
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, eax
cmp edi, ebx
je 0x1021132
mov esi, dword [ebp + 0x10]
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x102111a
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
xor edi, edi
xor esi, esi
jmp 0x1021137
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x102112e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1021137
mov esi, 0x8007000e
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1021156
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1021154
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1021166
mov esi, 0x80070057
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x102482b
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
pop eax
push 0
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x67
call dword [sym.imp.ntdll.dll_RtlGetNativeSystemInformation]
pop edi
test eax, eax
jl 0x1024862
test dword [ebp - 4], 2
je 0x1024862
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x1001fae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov esi, dword [ebp + 8]
push edi
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov eax, dword [ebp + 0xc]
sub eax, 5
je 0x10020b8
sub eax, 6
je 0x1002083
sub eax, 8
je 0x100206c
dec eax
dec eax
je 0x1002059
dec eax
je 0x1002021
dec eax
dec eax
jne 0x10020b4
push dword [ebp + 8]
lea esi, [edi + 0x1c]
xor dword [esi], 0x800
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x100201c
mov ecx, dword [esi]
shr ecx, 8
and ecx, 8
push ecx
push 0x18
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push esi
jmp 0x1002048
lea ecx, [edi + 0x1c]
mov eax, dword [ecx]
test al, 2
jne 0x10020b4
xor eax, 0x20
test al, 0x20
mov dword [ecx], eax
je 0x100203e
and eax, 0xfffffdff
jmp 0x1002043
or eax, 0x200
push 0
mov dword [ecx], eax
push ecx
call fcn.01008742
push 0
push 1
push edi
call fcn.01001f70
jmp 0x10020b4
push esi
push edi
call fcn.01005640
test eax, eax
je 0x10020b4
push 0
lea eax, [edi + 0x1c]
push eax
jmp 0x1002048
push 0
push 0
push 0x8069
push dword [edi + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10020b4
push 0x100
lea eax, [ebp - 0x200]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x37
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
lea eax, [ebp - 0x200]
push eax
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
xor eax, eax
jmp 0x10020c5
push 0
push 0
push edi
call fcn.01001f70
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0x10
Function at 0x100274f
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
imul ebx, ebx, 0x38
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x88]
push edi
push 0x3ed
push dword [esp + 0x2c]
lea ebp, [ebx + eax + 0x24]
push dword [esi + 4]
call fcn.010020cb
cmp dword [ebp + 8], 1
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], eax
mov dword [ebp + 4], eax
je 0x10027a5
test eax, eax
je 0x1002839
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1002839
test eax, eax
je 0x1002835
push 0x1f4
push 0
push 0x405
push eax
call edi
push 0
push 0
push 0x406
push dword [esp + 0x30]
call edi
push 0x3e9
push dword [esp + 0x2c]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [esp + 0x24], eax
je 0x100282a
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
push dword [esp + 0x20]
add eax, 0xfffffff1
push eax
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 2
pop eax
or dword [esi + 8], eax
mov dword [ebp + 8], eax
jmp 0x1002839
and dword [ebp + 8], 0
mov eax, dword [esi + 0x88]
push 0x3ea
push dword [esp + 0x2c]
lea eax, [ebx + eax + 0xc]
push dword [esi + 4]
mov dword [esp + 0x30], eax
call fcn.010020cb
mov ebp, eax
test ebp, ebp
mov eax, dword [esp + 0x24]
mov dword [eax + 4], ebp
je 0x10028aa
push 0x400000
push 0
push 0x406
push ebp
call edi
push 0
push 0x20
push 0x414
push ebp
call edi
push 0x20
push 1
push 0x405
push ebp
call edi
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 1
je 0x10028a1
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10028ae
mov dword [eax + 8], 2
jmp 0x10028ae
and dword [eax + 8], 0
mov ebp, dword [esi + 0x88]
push 0x3e9
push dword [esp + 0x2c]
add ebp, ebx
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [esp + 0x24], eax
mov dword [ebp + 4], eax
je 0x100291f
push 0x1f40000
push 0
push 0x406
push eax
call edi
push 0
push 0x54
push 0x414
push dword [esp + 0x30]
call edi
cmp dword [ebp + 8], 1
je 0x1002916
push 0x80
push 1
push 0x405
push dword [esp + 0x30]
call edi
push 0
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1002923
mov dword [ebp + 8], 2
jmp 0x1002923
and dword [ebp + 8], 0
mov eax, dword [esi + 0x88]
push 0x3e8
push dword [esp + 0x2c]
lea ebx, [ebx + eax + 0x18]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [ebx + 4], eax
je 0x100295f
cmp dword [ebx + 8], 1
je 0x1002956
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1002963
mov dword [ebx + 8], 2
jmp 0x1002963
and dword [ebx + 8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x100372f
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push dword [ebp + 0xc]
call fcn.010036ec
mov dword [ebp + 0xc], eax
call fcn.01002f9a
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x100385f
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x1001434
push dword [ebp + 0xc]
xor esi, esi
inc esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100384b
lea eax, [ebp - 0x214]
push 0x2c
push eax
call fcn.01008c5d
cmp eax, ebx
pop ecx
pop ecx
je 0x1003833
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [eax + 2]
mov word [eax], bx
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 4], ecx
call esi
mov edi, eax
cmp edi, ebx
jne 0x100380b
push 0x104
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100384b
lea eax, [ebp - 0x41c]
push 0x1001420
push eax
call fcn.01008c33
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.01008c33
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
call esi
mov edi, eax
cmp edi, ebx
je 0x100384b
push 0x40
push ebx
push ebx
push 1
push dword [ebp - 4]
call fcn.01008c2e
movzx eax, ax
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov dword [0x100f5b8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100384b
push 0x50
push ebx
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x100f5b8], eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x100f5b8]
cmp eax, ebx
pop edi
pop esi
jne 0x100386d
push 0x12c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadIconW]
pop ebx
leave
ret 8

Function at 0x1004a4f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
xor eax, eax
push 0xd
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [ebp - 0x34], 8
setne al
mov dword [ebp - 0x24], 0xf000
inc eax
shl eax, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
leave
ret 0xc