joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c6c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x130
mov dword [ebp - 0x13c], ecx
movzx eax, word [ebp + 8]
mov ecx, dword [0x80e040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov esi, dword [0x813590]
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
inc edi
test eax, eax
je 0x48c723
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c723
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x48c723
movzx ecx, word [eax]
test cx, cx
jne 0x48c7d3
jmp 0x48c723
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, edi
add esp, 0x130
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x130]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0xc], xmm0
movdqu xmmword [eax], xmm0
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x114]
push 3
push edi
call fcn.0048c870
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x48c79c
push eax
call fcn.004bf4d0
add esp, 4
lea eax, [ebp - 0x138]
push eax
push 0
push 0x40b
push ebx
mov eax, dword [ebp - 0x13c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x48c868
lea eax, [edi + esi]
movzx ecx, word [edi + esi]
test cx, cx
je 0x48c720
movzx ebx, cx
movzx ecx, word [eax + 2]
lea edi, [eax + 8]
mov esi, dword [eax + 4]
cmp ecx, 0x1234
je 0x48c73c
cmp ecx, 0x403
jne 0x48c7c3
push 0x100
push 0xff
lea eax, [ebp - 0x110]
push eax
call fcn.005cced0
add esp, 0xc
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x114]
push 3
push edi
call fcn.0048c870
push dword [ebp - 0x114]
push 0
push 0x143
push ebx
mov eax, dword [ebp - 0x13c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x48c85f
push eax
call fcn.004bf4d0
add esp, 4
cmp ebx, 0xffffffff
jne 0x48c7c3
xor edi, edi
jmp 0x48c723
Function at 0x4939e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x80e040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movsx edx, byte [eax + 0xb]
test edx, edx
jns 0x493a04
mov edx, dword [eax + 4]
mov eax, dword [eax]
test edx, edx
js 0x493b50
sete cl
test eax, eax
setne ch
or ch, cl
je 0x493b50
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x2c]
mov ecx, edi
push 0x52
push 0x7855dc
push edx
push eax
call fcn.0063efe0
add esi, dword [edi + 0x18]
mov ecx, edi
call fcn.006400b0
mov ecx, dword [0x81358c]
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
mov dword [ebp - 0x30], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x493ac2
mov ebx, eax
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x493ac2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x493ac2
mov edi, eax
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and esi, 0xf
je 0x493aad
test eax, eax
jle 0x493aad
mov edx, edi
add edx, eax
dec esi
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
cmp edi, edx
setb cl
add esi, 0xffffffff
jae 0x493aad
cmp edi, edx
jb 0x493a96
test cl, cl
je 0x493ac2
movzx edx, word [edi]
test edx, edx
sete al
test edi, edi
sete cl
or cl, al
je 0x493af6
call fcn.00649760
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movsd qword [ebx], xmm0
mov dword [ebx + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov byte [ebx + 0xb], dl
mov esi, ebx
jmp 0x493b2d
add edi, 2
cmp dx, 4
jbe 0x493aec
mov ebx, edx
or ebx, 3
lea eax, [ebx*2 + 2]
push eax
mov esi, edx
call fcn.005c8b59
mov edx, esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
add ebx, 0x80000001
mov dword [eax + 8], ebx
mov ebx, eax
mov dword [eax + 4], edx
cmp esi, edi
ja 0x493b38
lea eax, [esi + edx*2]
cmp eax, edi
ja 0x493b50
lea eax, [edx + edx]
push eax
push edi
push esi
mov edi, edx
call fcn.005cc950
add esp, 0xc
mov word [esi + edi*2], 0
jmp 0x493ad8
ud2
Function at 0x4949a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x494a4a
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x494a4d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x494a43
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x494a38
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x494a38
push 0
push dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x494a38
xor ecx, ecx
test al, 3
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
sub ecx, edx
mov eax, dword [esi + 8]
sub eax, ebx
push 0x44
push ecx
push eax
push edx
push ebx
xor eax, eax
push eax
xor ebx, ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
add ecx, dword [esi + 8]
sub eax, ecx
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x494a43
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
int3
int3

Function at 0x495af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor eax, eax
test esi, esi
je 0x495b70
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x495b6e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x495b6e
mov ebx, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and edi, 0xf
je 0x495b6a
test eax, eax
jle 0x495b6a
mov edx, ebx
add edx, eax
dec edi
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
cmp ebx, edx
setb cl
add edi, 0xffffffff
jae 0x495b6a
cmp ebx, edx
jb 0x495b53
test cl, cl
jne 0x495b7a
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
movzx esi, word [ebx]
test esi, esi
sete al
test ebx, ebx
sete cl
or cl, al
mov eax, 0
jne 0x495b70
lea eax, [ebx + 2]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
mov ecx, edi
push esi
call fcn.00602ac0
movzx ecx, word [ebx]
push ecx
push dword [ebp - 0x10]
push esi
push eax
call fcn.00495cd0
add esp, 0x10
mov eax, dword [edi]
cmp dword [eax - 8], esi
jl 0x495bc9
mov dword [eax - 0xc], esi
mov eax, dword [edi]
mov word [eax + esi*2], 0
xor eax, eax
inc eax
jmp 0x495b70
push 0x80070057
call fcn.006400e0
int3
Function at 0x495be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ecx, 0x813588
push 0
call fcn.005c90ba
test eax, eax
je 0x495c20
mov edx, dword [ebp + 8]
mov ecx, edx
shr ecx, 4
inc ecx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
and edx, 0xf
mov dword [ebp - 0x18], edx
lea ecx, [edx - 1]
mov dword [ebp - 0x14], ecx
xor esi, esi
inc esi
movzx ecx, word [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
jmp 0x495c53
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
test cl, cl
je 0x495c43
mov eax, ebx
cmp word [edi], 0
sete dl
test edi, edi
sete cl
or cl, dl
cmp cl, 1
jne 0x495c22
mov ecx, 0x813588
push esi
inc esi
call fcn.005c90ba
test eax, eax
je 0x495c20
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x495c43
mov ebx, eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x495c43
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x495c43
mov edi, eax
push ebx
mov eax, dword [ebp - 0x10]
mov ebx, eax
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
cmp dword [ebp - 0x18], 0
je 0x495c2a
test eax, eax
jle 0x495c2a
mov edx, edi
add edx, eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [edi]
lea edi, [edi + ecx*2]
add edi, 2
cmp edi, edx
setb cl
add eax, 0xffffffff
jae 0x495c2a
cmp edi, edx
jb 0x495ca9
jmp 0x495c2a

Function at 0x499140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call fcn.0048cd80
push 5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4991f3
mov esi, eax
push 0xf0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4991ef
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4991f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4991f7
mov esi, dword [ebp + 0x18]
push ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.00499220
add esp, 8
mov ebx, eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
xor edi, edi
test eax, eax
jne 0x4991d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp ebx, dword [ebp - 0x10]
sete al
test ebx, ebx
sete cl
or cl, al
jne 0x499201
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x499201
xor ebx, ebx
jmp 0x499188
xor esi, esi
jmp 0x49920c
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x49920c
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x499ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xa8
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 8], eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x499f22
add esi, 4
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x499f35
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005c9f16
add esp, 0xa8
pop esi
pop ebp
ret
mov ecx, esi
push 0
call fcn.00605fe0
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x499f22
push 1
call fcn.00560ca0
add esp, 4
test al, al
je 0x499f22
call fcn.00646ae0
lea esi, [ebp - 0xac]
mov ecx, esi
push eax
push 1
push 0xb6
push str.....chromeupdaterwinuiui.cc
call fcn.00646c90
lea eax, [ebp - 0xa4]
push 4
push str.Show
push eax
call fcn.00535510
add esp, 0xc
push 0x1e
push str.:_::SetForegroundWindow_failed
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
call fcn.00646cf0
jmp 0x499f22

Function at 0x49a390
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x80e040]
xor edx, ebp
mov dword [ebp - 0x10], edx
cmp byte [esi + 0xb], 0
js 0x49a3eb
mov word [esi], 0
mov byte [esi + 0xb], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x49a3d5
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x49a3fb
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi]
mov word [edx], 0
mov dword [esi + 4], 0
jmp 0x49a3bc
xor ecx, ecx
dec ecx
lea ebx, [ebp - 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
inc eax
mov ecx, ebx
push eax
call fcn.00606260
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x49a452
sub ecx, eax
sar ecx, 1
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
setne bl
jne 0x49a454
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49a3d7
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x49a444
add ecx, 0xfffffffe
jne 0x49a439
jmp 0x49a452
mov dword [ebp - 0x18], eax
push eax
call fcn.005c8b90
add esp, 4
jmp 0x49a3d7
ud2
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov edi, edx
sub edi, eax
sar edi, 1
mov ecx, esi
push edi
push edx
push eax
call fcn.006062c0
jmp 0x49a42f
Function at 0x4a52a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push ecx
push 0x790ed4
push 1
push eax
push 0x76d188
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4a5407
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
movsx edx, byte [eax + 0xb]
test edx, edx
jns 0x4a52f1
mov edx, dword [eax + 4]
mov eax, dword [eax]
test edx, edx
js 0x4a53ed
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
sete cl
test eax, eax
setne ch
or ch, cl
je 0x4a53ed
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
mov ecx, edi
push edx
push eax
call fcn.004a6870
mov ebx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call dword [0x8072c0]
sub esp, 0x24
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
call ecx
mov esi, eax
mov ecx, edi
call fcn.004a68b0
test esi, esi
js 0x4a53ef
cmp byte [ebp - 0x24], 0
je 0x4a5398
mov eax, dword [ebp - 0x18]
sub esp, 0x20
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x790e70]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4a53fa
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [eax], ecx
test esi, esi
jne 0x4a5413
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0
xor eax, eax
mov byte [ecx + 4], al
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x4a5423
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4a53db
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 1
jmp 0x4a5403
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 2
mov al, 1
jmp 0x4a53b5
mov dword [esi], 0
mov byte [esi + 4], 1
jmp 0x4a53bf
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
jmp 0x4a53ad
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
jmp 0x4a53bf
Function at 0x4a5440
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x81527c]
mov ecx, dword [0x813560]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a548d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, 0x815278
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x81527c
call fcn.005c8bdd
add esp, 4
cmp dword [0x81527c], 0xffffffff
jne 0x4a5473
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.005cced0
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.005c8b59
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x8152ac]
mov ecx, dword [0x813560]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a5536
mov ecx, esi
push ebx
push 0x815288
push edi
call fcn.004a5630
mov dword [0x815278], esi
push 0x81527c
call fcn.005c8c57
add esp, 4
jmp 0x4a5473
push 0x8152ac
call fcn.005c8bdd
add esp, 4
cmp dword [0x8152ac], 0xffffffff
jne 0x4a5510
xorps xmm0, xmm0
movups xmmword [0x815298], xmm0
movups xmmword [0x815288], xmm0
mov dword [0x8152a8], 0
push 0x815288
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x8152ac
call fcn.005c8c57
add esp, 4
jmp 0x4a5510

