joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5900
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e599f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x4e5950
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e5986
test dx, dx
je 0x4e5982
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e5986
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e5960
xor eax, eax
jmp 0x4e598b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e5990
inc esi
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x4e5950
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, 1
pop edi
setge al
xor ecx, ebp
pop esi
call fcn.0054546b
mov esp, ebp
pop ebp
ret

Function at 0x4e59c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e5a00
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e5a92
lea ebx, [ebx]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e5a56
test dx, dx
je 0x4e5a52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e5a56
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e5a30
xor eax, eax
jmp 0x4e5a5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e5a80
push dword [ebp - 0x228]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4e5aa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4e5a20
push edi
call ebx
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e5ae0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e5b20
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e5bb9
lea ebx, [ebx]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e5b76
test dx, dx
je 0x4e5b72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e5b76
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e5b50
xor eax, eax
jmp 0x4e5b7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e5ba7
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 0xc]
je 0x4e5ba7
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4e5bcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4e5b40
push edi
call ebx
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0054546b
mov esp, ebp
pop ebp
ret

Function at 0x4e5c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e5d2d
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x4e5ce0
mov eax, str.firefox.exe
lea ecx, [ebp - 0x20c]
jmp 0x4e5cf0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e5d16
test dx, dx
je 0x4e5d12
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e5d16
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e5cf0
xor eax, eax
jmp 0x4e5d1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e5d3f
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x4e5ce0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop edi
pop esi
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e5d60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5685eb
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5d86f0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x5d86f0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x14]
xor eax, eax
mov dword [esp + 0x10], 0
push eax
push 0x5c054c
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004e8990
push 0
mov dword [esp + 0x274], 0
push 2
mov dword [esp + 0x34], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5e58
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e5e58
mov edi, dword [ebp + 0xc]
cmp dword [esp + 0x34], edi
je 0x4e5e20
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4e5e08
jmp 0x4e5e58
cmp word [esp + 0x50], 0
jne 0x4e5e2c
xor ecx, ecx
jmp 0x4e5e42
lea ecx, [esp + 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e5e33
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.004e8990
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004e87d0
cmp dword [esp + 0x28], 8
jb 0x4e5e77
push dword [esp + 0x14]
call fcn.00541faa
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e5ea0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, edx
test ebx, ebx
je 0x4e6040
test esi, esi
je 0x4e6040
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4e5fb7
cmp word [ebp - 0x4bc], 0
mov dword [ebp - 0x4c0], 0
je 0x4e5fb7
lea edi, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], 0
lea esp, [esp]
push 0x5c0880
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4e5f8e
push 0x5c0888
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4e5f8e
movzx eax, word [edi]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x4c4]
push 0x64
movzx eax, word [ebp + eax - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4e602d
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0xd4]
push edi
push eax
push ebx
call fcn.0054761b
add esp, 0xc
test eax, eax
je 0x4e5ff5
mov eax, dword [ebp - 0x4c0]
lea edi, [ebp - 0x4bc]
add eax, 4
mov dword [ebp - 0x4c0], eax
add eax, eax
add edi, eax
mov dword [ebp - 0x4c4], eax
cmp word [edi], 0
jne 0x4e5f10
mov ecx, 0x104
sub ebx, esi
mov edi, edi
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x4e6021
movzx eax, word [ebx + esi]
test ax, ax
je 0x4e6021
mov word [esi], ax
add esi, 2
dec ecx
jne 0x4e5fc0
sub esi, 2
xor eax, eax
pop edi
mov word [esi], ax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.004e14e0
lea eax, [ebx + edi*2]
mov ecx, esi
push eax
call fcn.004e1530
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x4e6028
sub esi, 2
xor eax, eax
mov word [esi], ax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e6060
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push ecx
push 0x400
mov word [ebp - 0x414], cx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4e60b5
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4e60c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 2
jne 0x4e60d5
lea eax, [ebp - 0x20c]
jmp 0x4e60fb
push ecx
lea edx, [ebp - 0x414]
lea ecx, [ebp - 0x20c]
call fcn.004e5ea0
add esp, 4
push esi
test eax, eax
je 0x4e60af
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
push eax
mov ecx, edi
call fcn.004e88d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0054546b
mov esp, ebp
pop ebp
ret

