joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54eeb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x58cd34
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x20
ja 0x54f0a7
lea edx, [ebp - 0x418]
push edx
push str..htm
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.0054ed90
test eax, eax
jne 0x54f0a7
push str._shellopencommand
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x418]
push edx
push SysReAllocString
mov ecx, dword [ebp - 0x434]
call fcn.0054ed90
test eax, eax
jne 0x54f0a7
push str.__1_
lea eax, [ebp - 0x418]
push eax
call fcn.004035a0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x54efc0
push 0x58cd80
lea ecx, [ebp - 0x418]
push ecx
call fcn.004035a0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x54efb3
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x41a]
mov dword [ebp - 0x430], eax
jmp 0x54efbe
xor ecx, ecx
mov edx, dword [ebp - 0x430]
mov word [edx], cx
jmp 0x54efcb
xor eax, eax
mov ecx, dword [ebp - 0x430]
mov word [ecx], ax
push str._SMDB
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.00404480
mov dword [ebp - 0x428], eax
lea edx, [ebp - 0x418]
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0
jne 0x54f01a
mov dword [ebp - 0x438], 0
jmp 0x54f090
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x3fffffff
jle 0x54f048
mov dword [ebp - 0x43c], 0
jmp 0x54f084
mov eax, dword [ebp - 0x420]
shl eax, 1
call fcn.00531790
mov dword [ebp - 0x440], esp
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x420]
shl edx, 1
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.00404390
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
lea esp, [ebp - 0x440]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053081c
mov esp, ebp
pop ebp
ret 8
Function at 0x5567a0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x620], ecx
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x61c], eax
mov ecx, dword [ebp - 0x620]
add ecx, 0x4e8
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x414], eax
push str.rt_ccsUNICODE
push str.hwmonitorw.ini
lea edx, [ebp - 4]
push edx
call fcn.0053120a
add esp, 0xc
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x556824
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x414], eax
jmp 0x556897
mov ecx, dword [ebp - 4]
push ecx
push 0xff
lea edx, [ebp - 0x618]
push edx
call fcn.0053136b
add esp, 0xc
mov dword [ebp - 8], eax
push str._HWMonitor_
lea eax, [ebp - 0x618]
push eax
call fcn.004035a0
add esp, 8
test eax, eax
jne 0x556878
mov ecx, dword [ebp - 4]
push ecx
call fcn.005312d4
add esp, 4
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x414], eax
jmp 0x556897
mov eax, dword [ebp - 4]
push eax
call fcn.005312d4
add esp, 4
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053081c
mov esp, ebp
pop ebp
ret
Function at 0x556db0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x414], ecx
lea eax, [ebp - 0x408]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x4e8
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x40c], eax
push str.wt_ccsUNICODE
push 0x58eb60
mov edx, dword [ebp - 0x414]
add edx, 0xb8
push edx
call fcn.0053120a
add esp, 0xc
mov dword [ebp - 4], eax
push str._HWMonitor__n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 8
mov ecx, dword [0x5cda20]
push ecx
call fcn.00403350
add esp, 4
test eax, eax
je 0x556e72
mov edx, dword [0x5cda2c]
push edx
mov eax, dword [0x5cda28]
push eax
mov ecx, dword [0x5cda24]
push ecx
mov edx, dword [0x5cda20]
push edx
push str.VERSION_d._d._d._d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0x18
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xc4]
push edx
push str.USE_ACPI_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xc0]
push edx
push str.USE_SMBUS_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xc8]
push edx
push str.USE_SMART_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xcc]
push edx
push str.USE_LPCIO_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xd0]
push edx
push str.USE_DISPLAY_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0xd4]
push edx
push str.USE_USBXPRESS_d_n
mov eax, dword [ebp - 0x414]
push eax
call fcn.00556d00
add esp, 0xc
xor ecx, ecx
cmp dword [0x5cd014], 0
setne cl
push ecx
push str.UPDATES_d_n
push 0x5ccf38
call fcn.00556d00
add esp, 0xc
xor edx, edx
cmp dword [0x5cd018], 0
setne dl
push edx
push str.DARKTHEME_d_n
push 0x5ccf38
call fcn.00556d00
add esp, 0xc
mov eax, dword [0x5cd01c]
push eax
push str.TEMP_UNIT_d_n
push 0x5ccf38
call fcn.00556d00
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053081c
mov esp, ebp
pop ebp
ret
Function at 0x557130
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push str.CPUID_HWMonitor_Report
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
call eax
push 0x58e8d8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xaf4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xaf0]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xaec]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xae8]
push edx
push 0x58e8ec
push 0x58e904
push 0x58e908
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 0x20]
call eax
add esp, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xa4]
push edx
lea ecx, [ebp - 8]
call fcn.00403760
lea ecx, [ebp - 8]
call fcn.00401440
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x557200
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 8]
call fcn.00403130
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
jmp 0x5571cf
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x10], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x557c80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004032e0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x557cba
jmp 0x557d9e
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.005120eb
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x557d06
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.005120f6
add esp, 4
jmp 0x557d9e
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 8]
push eax
push 0x58e9c0
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x557d34
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.005120f6
add esp, 4
jmp 0x557d9e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005120f6
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x558390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb4], 0
je 0x5583b0
xor eax, eax
jmp 0x5583fb
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x557ee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xb4], 0
jne 0x5583e4
xor eax, eax
jmp 0x5583fb
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1002adb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x1019084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x86c], eax
xor eax, eax
lea ecx, [ebp - 0x878]
push ecx
push eax
push eax
push eax
mov dword [ebp - 0x860], eax
mov dword [ebx], eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x868], 0x200
push esi
call dword [sym.imp.KERNEL32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100f3e2
lea eax, [ebp - 0x860]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov dword [ebp - 0x85c], eax
test eax, eax
jl 0x1002b74
push dword [ebp - 0x860]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1002ba0
cmp dword [ebp - 0x860], 0
pop edi
pop esi
pop ebx
je 0x1002b8c
push dword [ebp - 0x860]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x85c]
xor ecx, ebp
call fcn.01001c90
leave
ret 0x14
lea eax, [ebp - 0x864]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100f3fc
lea eax, [ebp - 0x858]
push eax
push edi
push dword [ebp - 0x864]
call fcn.01002ca5
mov dword [ebp - 0x85c], eax
test eax, eax
jl 0x1002c70
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x870]
push eax
push 0
push 0x1002c84
push dword [ebp - 0x864]
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x868], 0x400
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x100f413
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [ebp - 0x85c], eax
test eax, eax
jl 0x1002c70
lea esi, [ebp - 0x414]
lea edi, [ebp - 0x424]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x86c]
mov ecx, 0x111
lea esi, [ebp - 0x858]
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 1
push dword [ebp - 0x864]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
jmp 0x1002b74
cmp eax, 0xea
je 0x1002b43
mov dword [ebp - 0x85c], 0x887c003a
jmp 0x1002b74
jle 0x100f408
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x85c], eax
jmp 0x1002b74
jle 0x100f41f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x85c], eax
jmp 0x1002c70

