joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430568
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x430abb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x430ad0
xor eax, eax
pop ebp
ret
and al, 0x10
xor cl, cl
cmp cl, al
sbb eax, eax
neg eax
pop ebp
ret

Function at 0x431493
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x431519
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x431504
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
test esi, 0x100
ja 0x4314f6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 8]
push eax
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and esi, 0x27
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop edi
leave
ret 0x10

Function at 0x431fcc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00431fa0
mov esi, eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, dword [ebp + 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x432331
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00480685
add esp, 0xc
pop ebp
ret 0xc

Function at 0x432389
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
test dword [ebp + 0xc], 0x100
je 0x4323a3
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004811f5
add esp, 0xc
pop ebp
ret 0xc

Function at 0x4385e3
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x4375d9
push eax
push eax
call fcn.00482d60
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
push 4
call fcn.00435a1d
mov ecx, esi
pop esi
jmp 0x4380e7
Function at 0x438833
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov byte [esi + 0x10], 1
je 0x438872
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp + 8]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x438861
push dword [esi + 0x14]
jmp 0x438875
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 4], 0
jmp 0x43887b
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
pop ebp
ret 4

Function at 0x4388f6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x43890a
xor eax, eax
jmp 0x43896b
push edi
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call edi
push dword [esi + 0x14]
call edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x438880
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00482d60
add esp, 0x18
cmp eax, ebx
ja 0x43893b
xor eax, eax
jmp 0x43896a
mov dword [esi + 4], eax
cmp byte [esi + 0x11], bl
je 0x43894c
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
mov dword [ebp - 8], eax
call edi
xor eax, eax
cmp dword [ebp - 8], ebx
jne 0x43896a
mov byte [esi + 0x10], bl
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439998
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
push esi
push edi
mov edi, ecx
push 0x4abcfc
mov dword [ebp - 0x18], edi
call fcn.0045b781
push 4
call fcn.00431fcc
mov esi, dword [edi + 0x10]
pop ecx
pop ecx
mov dword [ebp - 4], esi
cmp esi, dword [edi + 0x14]
je 0x439ac1
push ebx
xor ebx, ebx
push dword [0x4d5af0]
lea eax, [ebp - 0x848]
push 0x400
push eax
push 0x4be694
push dword [esi]
mov word [ebp - 0x40], bx
push str.ModuleInstallInfo
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x30], bx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, eax
or edx, ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
je 0x439a31
mov dword [0x4d5be8], eax
mov dword [0x4d5bec], ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x848]
push str._I64d__d__d__d__I64d__d__d__I64d__I64d
push eax
call fcn.00483254
mov eax, dword [ebp - 0x48]
add esp, 0x2c
cmp eax, dword [esi + 0x10]
jne 0x439aae
mov eax, dword [ebp - 0x44]
cmp eax, dword [esi + 0x14]
jne 0x439aae
cmp dword [ebp - 8], ebx
lea edi, [esi + 0x60]
setne al
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 0x40], al
setne al
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 0x3f], al
setne al
cmp dword [ebp - 0xc], ebx
mov byte [ebp - 0x30], al
push 0xa
setne al
pop ecx
lea esi, [ebp - 0x40]
mov byte [ebp - 0x2f], al
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
add esi, 0xf8
mov dword [ebp - 4], esi
cmp esi, dword [edi + 0x14]
jne 0x4399cd
pop ebx
push 0xfffffffffffffffc
call fcn.00431fcc
pop ecx
pop edi
pop esi
leave
ret
Function at 0x44170f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret

Function at 0x442630
Capabilities:
Create directory
Extract resource via kernel32 functions
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call fcn.0044170f
xor edi, edi
pop ecx
test eax, eax
jne 0x442656
push edi
push dword [esi]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x4ad934
call fcn.0045b781
mov dword [esp], str.ZIPRes
push 0x3e7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4426c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindResource_failed.Last_Error:_d
lea eax, [ebp - 0x808]
push eax
call fcn.00432497
push dword [eax]
call fcn.0045b781
lea eax, [ebp - 0x800]
add esp, 0x10
cmp dword [ebp - 0x808], eax
je 0x442818
push dword [ebp - 0x808]
call fcn.0047e4a0
pop ecx
jmp 0x442818
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4426e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadResource_failed.Last_Error:_d
jmp 0x44268d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
jne 0x44272b
push str.LockResource_failed
lea eax, [ebp - 0x808]
push eax
call fcn.00432497
push dword [eax]
call fcn.0045b781
add esp, 0xc
lea eax, [ebp - 0x800]
cmp dword [ebp - 0x808], eax
je 0x442817
push dword [ebp - 0x808]
call fcn.0047e4a0
jmp 0x442816
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
jne 0x44275b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x808]
push str.SizeofResource_failed.Last_Error:_d
push eax
call fcn.00432497
push dword [eax]
call fcn.0045b781
add esp, 0x10
jmp 0x442709
push edi
push eax
push ebx
call fcn.0042face
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jne 0x442773
push str.OpenZip_failed
jmp 0x4426f3
lea eax, [ebp - 0xa38]
push eax
push 0xffffffffffffffff
push ebx
call fcn.0042dfaa
mov eax, dword [ebp - 0xa38]
add esp, 0xc
xor esi, esi
mov dword [ebp + 8], eax
cmp eax, edi
jle 0x442804
lea eax, [ebp - 0xa38]
push eax
push esi
push ebx
call fcn.0042dfaa
add esp, 0xc
cmp eax, edi
jne 0x4427c6
lea eax, [ebp - 0xa34]
push eax
push esi
push ebx
call fcn.0042fb1e
add esp, 0xc
cmp eax, edi
jne 0x4427ce
inc esi
cmp esi, dword [ebp + 8]
jl 0x442794
jmp 0x442804
push eax
push str.GetZipItem_failed.Return_result:_d
jmp 0x4427d4
push eax
push str.UnzipItem_failed.Return_result:_d
lea eax, [ebp - 0x808]
push eax
call fcn.00432497
push dword [eax]
call fcn.0045b781
lea eax, [ebp - 0x800]
add esp, 0x10
cmp dword [ebp - 0x808], eax
je 0x442804
push dword [ebp - 0x808]
call fcn.0047e4a0
pop ecx
push ebx
call fcn.0042fb38
mov dword [esp], 0x4ad764
call fcn.0045b781
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x44331d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov esi, 0x4d2c98
push esi
lea ecx, [ebp - 4]
call fcn.00407700
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x443360
mov esi, dword [ebp - 4]
add esi, 0xfffffff0
push esi
call fcn.00407c10
add eax, 0x10
pop ecx
mov dword [ebx], eax
jmp 0x4434ea
push edi
call fcn.0047f118
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x443349
push eax
push edi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443349
and dword [ebp - 0xc], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4add90
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443349
push esi
lea ecx, [ebp - 0x14]
call fcn.00407700
push esi
lea ecx, [ebp - 0x10]
call fcn.00407700
push esi
lea ecx, [ebp - 8]
call fcn.00407700
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
mov esi, str.000_x
lea eax, [ebp - 8]
push esi
push eax
call fcn.00407bb0
add esp, 0xc
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0040db80
push eax
lea ecx, [ebp - 0x10]
call fcn.004078f0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407c80
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 2]
push eax
lea eax, [ebp - 8]
push esi
push eax
call fcn.00407bb0
add esp, 0xc
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0040db80
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041b0e0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407c80
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.StringFileInfo_sProductVersion
push eax
call fcn.00407bb0
add esp, 0xc
mov esi, 0x100
push esi
lea ecx, [ebp - 0x14]
call fcn.00407ac0
mov edi, dword [ebp - 0x14]
cmp dword [edi - 8], esi
jge 0x443465
push 0x80070057
call fcn.00407be0
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [edi + 0x200], cx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x443495
mov esi, dword [ebp - 4]
add esi, 0xfffffff0
push esi
call fcn.00407c10
pop ecx
jmp 0x4434c7
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ae80
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push 0x4be71c
push eax
call fcn.00407bb0
push dword [ebp - 0x18]
call fcn.0047e41a
mov esi, dword [ebp - 4]
add esi, 0xfffffff0
push esi
call fcn.00407c10
add esp, 0x14
mov ecx, dword [ebp - 8]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [ebx], eax
call fcn.00407c80
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407c80
lea ecx, [edi - 0x10]
call fcn.00407c80
mov ecx, esi
call fcn.00407c80
pop edi
mov eax, ebx
pop esi
leave
ret
Function at 0x44355f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00442f5b
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x44357f
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0042ad19
mov eax, dword [ebp + 0xc]
leave
ret 0xc

Function at 0x443c90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
push 0x4adf28
call fcn.0045b781
push 4
call fcn.00431fcc
pop ecx
pop ecx
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call sym.SparkUpdate.exe_int___cdecl_XNetInit_void_
test eax, eax
jne 0x443cca
push str.Xnet
call fcn.0045b781
pop ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x443d7d
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 4]
call fcn.00407520
push 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0040db80
mov esi, 0x4a98ac
push esi
mov ecx, eax
call fcn.0040c690
mov ecx, dword [ebp - 8]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00407c80
inc bl
je 0x443d38
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 4]
call fcn.0040c2e0
push dword [0x4d5af4]
mov edi, dword [ebp - 4]
push edi
push str._sBaidu_s_autoupdate
mov ebx, 0x4d5b10
push ebx
call fcn.00407bb0
push esi
lea eax, [ebp - 8]
push ebx
push eax
call fcn.0040d520
push dword [eax]
call fcn.00454748
mov ecx, dword [ebp - 8]
add esp, 0x20
add ecx, 0xfffffff0
call fcn.00407c80
lea ecx, [edi - 0x10]
call fcn.00407c80
pop edi
pop esi
pop ebx
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0044cd43
lea eax, [ebp - 0x210]
push eax
call fcn.0047d834
add esp, 0xc
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, 0x4d5b14
call fcn.00407840
call fcn.0044cd9e
push eax
mov dword [0x4d5b98], eax
lea eax, [ebp - 0xa18]
push str._g0WR
push eax
call fcn.00432497
push dword [eax]
call fcn.0045b781
lea eax, [ebp - 0xa10]
add esp, 0x10
cmp dword [ebp - 0xa18], eax
je 0x443def
push dword [ebp - 0xa18]
call fcn.0047e4a0
pop ecx
cmp dword [0x4d5ba8], 0
je 0x443e37
lea eax, [ebp - 0xa18]
push 0x4ade8c
push eax
mov dword [0x4d5b98], 1
call fcn.00432497
push dword [eax]
call fcn.0045b781
lea eax, [ebp - 0xa10]
add esp, 0xc
cmp dword [ebp - 0xa18], eax
je 0x443e37
push dword [ebp - 0xa18]
call fcn.0047e4a0
pop ecx
cmp dword [0x4d5bb0], 0
jne 0x443e6b
push 0x4ade64
call fcn.0045b781
push 4
call fcn.00431fcc
push 0x4acae0
push dword [0x4d5b08]
call fcn.00454a98
push 0xfffffffffffffffc
call fcn.00431fcc
add esp, 0x14
mov ecx, 0x4d5950
call fcn.004388f6
push 0xfffffffffffffffc
call fcn.00431fcc
pop ecx
xor eax, eax
leave
ret

Function at 0x449011
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
jb 0x449041
call fcn.00448e45
leave
ret
call fcn.0044836b
leave
ret
Function at 0x4499d9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.00420420
mov ebx, eax
cmp ebx, esi
je 0x449a1f
lea ecx, [ebp - 0x10]
call fcn.00420550
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x449a3a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.004499d9
cmp eax, esi
jne 0x449a6f
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 0x100
call ebx
test eax, eax
je 0x449a27
lea ecx, [ebp - 0x10]
call fcn.00420550
push dword [ebp + 8]
mov ecx, edi
call fcn.004493bb
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00420550
mov eax, esi
jmp 0x449a18
Function at 0x44ae00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
xor edi, edi
push 2
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x40c], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp + 8], ebx
cmp ebx, edi
jne 0x44ae3b
call fcn.00449223
mov esi, eax
jmp 0x44aecf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x44ae55
call fcn.00449223
jmp 0x44aec4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x44ae4e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44ae7d
mov esi, 0x8007000e
jmp 0x44aec6
push eax
lea ecx, [ebp - 0x40c]
call fcn.00449ecd
cmp dword [ebp - 0x40c], edi
je 0x44ae76
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x44ae4e
mov edx, dword [ebp - 0x40c]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.0044ab61
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44aee8
lea ecx, [ebp - 0x40c]
call fcn.004499ac
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x44bec8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4d2554], 0
jbe 0x44beff
cmp dword [0x4d2558], 8
mov eax, dword [0x4d2544]
jae 0x44beea
mov eax, 0x4d2544
push 0xffffffffffffffff
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047f306
add esp, 0x10
xor eax, eax
leave
ret
push ebx
lea ebx, [ebp - 0x1c]
call fcn.0044bdbe
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ebx
jae 0x44bf15
lea eax, [ebp - 0x1c]
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x4be694
push 0x4af49c
push str.autoupdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jg 0x44bf4c
mov esi, 0x80004005
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0042ad19
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x44bf3b
Function at 0x44cb5a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
xor eax, eax
push esi
push edi
cmp dword [ebp + 8], eax
je 0x44cd39
cmp dword [ebp + 0xc], eax
je 0x44cd39
mov edi, 0x3e8
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
call fcn.0047e4a0
xor ecx, ecx
push 4
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d5d0
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
push ecx
mov esi, 0xfa0
push esi
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x44cbff
mov ebx, esi
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jb 0x44cc25
push dword [ebp - 0xc]
add dword [ebp - 8], edi
add ebx, esi
call fcn.0047e4a0
mov eax, dword [ebp - 8]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d5d0
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x44cbbc
push dword [ebp - 0xc]
call fcn.0047e4a0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44cd3e
and eax, 0xffff
or eax, 0x80070000
jmp 0x44cd3e
mov ebx, dword [ebp + 0x10]
shr eax, 2
mov dword [ebp - 0x18], eax
xor esi, esi
xor eax, eax
mov dword [ebx], esi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], esi
jbe 0x44cd35
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax*4]
lea eax, [ebp - 0x34]
push eax
call fcn.0044bc91
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
jae 0x44cc5d
lea eax, [ebp - 0x34]
push eax
push esi
push 4
call fcn.0044bb18
mov ecx, eax
add esp, 0xc
cmp ecx, esi
jne 0x44cc7f
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0042ad19
jmp 0x44cd10
lea eax, [ebp - 8]
call fcn.0045b924
push esi
push esi
push esi
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
jne 0x44cca3
lea eax, [ebp - 8]
call fcn.0045b85f
jmp 0x44cc6f
push 0x1c
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x44], 0x2048
jb 0x44cc99
lea esi, [ebp - 0x6c]
call fcn.0044c76f
lea ecx, [edi + 8]
push ecx
mov ecx, eax
call fcn.0043947b
test eax, eax
setne byte [ebp - 1]
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x6c]
call fcn.0042ad19
cmp byte [ebp - 1], 0
jne 0x44ccfb
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
inc dword [ebx]
cmp dword [ebx], eax
je 0x44cd22
lea eax, [ebp - 8]
call fcn.0045b85f
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.0042ad19
xor esi, esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x18]
jb 0x44cc40
jmp 0x44cd35
lea eax, [ebp - 8]
call fcn.0045b85f
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.0042ad19
xor eax, eax
jmp 0x44cd3e
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d021
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
inc edi
push edi
push ebx
push ebx
mov dword [esi], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x44d095
push 0x14
push str.SparkUpdater
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 8], eax
je 0x44d090
lea ecx, [ebp - 4]
push ecx
push edi
push eax
mov dword [ebp - 4], str.__elevate_service
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x44d088
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x44d08b
mov dword [esi], edi
mov dword [ebp + 8], edi
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4