Function at 0x4e6120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568628
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e6210
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e620d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4e61a0
cmp word [ebp - 0x218], 0
jne 0x4e61ae
xor eax, eax
jmp 0x4e61c6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e61b7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp + 8]
push 0
call fcn.004eace0
test eax, eax
jne 0x4e61fb
push dword [ebp - 0x234]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4e6241
call ebx
push 0
call edi
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4e61a0
push esi
call edi
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x4e6223
push dword [ebp + 8]
call fcn.00541faa
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x240]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
je 0x4e620e
call edi
mov bl, 1
jmp 0x4e6212
Function at 0x4e6790
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
mov esi, 1
call fcn.005443d0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x4e6806
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x4e6890
xor eax, eax
cmp ecx, esi
pop esi
setne al
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x4e686c
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x4e6858
dec eax
je 0x4e6844
dec eax
je 0x4e6830
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jb 0x4e6885
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
cmp eax, 6
mov ecx, 8
cmova esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e6b80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5d86f0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x5c056c
mov dword [esp + 0x18], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x4e6be3
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x5c054c
mov word [esi], ax
call fcn.004e8990
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push edi
call fcn.0054247b
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4e6c12
push 0x5c054c
mov ecx, esi
call fcn.004e8770
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push 0x5c056c
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4e6bf2
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
push 0x5c0568
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4e6bf2
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [esp + 0x2c]
push str._d._d._d._d
push eax
call fcn.004e1e90
add esp, 0x18
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004e87d0
lea ecx, [esp + 0x1c]
call fcn.004e8880
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e7090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5687b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x34], 7
xor bl, bl
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push str.SoftwareMacromedia_s
push eax
call fcn.004e1e90
add esp, 0xc
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push 0x2001f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e715b
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x4e716c
push dword [ebp - 0x2c]
call fcn.00541faa
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x4e7191
push dword [ebp + 8]
call fcn.00541faa
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x4e71b6
push dword [ebp + 0x20]
call fcn.00541faa
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e71e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5687eb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5d86f0]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
mov eax, dword [0x5d86f0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x14], 8
jb 0x4e7235
mov eax, dword [esi]
jmp 0x4e7237
mov eax, esi
push eax
lea eax, [esp + 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004e1e90
add esp, 0xc
mov dword [esp + 0x270], 0
xorps xmm0, xmm0
push 0x5c0da8
push 0x5c056c
mov dword [esp + 0x38], 0
movdqu xmmword [esp + 0x3c], xmm0
movdqu xmmword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e730e
lea ecx, [esp + 0x30]
push ecx
call eax
mov eax, dword [esp + 0x30]
cmp ax, 9
je 0x4e72a2
cmp ax, 6
jne 0x4e730e
cmp dword [esi + 0x14], 8
jb 0x4e72aa
mov esi, dword [esi]
push esi
lea eax, [esp + 0x34]
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004e1e90
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x14]
cmp eax, esi
je 0x4e72fb
cmp dword [esp + 0x28], 8
jb 0x4e72da
push dword [esp + 0x14]
call fcn.00541faa
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004ea8f0
cmp dword [esp + 0x44], 8
jb 0x4e730e
push dword [esp + 0x30]
call fcn.00541faa
add esp, 4
xor eax, eax
mov dword [esp + 0x10], 0
push 0x206
push eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push eax
call fcn.005443d0
add esp, 0xc
lea ecx, [esp + 0x10]
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push ecx
push 1
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e7398
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0x208
cmp dword [eax + 0x14], 8
jb 0x4e736b
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
test eax, eax
mov ecx, 1
cmove edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x28], 8
jb 0x4e73ab
push dword [esp + 0x14]
call fcn.00541faa
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0054546b
mov esp, ebp
pop ebp
ret

Function at 0x4e73d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
lea eax, [ebp - 8]
xor bl, bl
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, 1
movzx ecx, bl
cmp eax, edx
pop ebx
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret
Function at 0x4e7410
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568842
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.004eaa20
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x228], 1
jb 0x4e74a9
mov eax, dword [ebx]
jmp 0x4e74ab
mov eax, ebx
lea ecx, [ebp - 0x224]
push ecx
push 0x20019
push 0
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e75a7
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005443d0
add esp, 0xc
mov dword [ebp - 0x21c], 1
cmp dword [esi + 0x14], 8
jb 0x4e74fe
mov eax, dword [esi]
jmp 0x4e7500
mov eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x220]
push ecx
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push eax
push dword [ebp - 0x224]
call ebx
test eax, eax
jne 0x4e7596
cmp dword [esi + 0x14], 8
jb 0x4e752d
mov esi, dword [esi]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
push dword [ebp - 0x224]
call ebx
cmp word [ebp - 0x218], 0
jne 0x4e756d
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, edi
call fcn.004e8990
jmp 0x4e75ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e7576
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004e8990
jmp 0x4e75ff
cmp byte [ebp + 0x1c], 0
je 0x4e75ff
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax + 0x10]
jmp 0x4e75d0
cmp byte [ebp + 0x1c], 0
je 0x4e760b
cmp dword [ebx + 0x14], 8
jb 0x4e75b5
mov ebx, dword [ebx]
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4e760b
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x220], eax
jb 0x4e75e2
mov ecx, dword [edi]
jmp 0x4e75e4
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x4e75ec
mov esi, dword [esi]
push eax
push ecx
push 1
push 0
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret