joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100110c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x808
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push ebx
push edi
push eax
mov eax, esi
mov ebx, ecx
call fcn.100035a0
lea edi, [esi + 4]
push ebx
mov eax, edi
call fcn.100035a0
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10087b80
mov ecx, dword [esi]
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
add esp, 0xc
push ecx
push 0x400
lea edx, [esp + 0x10]
push edx
push 0x100a7638
push 0x100a85fc
push eax
call ebx
lea ecx, [esp + 8]
push ecx
lea eax, [esi + 0xc]
call fcn.100035a0
push 0x800
lea edx, [esp + 0xc]
push 0
push edx
call fcn.10087b80
mov eax, dword [esi]
mov edx, dword [edi]
add esp, 0xc
push eax
push 0x400
lea ecx, [esp + 0x10]
push ecx
push 0x100a7638
push 0x100a8610
push edx
call ebx
lea eax, [esp + 8]
push eax
lea eax, [esi + 0x10]
call fcn.100035a0
mov eax, dword [esi]
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
push eax
push 0
push 0x100a861c
push ecx
call ebx
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi]
push eax
push 0
push 0x100a8630
push ecx
call ebx
mov ecx, dword [edi]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push eax
push 0
push 0x100a8644
push ecx
call ebx
neg eax
sbb eax, eax
mov ecx, dword [edi]
neg eax
mov dword [esi + 0x24], eax
mov eax, dword [esi]
push eax
push 3
push 0x100a8658
push ecx
call ebx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x100111d7
mov dword [esi + 0x1c], 3
mov eax, dword [esi]
mov edi, dword [edi]
push eax
push 0x3c
push 0x100a8674
push edi
call ebx
mov dword [esi + 0x20], eax
test eax, eax
mov eax, 1
jne 0x100111f5
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x80c]
pop edi
pop ebx
xor ecx, esp
call fcn.10083dbb
add esp, 0x808
ret 4
Function at 0x10011d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.10087b80
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x20019
push 0
push 0x100a86e8
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x10011e3c
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x100a86d8
push eax
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011e10
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
cmp eax, 3
jbe 0x10011e3c
lea eax, [esp + eax*2 + 0x14]
mov edx, 0x5c
cmp dx, word [eax - 2]
je 0x10011e3c
mov ecx, edx
mov word [eax], cx
lea ebx, [esp + 0x14]
call fcn.100036f0
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.10083dbb
add esp, 0x218
ret
Function at 0x10011e60
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
push edi
mov dword [esp + 0x14], 0
cmp ax, word [0x100c77e0]
jne 0x10012007
push 0x104
push 0x100c77e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x5c
push 0x100c77e0
call fcn.10086423
add esp, 8
test eax, eax
je 0x10011ea6
xor ecx, ecx
mov word [eax + 2], cx
push ebp
push esi
mov ebx, 0x100a8764
lea edi, [esp + 0x18]
call fcn.100036f0
mov edi, dword [esp + 0x18]
mov edx, dword [0x100bc66c]
lea esi, [edi - 0xc]
push 0x100c77e0
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [esi + 4]
push edi
push ecx
push 0x100c77e0
push eax
lea eax, [esp + 0x24]
call fcn.10011280
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
push esi
call ebp
test eax, eax
sete byte [esp + 0x13]
lea edx, [esi - 0xc]
xor ebx, ebx
cmp edx, 0x100bc65c
je 0x10011f22
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x10011f22
push esi
call fcn.1008441c
add esp, 4
cmp byte [esp + 0x13], bl
je 0x10011fe2
lea ecx, [esp + 0x18]
call fcn.10011d70
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
test eax, eax
jle 0x10011f76
cmp eax, 0x104
jge 0x10011f76
mov edx, dword [edi - 8]
mov ecx, dword [0x100bc66c]
push edi
push edx
push esi
push eax
lea eax, [esp + 0x24]
mov ebx, 2
mov dword [esp + 0x24], ecx
call fcn.10011280
mov eax, dword [esp + 0x14]
push eax
call ebp
mov byte [esp + 0x13], 1
test eax, eax
jne 0x10011f7b
mov byte [esp + 0x13], 0
test bl, 2
je 0x10011fa6
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x100bc65c
je 0x10011fa6
lea ebx, [eax - 0xc]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x10011fa6
push ebx
call fcn.1008441c
add esp, 4
cmp byte [esp + 0x13], 0
je 0x10011fc0
push 0x103
push esi
push 0x100c77e0
call fcn.10085813
add esp, 0xc
lea edx, [esi - 0xc]
cmp edx, 0x100bc65c
je 0x10011fe2
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x10011fe2
push esi
call fcn.1008441c
add esp, 4
add edi, 0xfffffff4
cmp edi, 0x100bc65c
je 0x10012005
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x10012005
push esi
call fcn.1008441c
add esp, 4
pop esi
pop ebp
mov edi, dword [esp + 0x1c]
mov ebx, 0x100c77e0
call fcn.100036f0
mov eax, edi
pop edi
pop ebx
add esp, 0x10
ret 4
Function at 0x100125d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x100a8874
push 0x100a8880
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.DLL_SHGetValueW]
test eax, eax
je 0x10012616
xor eax, eax
add esp, 0xc
ret
mov eax, dword [esp]
add esp, 0xc
ret
Function at 0x10019790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [ebp + 0xc], 0
jne 0x10019863
cmp eax, 0x201
jne 0x100197d9
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 1
test eax, eax
je 0x100197be
push 0
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
mov dword [edi], 0
cmp dword [esi + 0x24], 0
je 0x10019863
mov eax, 1
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x204
je 0x100197a7
cmp eax, 0x20
jne 0x10019810
mov eax, dword [esi + 0x28]
mov dword [esi + 0x24], 1
test eax, eax
je 0x10019803
push eax
call dword [sym.imp.USER32.DLL_SetCursor]
mov eax, 1
mov dword [edi], eax
jmp 0x100197c4
xor eax, eax
mov dword [esi + 0x24], 0
mov dword [edi], eax
jmp 0x100197c4
cmp eax, 2
jne 0x10019846
mov eax, dword [esi + 4]
push 0x2710
push eax
mov dword [esi + 0x24], 1
call dword [sym.imp.USER32.DLL_KillTimer]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100197be
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x2c], 0
jmp 0x100197be
cmp eax, 0x113
jne 0x10019863
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x24], 1
call fcn.10019870
jmp 0x100197be
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x10019870
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp eax, 0x2710
jne 0x100198ca
mov ecx, dword [esi + 0x40]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.DLL_GetWindowRect]
lea edx, [esp + 8]
push edx
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.USER32.DLL_EqualRect]
test eax, eax
jne 0x100198ec
mov ecx, dword [esi + 4]
push 0x2710
push ecx
jmp 0x100198d6
cmp eax, 0x2711
jne 0x100198ec
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.DLL_KillTimer]
mov esi, dword [esi + 4]
test esi, esi
je 0x100198ec
push 0
push esi
call dword [sym.imp.USER32.DLL_ShowWindow]
pop esi
add esp, 0x18
ret
Function at 0x10019ee0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
test byte [0x100c7b94], 1
jne 0x10019f0a
mov eax, dword [0x100bc66c]
or dword [0x100c7b94], 1
push 0x100a35f0
mov dword [0x100c7b90], eax
call fcn.1008416d
add esp, 4
push esi
push edi
lea edi, [esp + 8]
mov esi, 0x100c7b90
call fcn.1005dc80
mov ecx, dword [0x100bc66c]
mov esi, dword [eax]
push 0x100a8db4
push 0x100a8db4
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edx, dword [esi - 8]
push eax
push esi
push edx
lea eax, [esp + 0x1c]
call fcn.10011280
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x100bc65c
je 0x10019f74
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x10019f74
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.1008441c
add esp, 4
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
je 0x10019fb6
mov eax, esi
call fcn.1000a880
test eax, eax
je 0x10019fb6
lea eax, [esi - 0xc]
cmp eax, 0x100bc65c
je 0x10019fab
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10019fab
push esi
call fcn.1008441c
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 8
ret
lea ecx, [esi - 0xc]
cmp ecx, 0x100bc65c
je 0x10019fd4
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10019fd4
push esi
call fcn.1008441c
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x1001cfd0
Capabilities:
Check for time delay via gettickcount
Get system information on windows

