joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403020
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0xffffffff
push eax
xor esi, esi
xor ebx, ebx
push 0x28
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x40317a
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push ebx
push 3
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x403088
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40317a
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x40317a
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push ebx
push 3
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40317a
mov dword [ebp - 0x34], esi
cmp dword [ebx], esi
jbe 0x40317a
add ebx, 4
mov eax, dword [ebx + 8]
mov edi, 2
movq xmm0, qword [ebx]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push eax
push 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
test eax, eax
jne 0x403108
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x403171
mov eax, dword [ebp - 0x2c]
mov ecx, 0xffffffff
inc eax
mov dword [ebp - 0x2c], eax
mul edi
cmovb eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
xor esi, esi
test edi, edi
je 0x403171
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
test eax, eax
je 0x403171
push str.SeImpersonatePrivilege
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4031a5
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, dword [ebp - 0x34]
add esp, 4
mov eax, dword [ebp - 0x30]
inc edi
add ebx, 0xc
mov dword [ebp - 0x34], edi
cmp edi, dword [eax]
jb 0x4030ca
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403188
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x403192
push ebx
call edi
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407e59
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ecx, dword [ebp - 0xc]
push esi
push esi
push 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x403171
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, 1
call edi
add esp, 4
jmp 0x403177
Function at 0x406aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0xffff
movzx eax, bx
mov dword [ebp - 0x34], eax
mov esi, ecx
cmp di, bx
jne 0x406add
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x406b17
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x406b17
dec dword [edx]
mov ax, bx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x406be7
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ecx], eax
jne 0x406b44
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x406b77
push dword [esi + 0x4c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret 4
movzx eax, bx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x406bb6
sub eax, 1
je 0x406bb6
sub eax, 2
jne 0x406be7
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x406b4f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x406bd4
push dword [esi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x406be7
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], ecx
movzx eax, ax
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407e59
mov esp, ebp
pop ebp
ret 4
Function at 0x406fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x407094
cmp byte [esi + 0x3e], 0
je 0x407094
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x407082
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x407049
sub eax, 1
je 0x40704d
sub eax, 2
jne 0x407082
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40706b
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x407082
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00407e59
mov esp, ebp
pop ebp
ret

Function at 0x40894c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40898b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40898b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40898b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40898b
cmp dword [ecx + 0x74], 0xe
jbe 0x40898b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403b6a
Capabilities:
Suspend thread

Disassembly:
push 0x10
mov eax, 0x5d44ce
call fcn.005a99e3
mov edi, ecx
cmp byte [edi + 0x2e6], 0
jne 0x403cad
mov byte [edi + 0x2e6], 1
push ecx
mov byte [0x6666eb], 1
call fcn.00405ded
mov eax, dword [edi + 0x2e8]
test eax, eax
je 0x403bb2
mov eax, dword [eax]
test eax, eax
je 0x403bb2
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push str.cyri_api_LogUserEvent
mov dword [ebp - 0x1c], ebx
call fcn.004030e1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00462ac9
push eax
lea ecx, [ebp - 0x18]
call fcn.004022f9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
call fcn.00401e93
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x18]
push str.Tag:_detection_app__EventType:_cancel__Description:_cancel__UserId:__s_
push eax
call fcn.00404b53
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402322
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405e35
mov eax, dword [edi + 0x2f4]
test eax, eax
je 0x403c2e
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1a
mov ecx, edi
call fcn.004043f7
push ebx
push 0x19
mov ecx, edi
call fcn.0040443e
mov dword [ebp - 0x14], ebx
call fcn.00462ac9
push eax
lea ecx, [ebp - 0x14]
call fcn.004022f9
mov byte [ebp - 4], 6
push 0x1e
call fcn.00464f24
test eax, eax
je 0x403c6c
push 0x1e
push eax
lea ecx, [ebp - 0x14]
call fcn.00403384
mov esi, dword [ebp - 0x14]
lea ecx, [edi + 0x1d0]
push esi
call fcn.0047c42f
push 2
mov ecx, edi
call fcn.0047e7d0
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.00402322
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402322
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402322
xor eax, eax
call fcn.005a998d
ret 8
Function at 0x4096a2
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4097f9
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4097f9
cmp eax, 0x29
jne 0x4096df
cmp dword [esi + 0x10], 0
jne 0x4097f9
cmp eax, eax
jne 0x4096df
test dword [esi + 0x50], edx
je 0x4097ff
cmp eax, 0x2e
jne 0x4096fa
push 5
lea ecx, [esi + 0x24]
call fcn.00409924
mov ecx, esi
call fcn.00409679
jmp 0x4097e3
cmp eax, 0x5c
jne 0x40974f
mov ecx, esi
call fcn.00409679
test byte [esi + 0x50], 0x80
je 0x409743
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x40972b
push 4
lea ecx, [esi + 0x24]
call fcn.00409924
mov ecx, esi
call fcn.00409679
jmp 0x4097ea
cmp eax, 0x42
jne 0x409743
push 4
lea ecx, [esi + 0x24]
call fcn.00409924
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40971f
mov ecx, esi
call fcn.0040a733
jmp 0x4097e3
cmp eax, 0x5b
jne 0x40976f
mov ecx, esi
call fcn.00409679
mov ecx, esi
call fcn.0040a6e7
cmp dword [esi + 0x4c], 0x5d
je 0x4096ee
push 4
jmp 0x409801
cmp eax, 0x28
jne 0x40978c
mov ecx, esi
call fcn.00409679
mov ecx, esi
call fcn.0040a7e1
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4097ff
jmp 0x4097d8
cmp eax, 0x5e
jne 0x409795
push 2
jmp 0x409717
cmp eax, 0x24
jne 0x4097a1
push 3
jmp 0x409717
cmp eax, 0x2a
je 0x4097f5
cmp eax, 0x2b
je 0x4097f5
cmp eax, 0x3f
je 0x4097f5
cmp eax, 0x7b
je 0x4097f5
cmp eax, 0x7d
jne 0x4097bf
test dword [esi + 0x50], edx
je 0x4097f1
cmp eax, 0x5d
jne 0x4097c9
test dword [esi + 0x50], edx
je 0x409768
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040a96b
mov bl, 1
mov ecx, esi
call fcn.00409679
test bl, bl
je 0x4097ea
mov ecx, esi
call fcn.0040a891
mov cl, 1
jmp 0x4096a9
push 6
jmp 0x409801
push 0xa
jmp 0x409801
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.004087cb
int3
Function at 0x41a950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x65bfd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x50], 0
push esi
lea esi, [ebx + 4]
push edi
jne 0x41a975
xor edi, edi
jmp 0x41aa07
cmp dword [esi + 0x38], 0
je 0x41a9ec
cmp byte [esi + 0x3d], 0
je 0x41a9ec
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41a993
xor al, al
jmp 0x41a9ee
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41a9be
sub eax, 1
je 0x41a9c2
sub eax, 2
je 0x41a9ec
xor al, al
jmp 0x41a9ee
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41a9e3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005b5435
add esp, 0x10
cmp edi, eax
je 0x41a9e3
xor al, al
jmp 0x41a9ee
cmp byte [esi + 0x3d], 0
sete al
jmp 0x41a9ee
mov al, 1
push dword [esi + 0x4c]
xor edi, edi
test al, al
cmovne edi, esi
call fcn.005b564f
xor ecx, ecx
add esp, 4
test eax, eax
cmovne edi, ecx
mov byte [esi + 0x48], 0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea ecx, [esi + 8]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x666830]
mov dword [esi + 0x40], eax
mov eax, dword [0x666834]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
test edi, edi
jne 0x41aaa8
mov eax, dword [ebx]
push edi
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004125a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a909b
mov esp, ebp
pop ebp
ret
Function at 0x41dbf0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
xorps xmm0, xmm0
lea eax, [esp + 0x14]
push edi
push eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x41dc2a
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x14], eax
rdtsc
mov edi, eax
mov ebx, edx
nop dword [eax]
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
jb 0x41dc50
ja 0x41dc6d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
jb 0x41dc50
rdtsc
mov ecx, eax
call fcn.005d3260
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [esp + 0x10], xmm0
call fcn.005d3260
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
pop edi
pop esi
pop ebx
movss xmm0, dword [esp + 4]
subss xmm0, xmm1
divss xmm0, dword [0x62fb90]
mov esp, ebp
pop ebp
ret
Function at 0x421470
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7ba1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x65bfd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00442e30
lea eax, [edi + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.00442e30
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
call fcn.00442e30
lea eax, [edi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.00442e30
lea eax, [edi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x20]
call fcn.0045a410
lea eax, [edi + 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x28]
call fcn.0045a410
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.00442e30
lea eax, [edi + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x38]
call fcn.0045a410
lea eax, [edi + 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x40]
call fcn.0045a410
lea ecx, [esi + 0x48]
lea edx, [edi + 0x48]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x421542
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x58]
lea edx, [edi + 0x58]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x42155e
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x68]
lea edx, [edi + 0x68]
mov dword [ecx], vtable.srl::Size.0
cmp ecx, edx
je 0x42157a
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
lea eax, [edi + 0x78]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0x78]
call fcn.00453330
mov dword [esi + 0x94], vtable.srl::Exists.0
movzx eax, byte [edi + 0x98]
mov byte [esi + 0x98], al
mov dword [esi + 0x9c], vtable.srl::Exists.0
movzx eax, byte [edi + 0xa0]
mov byte [esi + 0xa0], al
mov dword [esi + 0xa4], vtable.srl::Exists.0
movzx eax, byte [edi + 0xa8]
mov byte [esi + 0xa8], al
mov dword [esi + 0xac], vtable.srl::Exists.0
movzx eax, byte [edi + 0xb0]
mov byte [esi + 0xb0], al
mov dword [esi + 0xb4], vtable.srl::Exists.0
movzx eax, byte [edi + 0xb8]
mov byte [esi + 0xb8], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8f88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x65bfd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42e76b
cmp dword [ebp - 0x10], 4
jne 0x42e774
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x42e8d4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push str.install
push dword [edi]
call esi
test eax, eax
jne 0x42e8d4
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x42e7a9
cmp eax, 2
jne 0x42e8d4
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x10], eax
je 0x42e8d4
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0042f340
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov ecx, edi
push eax
push esi
push str.install
call fcn.0042fc10
test eax, eax
jne 0x42e888
mov ecx, 0x62b0f8
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e816
test dx, dx
je 0x42e812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e816
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e7f0
xor ecx, ecx
jmp 0x42e81b
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
sete al
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42e874
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42e855
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8e8
push ecx
push esi
call fcn.005a9369
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42e8d4
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42e8b5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8ed
push ecx
push esi
call fcn.005a9369
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005b06b9
call fcn.005b06b9
int3
Function at 0x42fc10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42fc81
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42fc4f
cmp eax, 2
jne 0x42fc6b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42fc7b
test ecx, ecx
je 0x42fc76
test cl, 1
jne 0x42fc6b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42fc7b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42fcd0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9134
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x65bfd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x84], vtable.srl::Size.0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x94], vtable.srl::Size.0
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0xa4], vtable.srl::Size.0
movlpd qword [ebp - 0x9c], xmm0
mov byte [ebp - 4], 3
push str.kernel32.dll
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42fe4c
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00413bf0
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x208]
call fcn.00413bf0
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.00413bf0
push str.GlobalMemoryStatusEx
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fde3
lea ecx, [ebp - 0x74]
push ecx
call eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
jmp 0x42fe20
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x158]
call fcn.00413820
lea ecx, [ebp - 0x208]
call fcn.00413820
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.00413820
mov eax, dword [0x6665a4]
test eax, eax
jne 0x42fe81
push 0x78
call fcn.004627a8
add esp, 4
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x42fe76
mov ecx, eax
call fcn.0040d620
jmp 0x42fe78
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x6665a4], eax
lea esi, [eax + 0x64]
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x11597
call fcn.00418090
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x116d5
call fcn.00418090
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
push 0x116d6
call fcn.00418090
push 0x626078
push 0x11606
mov ecx, esi
call fcn.00418370
push 0x626078
push 0x11607
mov ecx, esi
call fcn.00418370
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a909b
mov esp, ebp
pop ebp
ret