joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054a90
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov esi, dword [eax + 0x34]
test ecx, ecx
je 0x10054ab0
push esi
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edi
call fcn.1004bc40
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x10054ae5
movzx ecx, word [edi + 6]
xor edx, edx
xor eax, eax
mov word [esi + 4], cx
cmp dx, cx
jae 0x10054ae1
mov ecx, dword [esi + 0x10]
add ecx, 0x1c
mov edi, edi
test byte [ecx], 1
jne 0x10054afe
movzx edx, word [esi + 4]
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x10054ad0
or byte [esi + 6], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push eax
push ecx
call fcn.1004bd30
add esp, 0xc
mov dword [ebx], eax
pop edi
pop esi
pop ecx
ret
pop edi
mov dword [ebx], 0xffffffff
pop esi
pop ecx
ret
Function at 0x100605e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebp
test ebp, ebp
jne 0x100605f7
xor ebx, ebx
jmp 0x1006060f
cmp byte [ebp], 0
je 0x10060606
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x10060600
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x100606d0
jmp 0x10060634
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x1006063c
xor esi, 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10060661
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + edx]
push ecx
push eax
call fcn.10030a80
add esp, 8
test eax, eax
jne 0x100606bd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
shl esi, 4
mov ecx, dword [esi + eax + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0x100606a7
xor eax, eax
mov edi, ebx
mov edx, ebp
test ebx, ebx
jle 0x100606a1
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100ce228]
lea ebp, [eax*8]
xor esi, ebp
dec edi
xor eax, esi
inc edx
test edi, edi
jg 0x10060682
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x100606a9
xor edx, edx
push ebp
call fcn.10031c20
add esp, 4
test eax, eax
je 0x100606da
mov edi, dword [eax + 8]
test edi, edi
jne 0x100606d0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x10060630
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x100606bd

Function at 0x100607d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, edi
test edi, edi
jne 0x100607e6
xor ebx, ebx
jmp 0x100607ff
cmp byte [edi], 0
je 0x100607f6
jmp 0x100607f0
inc eax
cmp byte [eax], 0
jne 0x100607f0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov edx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test edx, edx
jle 0x100608c0
mov ecx, dword [ecx + 0x10]
push esi
mov dword [esp + 0x14], ecx
jmp 0x10060824
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x1006082c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x10060851
mov eax, dword [eax]
push eax
push ecx
call fcn.10030a80
add esp, 8
test eax, eax
jne 0x1006089f
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0x10060889
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x10060883
movzx edi, byte [edx]
movzx edi, byte [edi + 0x100ce228]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x10060864
mov edi, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x1006088b
xor edx, edx
push edi
call fcn.10031c20
add esp, 4
test eax, eax
je 0x100608bc
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x100608b2
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x10060820
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x1006089f
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10065430
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x10065450
mov al, byte [ebp + 0x100cead0]
mov byte [esp + 0x10], al
test edi, edi
je 0x100654d5
cmp byte [edi], 0
mov eax, edi
je 0x1006546b
inc eax
cmp byte [eax], 0
jne 0x10065465
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x1ac
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x100654bd
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x100654b3
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x100ce228]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x10065490
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x100654bf
xor edx, edx
push edi
call fcn.10031c20
add esp, 4
test eax, eax
je 0x100654d1
mov eax, dword [eax + 8]
jmp 0x100654dc
xor eax, eax
jmp 0x100654dc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
je 0x100654ec
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x1006550d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x10065450
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x10090ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100c930a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x14]
lea edi, [ebx + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x18], edi
call edx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10090b07
push esi
call fcn.10091c40
test eax, eax
jne 0x10090b0d
push esi
call fcn.10091d30
mov eax, dword [ebx]
test eax, eax
je 0x10090b23
push 0
call fcn.1008e2e0
add esp, 4
mov dword [ebx], 0
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.1001c030
push 0
push 6
mov byte [esp + 0x2c], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.1008fd00
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x10091500
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100c9161
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x14]
lea esi, [edi + 4]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x18], esi
call edx
xor ebx, ebx
push 0x40
lea eax, [esp + 0x30]
mov dword [esp + 0x7c], ebx
push ebx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
call dword [0x100ca644]
push ebx
push 0x64
lea ecx, [esp + 0x18]
push str.select__from_LogList_where_id__I64u_order_by_begin_time_desc
mov byte [esp + 0x84], 1
push ecx
mov dword [esp + 0x90], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
push 0x10091600
push ecx
push edx
call fcn.1006f7d0
xor ecx, ecx
add esp, 0x24
cmp eax, ebx
sete cl
mov edi, ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov dword [esp + 0x78], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 8
Function at 0x10092cb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100c9762
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10092cec
push esi
call fcn.10094150
test eax, eax
jne 0x10092cf2
push esi
call fcn.10094270
push esi
lea ecx, [ebx + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [ebx + 0x48]
lea edi, [ebx + 0x48]
test eax, eax
je 0x10092d16
push 0
call fcn.1008e2e0
add esp, 4
mov dword [edi], 0
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.1001c030
push 0
push 6
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push edi
push eax
call fcn.1008fd00
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x10092da5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x10093ad0
mov dword [ebx + 0x4c], eax
mov eax, dword [edi]
push str.select__from_Trust_
push eax
mov dword [ebx + 0x50], ecx
call fcn.1006f7d0
add esp, 0x14
mov esi, eax
xor eax, eax
test esi, esi
sete al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 8
Function at 0x10099780
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x100c4e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x434], eax
push ebp
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
push eax
push 8
mov dword [esp + 0x24], 0x428
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x1c]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x10099850
lea edx, [esp + 0x1c]
push edx
push esi
call sub.KERNEL32.dll_Module32NextW
mov ebp, eax
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x454], 0
mov esi, dword [ebx + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.1009bbe0
mov ecx, ebx
mov edi, eax
call fcn.100a4430
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x18]
mov dword [eax], edi
mov dword [esp + 0x454], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x100997e6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.100c09bd
add esp, 0x448
ret 4