Disassembly:
sub esp, 0x60
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x100c7a28], esi
jne 0x1001d01b
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [esp + 0x58]
mov dword [0x100c7a28], ecx
fldz
lea edx, [esp + 0x20]
push edx
fstp qword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.DLL_GetThreadTimes]
test eax, eax
je 0x1001d0e0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add ecx, esi
adc eax, edx
mov edi, eax
mov eax, dword [0x100c7a20]
or eax, dword [0x100c7a24]
mov esi, ecx
je 0x1001d0cd
call ebx
sub eax, dword [0x100c7a1c]
mov ecx, esi
sub ecx, dword [0x100c7a20]
mov edx, edi
sbb edx, dword [0x100c7a24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul qword [0x100b03c0]
fild dword [esp + 0x10]
test eax, eax
jge 0x1001d0c1
fadd qword [0x100b03b8]
fdivp st(1)
fdiv qword [0x100b03b0]
fstp qword [esp + 0x10]
mov dword [0x100c7a20], esi
mov dword [0x100c7a24], edi
call ebx
mov dword [0x100c7a1c], eax
fld qword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x60
ret
Function at 0x1001e3c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x10]
mov eax, esi
call fcn.1000a880
test eax, eax
jne 0x1001e3e2
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
jne 0x1001e3f4
pop edi
pop esi
pop ecx
ret
or dword [edi + 4], 0x1000
push edi
call dword [sym.imp.SHELL32.DLL_ShellExecuteExW]
pop edi
pop esi
pop ecx
ret
mov edi, 0x100bc9a0
call fcn.1000aa30
int3

Function at 0x10021240
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.DLL_ShowWindow]
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x30]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x30]
mov edi, dword [sym.imp.USER32.DLL_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov edx, dword [esi + 0x30]
push 0xfffffffffffffff0
push edx
call edi
or eax, 0x400
push eax
mov eax, dword [esi + 0x30]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.DLL_SetWindowLongW]
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x1002128c
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
call fcn.10021660
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x100212a3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esi + 0x30]
push 5
push ecx
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x10028700
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x214], eax
test esi, esi
je 0x100288b6
xor eax, eax
cmp eax, 0x100a9e28
je 0x100288b6
test edi, edi
je 0x100288b6
push ebp
push 0x208
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
call fcn.10087b80
mov edx, dword [esp + 0x22c]
push esi
push 0x100a9db8
push 0x100a9dfc
lea ecx, [esp + 0x28]
lea eax, [edx + edx]
push 0x103
push ecx
mov dword [esp + 0x28], eax
call fcn.10084751
add esp, 0x20
lea edx, [esp + 4]
push edx
push 0x20219
push 0
lea eax, [esp + 0x1c]
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
test eax, eax
jne 0x100287e9
mov eax, dword [esp + 4]
test eax, eax
je 0x100287cf
push ebx
lea ecx, [esp + 0xc]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push 0
push 0x100a9e28
push eax
call ebp
mov ebx, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
test ebx, ebx
pop ebx
jne 0x100287e9
mov eax, dword [esp + 8]
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10083dbb
add esp, 0x218
ret
cmp byte [esp + 0x224], 0
je 0x1002889e
lea ecx, [esp + 4]
push ecx
push 0x20219
push 0
push 0x100a7990
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x1002889e
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x100a86d8
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x206
call ebp
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
push 0xe
push 0x100a9e08
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.10086503
mov eax, dword [esp + 0x230]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push edi
push 0
push 0x100a9e28
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10083dbb
add esp, 0x218
ret
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10083dbb
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
xor ecx, esp
xor eax, eax
call fcn.10083dbb
add esp, 0x218
ret
Function at 0x100288d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x80c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
mov ebp, dword [esp + 0x818]
xor ebx, ebx
push edi
mov edi, ecx
cmp ebp, ebx
je 0x10028a35
cmp edi, ebx
je 0x10028a35
push esi
push 0x5c
push ebp
call fcn.10086423
add esp, 8
cmp eax, ebx
je 0x10028933
mov ecx, dword [esp + 0x824]
push ebx
push ecx
lea esi, [eax + 2]
call fcn.10028700
add esp, 8
test eax, eax
je 0x10028933
cmp word [edi], bx
jne 0x10028a0d
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10028a31
push 2
push ebx
push 0xffffff00
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0x800
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esp + 0x20], ebx
call fcn.10087b80
add esp, 0xc
push ebx
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x100289df
mov edx, dword [esp + 0x14]
cmp edx, 0x100
ja 0x100289df
shr edx, 1
lea ebx, [esp + 0x18]
call fcn.10028660
test eax, eax
je 0x100289d1
mov edx, dword [esp + 0x824]
push edx
call fcn.100286c0
add esp, 4
test al, al
je 0x100289d1
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x10], 0
jne 0x10028a2b
push 0x5c
push ebp
call fcn.10086423
add esp, 8
test eax, eax
je 0x10028a2b
mov ecx, dword [esp + 0x824]
push 1
push ecx
lea esi, [eax + 2]
call fcn.10028700
add esp, 8
test eax, eax
je 0x10028a2b
cmp word [edi], 0
je 0x10028a2b
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.10083dbb
add esp, 0x80c
ret
mov eax, dword [esp + 0x10]
jmp 0x10028a12
xor eax, eax
jmp 0x10028a12
mov ecx, dword [esp + 0x814]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10083dbb
add esp, 0x80c
ret
Function at 0x10028d70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov word [esp + 0x2c], cx
call fcn.10087b80
mov ecx, dword [0x100c6764]
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
add esp, 0xc
push 0x104
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call edi
lea esi, [ebx + 2]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.DLL_PathRemoveFileSpecW]
sub esi, 1
jne 0x10028de2
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
jne 0x10028e58
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x100a86d8
push 0x100a7990
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.SHLWAPI.DLL_SHGetValueW]
cmp word [esp + 0x20], bx
jne 0x10028e5f
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0x100aa2e8
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call edi
test eax, eax
je 0x10028e58
push 0x100aa300
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.DLL_PathAppendW]
cmp word [esp + 0x20], bx
je 0x10028ebd
test ebp, ebp
je 0x10028ea4
mov eax, ebp
lea edx, [eax + 2]
jmp 0x10028e70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10028e70
sub eax, edx
sar eax, 1
je 0x10028ea4
mov ebx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x24]
push eax
push 0x100a9dfc
mov ecx, 0x104
call fcn.1007c1e0
add esp, 0xc
mov eax, 1
jmp 0x10028ebf
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov ecx, 0x104
call fcn.10029d10
mov eax, 1
jmp 0x10028ebf
mov eax, ebx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10083dbb
add esp, 0x21c
ret
Function at 0x1002a9b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ecx
push edi
mov edi, eax
mov eax, dword [0x100c67dc]
test eax, eax
jne 0x1002a9cb
call fcn.10060170
mov dword [0x100c67dc], eax
test eax, eax
je 0x1002aa26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test eax, eax
je 0x1002aa26
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
test eax, eax
je 0x1002aa26
cmp dword [edi + 0x70], 0
je 0x1002aa21
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x1002a9fa
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
mov ecx, dword [esp + 4]
push 0
push 0xf060
push 0x112
push ecx
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
pop edi
pop ecx
ret
lea edx, [esp + 4]
push esi
push edx
mov ecx, 0x100aa6a4
call fcn.1005f540
mov esi, dword [esp + 0xc]
add esp, 4
mov eax, esi
call fcn.1000a880
test eax, eax
jne 0x1002aa72
lea eax, [esi - 0xc]
cmp eax, 0x100bc65c
je 0x1002aa69
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x1002aa69
push esi
call fcn.1008441c
add esp, 4
pop esi
mov eax, 1
pop edi
pop ecx
ret
push ebx
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
je 0x1002aafb
mov edx, dword [edi + 0x30]
mov ecx, dword [0x100bc66c]
push edx
mov dword [esp + 0x10], ecx
push 0x100aa6d4
push 0x100aa6e0
lea ecx, [esp + 0x18]
call fcn.10001df0
mov edi, dword [esp + 0x18]
add esp, 0xc
push 5
push 0
push edi
push esi
push 0x100a7ab0
push 0
call dword [sym.imp.SHELL32.DLL_ShellExecuteW]
push 0x100a7638
call fcn.10029e30
push eax
mov edx, 0x100a7638
mov ecx, 0x100aa780
mov eax, 0x100a99b8
call fcn.10006000
lea eax, [edi - 0xc]
cmp eax, 0x100bc65c
je 0x1002aafb
add edi, 0xfffffff4
push edi
call ebx
test eax, eax
jg 0x1002aafb
push edi
call fcn.1008441c
add esp, 4
lea ecx, [esi - 0xc]
cmp ecx, 0x100bc65c
je 0x1002ab19
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x1002ab19
push esi
call fcn.1008441c
add esp, 4
pop ebx
pop esi
xor eax, eax
pop edi
pop ecx
ret
Function at 0x10030810
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
mov eax, dword [0x100bc66c]
push ecx
push 0x100aae1c
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.10001df0
mov eax, 1
add esp, 8
test byte [0x100c7b94], al
jne 0x1003085a
mov edx, dword [0x100bc66c]
or dword [0x100c7b94], eax
push 0x100a35f0
mov dword [0x100c7b90], edx
call fcn.1008416d
add esp, 4
push ebx
push esi
push edi
lea edi, [esp + 0xc]
mov esi, 0x100c7b90
call fcn.1005dc80
push 0x100aae38
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
je 0x10030886
push 0x100aae38
mov esi, eax
call fcn.10011310
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x100308b5
mov eax, esi
call fcn.1000a880
test eax, eax
je 0x100308b5
mov ecx, dword [0x100c6764]
push ebx
mov edx, esi
call fcn.1001e400
add esp, 4
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, 0x100bc65c
je 0x100308d8
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x100308d8
push esi
call fcn.1008441c
add esp, 4
lea ecx, [ebx - 0xc]
cmp ecx, 0x100bc65c
je 0x100308f6
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x100308f6
push esi
call fcn.1008441c
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x10032820
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
push 0x10
lea ecx, [esp + 4]
push ecx
push 3
push 0x100ab0dc
push 0x100a8880
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.SHLWAPI.DLL_SHSetValueW]
add esp, 0x14
ret

Function at 0x10034500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp dword [esi + 0x78], 8
jne 0x10034517
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0x100aeae8
push 0x100aeab4
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x1c], eax
call dword [sym.imp.SHLWAPI.DLL_SHSetValueW]
cmp dword [esi + 0x94], 0
jne 0x1003456d
call fcn.100648f0
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov dword [eax + 0xa0], 1
call fcn.100648f0
add esp, 4
push eax
call fcn.10064a80
mov esp, ebp
pop ebp
ret 8
call fcn.100648f0
mov dword [eax + 0xa0], 4
call fcn.100648f0
push eax
call fcn.100649f0
mov esp, ebp
pop ebp
ret 8