Function at 0x4a5590
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8152ac]
mov ecx, dword [0x813560]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a55c1
movzx eax, word [0x815288]
cmp eax, 9
jne 0x4a560c
xor eax, eax
inc eax
pop ebp
ret
push 0x8152ac
call fcn.005c8bdd
add esp, 4
cmp dword [0x8152ac], 0xffffffff
jne 0x4a55b0
xorps xmm0, xmm0
movups xmmword [0x815298], xmm0
movups xmmword [0x815288], xmm0
mov dword [0x8152a8], 0
push 0x815288
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x8152ac
call fcn.005c8c57
add esp, 4
jmp 0x4a55b0
test eax, eax
je 0x4a55bf
cmp eax, 6
jne 0x4a561c
mov eax, 2
jmp 0x4a55bf
cmp eax, 0xc
jne 0x4a5628
mov eax, 3
jmp 0x4a55bf
mov eax, 4
jmp 0x4a55bf

Function at 0x4a6b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x4a6b30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
test eax, eax
je 0x4a6bbc
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 4]
lea edx, [ebp - 0x24]
mov dword [edx], ecx
mov ecx, ebx
or ecx, 0x10001
push edx
push ecx
push 8
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a6ba4
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
and ebx, 0x300
mov dword [ebp - 0x18], ebx
cmp byte [eax], 1
jne 0x4a6bc3
test ecx, ecx
je 0x4a6b94
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 4]
push dword [ebp + 8]
push dword [esi]
call fcn.004a6c20
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, 6
jmp 0x4a6ba6
mov ebx, ecx
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004a6d90
cmp byte [ebp - 0x20], 0
jne 0x4a6bf5
push 0
push dword [esi + 4]
push 0x780cf8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
jmp 0x4a6bf8
mov edi, dword [ebp - 0x24]
test ebx, ebx
je 0x4a6ba6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a6ba6
push 1
call fcn.004a7520
jmp 0x4a6ba6
Function at 0x4a6c20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [0x80e040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, ebx
or ecx, 0x10009
lea edi, [ebp - 0x24]
mov dword [edi], esi
mov edx, dword [ebp + 0xc]
push edi
push ecx
push 8
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a6ccb
mov edx, edi
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ecx], edi
mov eax, ebx
and eax, 0x300
mov dword [ecx + 4], eax
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
push edx
call fcn.004a6d90
cmp byte [ebp - 0x20], 0
jne 0x4a6d76
push 0
push ebx
push 0x780cf8
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
xor esi, esi
test eax, eax
jne 0x4a6cd3
test edi, edi
je 0x4a6cac
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4a6d7e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
cmovne esi, eax
jmp 0x4a6cac
mov esi, 0x200
push esi
call fcn.005c8bc3
add esp, 4
push esi
push 0
mov ebx, eax
push eax
call fcn.005cced0
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x24], 0x100
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0
call esi
test eax, eax
jne 0x4a6d4a
mov eax, dword [ebp - 0x24]
cmp eax, 0x100
jae 0x4a6d8a
cmp word [ebx + eax*2], 0
jne 0x4a6d8d
mov edi, dword [ebp - 0x1c]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.004a6c20
add esp, 0xc
test eax, eax
je 0x4a6cf5
jmp 0x4a6d4d
mov edi, dword [ebp - 0x1c]
push 0
push dword [ebp + 0x10]
push 0x780cf8
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
test ebx, ebx
je 0x4a6ca1
push ebx
call fcn.005c8bcc
add esp, 4
jmp 0x4a6ca1
mov esi, dword [ebp - 0x24]
jmp 0x4a6ca1
push 1
call fcn.004a7520
jmp 0x4a6cb7
int3
int3
Function at 0x4a6d90
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ecx], eax
push eax
push eax
push ecx
push eax
push str.SymbolicLinkValue
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4a6de1
mov byte [esi], 0
xor eax, eax
mov byte [esi + 4], al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005c9f16
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret 4
test eax, eax
jne 0x4a6e28
cmp dword [ebp - 0x10], 6
jne 0x4a6dc4
push dword [edi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x4a6e2e
mov edi, eax
mov eax, dword [0x8152f0]
mov ecx, dword [0x813560]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a6e3d
mov ecx, dword [0x8152ec]
test ecx, ecx
je 0x4a6e36
call dword [0x8072c0]
push edi
call ecx
mov dword [esi], eax
mov al, 1
jmp 0x4a6dc9
mov dword [esi], 0
jmp 0x4a6e2a
mov eax, 5
jmp 0x4a6e28
push 0x8152f0
call fcn.005c8bdd
add esp, 4
cmp dword [0x8152f0], 0xffffffff
jne 0x4a6e15
push 0x786c50
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8152ec], eax
push 0x8152f0
call fcn.005c8c57
add esp, 4
jmp 0x4a6e15

Function at 0x4a6ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a6f13
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4a6efd
cmp dword [ebp - 0x18], 4
jne 0x4a6efd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x4a6efd