Function at 0x100998b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push 0x228
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
push 2
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 8]
mov esi, eax
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10099910
lea esp, [esp]
lea edx, [esp + 8]
push edx
push esi
inc edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10099900
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100c09bd
add esp, 0x230
ret
Function at 0x10099a60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c4e29
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x30], edi
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x1c]
push eax
and ecx, 0x100
or ecx, 0x20019
push ecx
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10099bb0
mov edx, dword [esp + 0x1c]
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edi
push edi
push edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10099ba5
cmp dword [esp + 0x18], edi
je 0x10099ba5
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10099ba5
inc eax
xor ecx, ecx
mov dword [esp + 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jbe 0x10099b9c
cmp dword [ebx + 0x3c], 0
jne 0x10099b5a
push 0
push esi
push 0
push eax
lea ecx, [ebx - 8]
call fcn.10098850
cmp eax, 0xfffffffc
je 0x10099b9c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x10099b93
mov edx, dword [ebp + 0xc]
push 0x3f
push 0x2a
push edx
push edi
call fcn.1000e9b0
add esp, 0x10
test eax, eax
je 0x10099b93
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [ebx + 0x18]
call fcn.1009a220
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jb 0x10099b41
push edi
call sub.mfc90u.dll_delete__
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10099f30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100c213a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov ecx, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x208
call dword [0x100ca800]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
shr ecx, 1
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea edx, [esp + 0x18]
push edx
push 0
push str.ImagePath
push edi
call ebx
push 0xffffffffffffffff
mov ecx, esi
cmp eax, 0xea
jne 0x10099fec
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
shr ecx, 1
push eax
push ecx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea edx, [esp + 0x18]
push edx
push 0
push str.ImagePath
push edi
call ebx
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x1009a220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100c4dcb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push eax
lea ecx, [esp + 0x10]
push ecx
mov edi, 0x100cc7d8
mov dword [esp + 0x24], 0
call fcn.10008380
mov edi, dword [esp + 0x30]
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x2c], 1
call fcn.10008380
add esp, 0x10
mov byte [esp + 0x1c], 2
mov eax, dword [eax]
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.1009a0b0
lea ecx, [esp + 0x24]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x1009a9e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100c20cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0
call dword [0x100ca800]
push edi
push 0x800
push 0x800
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0x100cb2fc
push str.Open
push str.AutoRun
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
push 0
jne 0x1009aa61
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
jmp 0x1009aae7
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x2e
jne 0x1009aaa5
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffe
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 8]
call dword [0x100ca800]
mov byte [esp + 0x18], 2
mov eax, dword [esp + 4]
movzx ecx, word [edi]
push eax
push ecx
lea edx, [esp + 0x10]
push str._c:_s
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [0x100ca804]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x1009b450
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0xffffffffffffffff
push 0x100c2090
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x100caf00
push 1
push ebx
push 0x100caf10
mov dword [esp + 0x38], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1009b4c8
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1009b4b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x14], ebx
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
mov eax, dword [esp + 0x14]
jl 0x1009b5aa
cmp eax, ebx
je 0x1009b5aa
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x1009b56a
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ebx, [ebx]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x1009b56a
jmp 0x1009b530
mov ecx, dword [esp + 0x18]
dec eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + eax*4]
push edx
call esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x1009b530
mov eax, dword [esp + 0x18]
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x1009b520
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1009b57e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1009b596
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
mov byte [esp + 0x24], bl
cmp eax, ebx
je 0x1009b5ba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1009b5d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret