joyce8/EMBER2024-capa huggingface dataset:
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.1003b150
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.1003b150
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.1003b150
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.1003b150
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.1003b150
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 0x100336f2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10033704
add eax, 0xffffff84
jmp 0x10033706
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1005d854
lea ecx, [eax + 4]
call fcn.10032650
test eax, eax
js 0x1003376f
cmp dword [ebp + 8], 0
je 0x1003376c
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x10033744
inc edi
push 0x11
call esi
test ax, ax
jns 0x10033750
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x1003375c
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x1003376f
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x10033785
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
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.1003b150
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 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.1003b150
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.1003b150
push str._bin_ssvagent.exe
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.1003b150
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.1003b150
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.1003b150
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 0x10036485
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f98]
mov eax, 0x3018
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x2f94], eax
push ebx
push esi
mov esi, dword [ebp + 0x2fa0]
push edi
xor eax, eax
mov edi, 0xffe
xor ebx, ebx
push edi
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
mov byte [ebp - 0x6d], bl
call fcn.10039d40
push esi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push 0x1006d2b8
lea esi, [edi + 2]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.10004bac
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x6c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003660e
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xf94]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x1006d2c4
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1003660e
cmp dword [ebp - 0x80], 1
jne 0x1003660e
mov eax, dword [ebp - 0x7c]
shr eax, 1
cmp eax, 0x800
jb 0x10036555
mov eax, 0x7ff
xor ecx, ecx
mov word [ebp + eax*2 + 0xf94], cx
xor eax, eax
push edi
mov word [ebp + 0x1f94], ax
lea eax, [ebp + 0x1f96]
push ebx
push eax
call fcn.10039d40
push str.binjava.exe
lea eax, [ebp + 0xf94]
push eax
push 0x1006d2f4
lea eax, [ebp + 0x1f94]
push esi
push eax
call fcn.10004bac
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x20
lea eax, [ebp + 0x1f94]
push eax
call edi
test eax, eax
je 0x1003660e
push str.binclientjvm.dll
lea eax, [ebp + 0xf94]
push eax
push 0x1006d328
lea eax, [ebp + 0x1f94]
push esi
push eax
call fcn.10004bac
add esp, 0x14
lea eax, [ebp + 0x1f94]
push eax
call edi
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0xf94]
push eax
push str._s_s
lea eax, [ebp + 0x1f94]
push esi
push eax
call fcn.10004bac
add esp, 0x14
lea eax, [ebp + 0x1f94]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x1003660a
cmp eax, ebx
je 0x1003660e
mov byte [ebp - 0x6d], 1
mov ecx, dword [ebp + 0x2f94]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x2f98
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.1003b150
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.1003b150
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.1003b150
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.1003b150
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.1003b150
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
Function at 0x100372ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
and dword [ebp - 0x80], 0
push esi
mov esi, dword [ebp + 0xf98]
lea eax, [ebp - 0x78]
push eax
push 1
push 0
push str.SoftwareJavaSoftJava_Web_Start_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037390
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10037387
cmp dword [ebp - 0x80], 1
jne 0x10037387
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
shr eax, 1
cmp eax, 0x800
jb 0x1003737a
mov eax, 0x7ff
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
lea eax, [ebp - 0x74]
push eax
jmp 0x10037395
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1006d754
mov ecx, esi
call fcn.10001309
mov ecx, dword [ebp + 0xf8c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0xf90
leave
ret
Function at 0x100373b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x10059845
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x100c]
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.10039d40
mov eax, dword [ebp + 0x1010]
add esp, 0xc
cmp eax, edi
je 0x10037425
mov esi, dword [eax]
jmp 0x10037427
xor esi, esi
movzx eax, word [esi]
xor edx, edx
xor ecx, ecx
cmp ax, di
je 0x1003754c
cmp ax, 0x2e
jne 0x10037443
inc edx
cmp edx, 1
jg 0x10037456
inc ecx
movzx eax, word [esi + ecx*2]
cmp ax, di
jne 0x10037437
cmp edx, 1
jle 0x1003754c
push 0x1006d7bc
push esi
call fcn.1003b150
pop ecx
pop ecx
test eax, eax
js 0x1003754c
push esi
call fcn.10036485
pop ecx
test al, al
je 0x1003754c
push 0x1006d7d8
lea ecx, [ebp - 0x14]
call fcn.10001309
push 0x1006d7d4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1001060c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374b8
call fcn.10001441
push esi
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374e1
call fcn.10001441
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x100374ec
mov eax, dword [esi]
jmp 0x100374ee
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037534
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1006d830
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037534
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10001309
cmp esi, edi
je 0x1003756c
mov ecx, esi
call fcn.10001441
jmp 0x1003756c
push str.1.3.1
push esi
call fcn.1003b150
push esi
call fcn.10036485
add esp, 0xc
push 0x1006d10e
mov ecx, ebx
call fcn.1001060c
mov ecx, dword [ebp + 0x1010]
cmp ecx, edi
je 0x1003757b
call fcn.10001441
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x1004
leave
ret