joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f450
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00425210
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x492380]
mov dl, byte [eax + 0x492378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40f460
lea eax, [esp]
push 0x4876e8
push eax
call fcn.00413990
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00410f70
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x40f4b0
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.004151b0
add esp, 0x10
cmp eax, 0x18
jl 0x40f531
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x40f4fd
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x40f521
cmp ecx, 0x14
je 0x42937a
inc edx
cmp edx, edi
jl 0x40f4e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.0041557c
add esp, 0xc
jmp 0x40f4b0
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x40f543
inc ecx
jmp 0x40f4ef
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
je 0x40f555
add ecx, 2
jmp 0x40f4ef
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429372
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x429361
add ecx, 4
jmp 0x40f4ef
add ecx, 5
cmp ecx, 0x14
jl 0x40f4e6
jmp 0x40f4ef
add ecx, 3
jmp 0x40f4ef
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10034]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.0041557c
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.004151b0
lea edx, [esp + 0x2c]
push 0x4876d8
push edx
mov byte [esp + 0x38], 0
call fcn.004151d0
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f536

Function at 0x40f5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
invalid

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x435161
Capabilities:
Read file on windows

Disassembly:
cmp eax, 0x10000
jne 0x43518c
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.004151b0
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4
Function at 0x4351e8
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x435228
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.004146ce
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x443245
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
les eax, [ecx + ecx*4]
or byte [ebx], dh
rol al, 0x75
sub edi, edi
adc byte [esi - 0x77], ah
xchg byte [esi + 4], cl
sub edx, eax
dec edi
cmp dword [esi + 0x3bf40450], 0xffffffc3
jne 0x4432be
cmp dword [esi + 0x14], 1
jne 0x44328f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
movzx edx, byte [ecx + eax]
inc eax
shl edx, 8
or dword [esi + 0x3bf4044c], edx
mov dword [esi + 0xc], eax
cmp byte [ebp + 0xc], 8
or dword [esi + 0x3bf4044c], ecx
inc eax
mov dword [esi + 0xc], eax
jmp 0x4432b4
push esi
call fcn.00435161
invalid
mov dword [esi + 0x3bf40450], 0xfd2b3d10
shl dword [esi + 0x3bf4044c], 1
dec dword [esi + 0x3bf40450]
mov eax, dword [esi + 0x3bf4044c]
test edi, edi
jne 0x443258
pop edi
shr eax, 0x10
pop esi
or al, 0x24
or al, 0x56
les eax, [ecx + ecx*4]
or byte [ebx + 0x2b044486], cl
rcl byte [edi + 2]
add byte [eax], al
mov ebx, 0x187e3905
jne 0x443350
cmp eax, dword [esi - 0x15fffbc4]
add byte [ebx + 0xf000092], 0x53
jmp 0x44330c
mov ecx, dword [esi - 0x2fd4fbbc]
mov edx, dword [esi - 0x2fd4fbc8]
mov ebx, dword [esi + 8]
mov eax, dword [esi]
and ecx, 0x1ffff
mov cl, byte [ecx + edx]
mov byte [eax + ebx], cl
add dword [esi + 8], edi
add dword [esi - 0x2fd4fbbc], edi
mov edx, dword [esi - 0x2fd4fbbc]
cmp edx, dword [esi - 0x15fffbc4]
jb 0x44330c
pop ebx
pop edi
mov dword [esi + 0x440], 0x7fc33bf4
and ecx, dword [eax]
push 0x3b
xchg byte [esp + eax], bh
add dl, ch
cmp eax, dword [esi - 0x15fffbc4]
jae 0x443390
or eax, ecx
add ebp, eax
mov ecx, dword [esi - 0x2fd4fbbc]
mov edx, dword [esi - 0x2fd4fbc8]
and ecx, 0x1ffff
cmp byte [ebp + 4], 0x11
push eax
push esi
call fcn.004351e8
add dword [esi - 0x2fd4fbbc], edi
add dword [esi + 8], edi
mov ecx, dword [esi - 0x2fd4fbbc]
cmp ecx, dword [esi - 0x15fffbc4]
jb 0x44335c
pop edi
mov dword [esi + 0x440], 0x7fc33bf4
and ecx, dword [eax]
push 0xffffffffffffff83
cmp eax, 0x2b4a7cb8
std
push esi
push edi
mov esi, 0x4a72e8
jne 0x4433bf
push 0
call fcn.00414cfe
push eax
call 0x344353c3
rcr byte [ebx - 0x3e], 0xc7
add eax, 0x49223c
jo 0x4433c9
mov dword [0x49223c], 0x24840270
test byte [ecx + ecx*4], ah
xor eax, 0x4a72e4
mov dword [0x4a72e4], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
invalid
Function at 0x443475
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
add al, 0x8b
mov al, cl
and al, 1
invalid
adc eax, 0x40082158
push esi
les eax, [ecx + ecx*4]
or byte [eax - 0x39], dl
inc esi
add al, 0xf4
cmp eax, ebx
jg 0x443411
inc esi
or al, ch
lcall 0x4c5, 0x8300fce2
mov dword [esi], eax
inc esp
add byte [edx + 0x6a004801], cl
cmp dword [ecx], 0
je 0x44353d
mov al, 1
dec eax
add byte [edx - 0x75], ch
inc ecx
or al, 0x50
call 0x8d447c0c
push esp
and al, 0x75
xor dh, byte [eax + 0x6a004801]
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x44353d
mov al, 1
dec eax
add byte [edx - 0x27], ch
out dx, al
fcomp qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x44353d
mov al, 1
dec eax
add byte [edx + 0x33], ch
sar byte [ecx], 1
setne al
ret 0x6a00
xor al, al
ret 0x6a00

Function at 0x4450b6
Capabilities:
Encode data using xor

Disassembly:
xor word [ebx + eax*2], di
inc ebx
inc eax
cmp eax, edi
jl 0x4450b3
mov esi, dword [ebp - 0x75]
ret

Function at 0x445111
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sal byte [ebp - 0xf], 0x33
leave
mov word [edi + ebx*2], cx
mov esi, dword [esp - 0x3e]
add byte [edx - 0x40], ch
jne 0x44514e
call [esi + 0x57]
call 0x14112e4
add ebp, 4
xor eax, eax
push ebp
sub al, 0x56
lea esi, [eax - 1]
test esi, esi
jl 0x445156
xor byte [esp + esi*8 + 0x3b], 0xc3
jg 0x445150
mov bh, 4
ja 0x445195
call 0x34437b7a
rcr byte [ebx + 4], 0x85
sal byte [ebp + eax - 0x7d], 0xee
add eax, 0x7901ee83
ljmp 0x774c
add ebx, ebp
and byte [esi - 0x7d], ah
stc
daa
Function at 0x47f2b4
Capabilities:
Encode data using xor

Disassembly:
push edi
call 0xed34274
mov edx, dword [edi + 4]
dec ecx
mov eax, edi
call 0x10d2f395
mov ecx, 0x18740138
mov eax, edi
call 0x10d2f395
mov ecx, 0xc740238
mov eax, edi
call 0x508bf395
and al, 0x38
add esi, dword [ebp + 0x12]
mov eax, edi
inc esi
call 0xc4a3f395
les esi, [eax]
dec eax
push edi
les esi, [eax]
dec eax
push edi
push eax
push 0x89412cd8
or ch, al
adc esi, edx
cmp byte [ebx + edi - 0xb], bl
jl 0x47f27f
push esp
and al, 0x74
pop ds
mov eax, dword [esi]
adc dl, al
or al, 0
push 0xffffffffffffffff
push 0x2087d96
push ebx
call fcn.0045e663
push esp
and al, 0x74
pop ds
mov eax, dword [esi]
adc dl, al
or al, 0
mov dword [eax], eax
add byte [esp + esi*2 + 0x33], cl
in eax, dx
mov al, 0xf8
call [edi + 0x74]
push esi
push edx
call 0xa81198
cmp byte [0x4a7cc2], bl
je 0x47f351
or word [ebx + 0x648b1475], 0xfff8
call 0xb24836a3
clc
push dword [esp + esi*2]
and al, 0x28
call 0x39085f56
jl 0x47f38a
and al, 0x3c
jl 0x47f38e
and al, 0x40
jl 0x47f392
and al, 0x14
jl 0x47f396
and al, 0x28
call 0xe88c829d
insb byte es:[edi], dx
invalid
in al, dx
sbb al, 0x53
push esi
mov esi, dword [ebp + 0x14]
push edi
adc al, 0x57
dec eax
je 0x47f38a
dec esp
and al, 0x10
mov ecx, dword [eax + 8]
jg 0x47f357
invalid
mov eax, dword [edi]
push eax
push esi
lcall 0x748b, 0x4824c04
and al, 0x14
jne 0x47f3b0
add al, 0x8b
je 0x47f3ba
adc al, 0x75
pop ss
cmp ebx, 0x58
jne 0x47f3b5
test dword [eax + 0x578c0f00], ebp
push esi
push ebx
call 0x75473c50
pop ebx
mov ecx, dword [edi]
test ebx, eax
invalid
inc eax
mov dword [edi], eax
push eax
pop es
call 0x940eebc
xor edi, dword [eax]
call 0xf893ef7
test dh, bl
cmp byte [edi - 3], cl
call dword [eax - 0x18]
pushal
sti
dec dword [ebp - 0x5557db8c]
dec eax
add bh, bh
xor bl, bh
jmp dword [esp + ecx*2]

Function at 0x47f6ef
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushfd
clc
adc al, 0
push ebp
mov ebp, esp
and esp, 0x47
add byte [eax - 0x4d], dh
adc al, 0
movsx edx, word [ecx - 5]
add byte [eax], al
mov edx, dword [edx + edx*2]
push 0x6b
push eax
call 0x5745e663
call 0xe8605fc6
fstp qword [ebx + 0x2454fff8]
je 0x47f74e
shl ah, 0x47
add byte [eax - 0x4d], dh
adc al, 0
dec esp
Function at 0x10016370
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x1005e434], 0
mov dword [esp + 0xc], 0x11c
jne 0x100163f4
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [esp + 0xc]
push ecx
call esi
test eax, eax
jne 0x100163ce
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call esi
test eax, eax
je 0x100163dc
cmp dword [esp + 0x1c], 2
jne 0x100163dc
cmp dword [esp + 0x10], 6
jae 0x10016431
xor eax, eax
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10041218
add esp, 0x128
ret
push 1
push 2
push 0
push 0
mov dword [esp + 0x20], 6
mov dword [esp + 0x2c], 2
call dword [0x1005e438]
push 1
push 8
push edx
push eax
call dword [0x1005e438]
push edx
push eax
push 0xa
lea eax, [esp + 0x18]
push eax
call dword [0x1005e434]
test eax, eax
je 0x100163dc
cmp dword [esp + 0x130], 1
push edi
jne 0x100164fb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 8]
push ecx
push 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100164fb
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x19
push eax
call edi
test eax, eax
jne 0x100164f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100164f0
mov ecx, dword [esp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100164f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push eax
push esi
push 0x19
push ecx
call edi
test eax, eax
je 0x100164e9
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov al, byte [eax]
mov edx, dword [esi]
sub al, 1
movzx ecx, al
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
cmp dword [eax], 0x3000
jne 0x100164e9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10041218
add esp, 0x128
ret
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10041218
add esp, 0x128
ret
Function at 0x10016840
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x1004248c
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [esp + 0x134]
xor ebx, ebx
push ebx
mov ebp, ecx
push 0x26
lea ecx, [esp + 0x20]
push ecx
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x100168a0
mov ecx, 7
mov esi, str.SoftForumXecureWebAnySign
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100168c0
sub eax, edx
je 0x100168e6
mov edx, dword [esp + 0x130]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___char___unsigned_long_int_]
add esp, 0xc
jmp 0x100168fc
mov ecx, dword [esp + 0x130]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
add esp, 8
push 4
mov dword [ebp], eax
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], ebx
je 0x10016927
mov ecx, eax
call fcn.1002c2e0
jmp 0x10016929
xor eax, eax
or esi, 0xffffffff
push 0x100c
mov dword [esp + 0x12c], esi
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x28], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x128], 1
je 0x10016971
mov ecx, eax
call fcn.10026600
jmp 0x10016973
xor eax, eax
mov dword [esp + 0x128], esi
mov dword [ebp + 0x1c], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWSSLClient____cdecl_XWSSLClient::getInstance_void_]
mov dword [eax + 8], 0x100167b0
mov dword [eax + 0xc], 0x100167c0
call sym.NativeMng.dll_public:_static_class_NativeFCMSWrapper____cdecl_NativeFCMSWrapper::getInstance_void_
mov dword [ebp + 8], eax
mov eax, ebp
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10041218
add esp, 0x118
ret 8
Function at 0x10016b40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, ebx
or esi, 0xffffffff
push edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10016b57
push 0
push 0
sub eax, edx
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x10016c39
lea eax, [edi + 1]
push 2
push eax
call dword [sym.imp.MSVCR80.dll_calloc]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10016c39
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10016ba0
push edi
push ebp
sub eax, edx
push eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x10016c39
push 0x1004ae2c
push ebp
call dword [sym.imp.MSVCR80.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x10016c39
push 2
push 0
push edi
call dword [sym.imp.MSVCR80.dll_fseek]
push edi
call dword [sym.imp.MSVCR80.dll_ftell]
push edi
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_rewind]
add esp, 0x14
test ebx, ebx
jle 0x10016c26
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, dword [esp + 0x1c]
push edi
push 1
push ebx
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCR80.dll_fread]
mov edx, dword [esp + 0x30]
add esp, 0x14
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
add esi, 0xfffffffe
mov dword [edx], ebx
jmp 0x10016c2b
mov esi, 0xfffffffd
push edi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
test esi, esi
je 0x10016c4a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
test ebp, ebp
je 0x10016c58
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x10016de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20119
push 0
push str.SOFTWAREAhnlabSafe_Transaction
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
push esi
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.InstallPath
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0x104
pop esi
add esp, 8
ret 8
Function at 0x100214c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100430f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push 0xfde9
push eax
or edi, 0xffffffff
call fcn.10018800
mov ecx, dword [esp + 0x30]
push 0xfde9
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10018800
mov edx, dword [esp + 0x34]
push 0xfde9
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.10018800
mov ebx, dword [esp + 0x28]
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.1001a970
push ebx
mov ecx, esi
call fcn.10020b80
test al, al
jne 0x10021551
mov ecx, dword [esi]
push 0x98970e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x10021638
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebx
push eax
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.10018ea0
mov eax, dword [esp + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov dword [esp + 0x38], 0
call fcn.10018ea0
mov edx, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x3c], 1
call fcn.10018ea0
mov byte [esp + 0x38], 2
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ecx, eax
mov dword [esp + 0x38], edi
call fcn.1001df30
mov edi, eax
test edi, edi
je 0x100215f8
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov dword [esp + 0x34], 0
call edx
test eax, eax
jge 0x100215e9
push 0x1004adf4
push ebx
push eax
call fcn.10041d70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x10021638
mov eax, 0x51eb851f
imul ebp
mov ebp, dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
push 1
push 0
push ecx
mov ecx, dword [esi]
call ebp
mov eax, 0x51eb851f
imul ebx
mov ecx, dword [esi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push 1
push 0
push eax
call ebp
call dword [sym.imp.NativeMngUAC.dll_int___stdcall_xwUACUnInitialize_void_]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x10021680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10043140
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x28]
push 0xfde9
push eax
or edi, 0xffffffff
call fcn.10018800
mov ecx, dword [esp + 0x2c]
push 0xfde9
push ecx
mov ecx, esi
mov ebx, eax
call fcn.10018800
mov edx, dword [esp + 0x30]
push 0xfde9
push edx
mov ecx, esi
mov ebp, eax
call fcn.10018800
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
push 0xfde9
push eax
mov ecx, esi
call fcn.10018800
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.1001a970
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.10020b80
test al, al
jne 0x10021725
mov ecx, dword [esi]
push 0x98970e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x1002180c
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.10018ea0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov dword [esp + 0x38], 0
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push ebp
mov byte [esp + 0x3c], 1
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
mov byte [esp + 0x40], 2
call fcn.10018ea0
mov byte [esp + 0x3c], 3
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ecx, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.1001e8e0
mov edi, eax
test edi, edi
je 0x100217e9
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x40], eax
push eax
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x2c], 0
call eax
test eax, eax
jge 0x100217da
mov ecx, dword [esp + 0x3c]
push 0x1004adf4
push ecx
push eax
call fcn.10041d70
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x1002180c
mov eax, 0x51eb851f
imul dword [esp + 0x3c]
mov ecx, dword [esi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push 1
push 0
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
call dword [sym.imp.NativeMngUAC.dll_int___stdcall_xwUACUnInitialize_void_]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
push ebp
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x24