Function at 0x1008499
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.010084d2
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x10084c5
push eax
push eax
push esi
push 0x10080e5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x100a718
Capabilities:
Terminate process

Disassembly:
call fcn.0100a4e4
push 0x5c
push 0x100a850
call fcn.010076f4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.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, 0x101912c
push ebx
push esi
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x100c58e
xor esi, esi
inc esi
mov eax, dword [0x10190a0]
cmp eax, esi
je 0x100c5ad
mov eax, dword [0x10190a0]
test eax, eax
jne 0x100a887
mov dword [0x10190a0], esi
push 0x100a848
push 0x100a83c
call fcn.0100a6ef
pop ecx
pop ecx
test eax, eax
jne 0x100c65c
mov eax, dword [0x10190a0]
cmp eax, esi
jne 0x100a7cb
push 0x100a838
push 0x100a810
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10190a0], 2
cmp dword [ebp - 0x20], ebx
jne 0x100a7d8
push ebx
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedExchange]
cmp dword [0x1019628], ebx
jne 0x100c5ba
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100c65c
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x100a878
cmp cx, 0x22
je 0x100c5f9
inc eax
inc eax
jmp 0x100a7f3
cmp cx, bx
je 0x100a892
cmp dword [ebp - 0x1c], ebx
je 0x100a892
jmp 0x100a7ff
mov dword [0x1019654], esi
jmp 0x100a7a7
movzx ecx, word [eax]
cmp cx, bx
je 0x100a8a7
cmp cx, 0x20
ja 0x100a8a7
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100a892
test byte [ebp - 0x40], 1
jne 0x100c5dc
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.0100a8cb
jmp 0x100c5e5
cmp eax, esi
jne 0x100c59d
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100a76e
push 0x3e8
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x100a75a
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100a7a7
push 0x1019628
call fcn.0100fff9
pop ecx
test eax, eax
je 0x100a7e4
push ebx
push 2
push ebx
call dword [0x1019628]
jmp 0x100a7e4
movzx ecx, word [ebp - 0x3c]
jmp 0x100a8b4
mov dword [0x1019650], eax
cmp dword [0x1019094], ebx
jne 0x100c639
push eax
call dword [sym.imp.msvcrt.dll_exit]
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x100a809
cmp dword [0x1019654], ebx
jne 0x100c647
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1019650]
jmp 0x100c668
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010078d4
ret
Function at 0x100b87a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1019084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0100b94d
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.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100b91c
cmp dword [ebp - 0x94], 5
jb 0x100b8ef
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100b938
call fcn.0100788a
test eax, eax
jl 0x100f3bf
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001c90
leave
ret
cmp dword [ebp - 0x88], 1
je 0x100f3a7
jmp 0x100b8ef
cmp dword [ebp - 0x90], 0
jbe 0x100b8ef
jmp 0x100b8eb
cmp dword [ebp - 0x94], 4
ja 0x100b8eb
je 0x100b92b
jmp 0x100b8ef
mov byte [0x1019614], 1
jmp 0x100b90d

Function at 0x1012d28
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1012d81
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1012d73
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1012d6f
cmp esi, eax
jae 0x1012d73
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1012d61
cmp esi, eax
jb 0x1012d77
xor eax, eax
jmp 0x1012d80
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0xdb6370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xdb638e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xddf074
push ecx
mov edi, eax
call fcn.00dca198
mov esi, eax
add esp, 8
test esi, esi
jne 0xdb63cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dca02e
push esi
call fcn.00dc9fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xdb9850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xdb98ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xde4720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb98ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00dca1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xdb98ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xde4720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xdb992a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00dcb082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xdb9957
mov word [eax], si
add eax, 2
push eax
call fcn.00dcb030
add esp, 4
jmp 0xdb9959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xdb98ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xdb98b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xdb9ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xdba080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xdba0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xddf458
push ecx
call fcn.00dca1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00dca1e1
add esp, 0x10
jmp 0xdba0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00dca20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00dc9dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00dba050
mov eax, dword [0xde4728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xdba13b
push esi
call fcn.00db9fb0
add esp, 4
mov dword [0xde4728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xdba14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00db9ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xdbd440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xdbd4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xdbd48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xdbd471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xdbd47e
add edx, ecx
cmp ebx, edx
jb 0xdbd48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xdbd467
xor ecx, ecx
jmp 0xdbd4a2
test eax, eax
jne 0xdbd492
xor ecx, ecx
jmp 0xdbd4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00dbd3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret