joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4552a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00418150
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004180a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45530b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00418130
mov eax, dword [ebp - 0x224]
jmp 0x45539c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x455371
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004552a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x455368
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00418130
mov eax, dword [ebp - 0x228]
jmp 0x45539c
mov dword [ebp - 4], 0x100
jmp 0x455312
lea ecx, [ebp - 0x14]
call fcn.00418100
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00455160
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00418130
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4
Function at 0x455990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x455999
xor ecx, ecx
jne 0x455999
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4559ba
mov eax, 0xd
jmp 0x455a15
xor eax, eax
jne 0x4559a1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4559cb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x456d80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x7ddb58]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x456dd7
cmp dword [ebp + 0xc], 0
jne 0x456dde
xor eax, eax
jmp 0x456ed2
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x456e06
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x456e0d
xor eax, eax
jmp 0x456ed2
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x456ed0
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x7ddb5c
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x456ed0
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.007202b0
add esp, 0xc
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x7ddb60
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, 1
jmp 0x456ed2
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x4570e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x4570fa
xor al, al
jmp 0x45719a
cmp dword [ebp + 0xc], 0
jne 0x457107
xor al, al
jmp 0x45719a
cmp dword [ebp + 0x10], 0
jne 0x457114
xor al, al
jmp 0x45719a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x45712a
xor al, al
jmp 0x45719a
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x457156
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor al, al
jmp 0x45719a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.007248d0
add esp, 0xc
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x457198
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor al, al
jmp 0x45719a
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x45dc50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79b9a3
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb0
mov eax, dword [0x89b044]
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 - 0xa4], ecx
lea ecx, [ebp - 0x30]
call fcn.0041ca70
mov dword [ebp - 4], 0
push str.LDSGameCenter_
lea ecx, [ebp - 0x70]
call fcn.00406ba0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
add eax, 0x10
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00615790
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407400
push str.user.db
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
call fcn.0045fb50
mov byte [ebp - 4], 2
mov byte [ebp - 0x4d], 0
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
call fcn.00406c00
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x45dd0e
mov byte [ebp - 0x4d], 1
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
call fcn.00406c00
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0060c7c0
add esp, 8
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00406c00
mov dword [ebp - 0xb4], eax
push str.youxi_4273_4ebe_AE97_3CBCA9CA70B0
mov edx, dword [ebp - 0xb4]
push edx
mov ecx, dword [ebp - 0xa4]
add ecx, 4
call fcn.00605100
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x45de3f
mov ecx, dword [ebp - 0xa4]
call fcn.0045df10
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x45ddb7
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407400
mov eax, dword [ebp - 0x74]
jmp 0x45dee7
push 0x7de264
lea ecx, [ebp - 0x94]
call fcn.00406ba0
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.0045e130
mov dword [ebp - 0xc0], eax
xor edx, edx
cmp dword [ebp - 0xc0], 0
sete dl
mov byte [ebp - 0x75], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00407400
movzx eax, byte [ebp - 0x75]
test eax, eax
je 0x45de3f
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407400
mov eax, dword [ebp - 0x98]
jmp 0x45dee7
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 1
mov dword [ebp - 0x9c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407400
mov eax, dword [ebp - 0x9c]
jmp 0x45dee7
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.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x4a5560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x3c]
test ecx, ecx
jne 0x4a557b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x34], 0
je 0x4a557d
jmp 0x4a55c1
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4a5540
push 0
push 0
call fcn.007263d8
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4a55c1
call fcn.007261ee
mov ecx, dword [eax]
push ecx
push str.CBrowserLogicMgr::_StartGetJSConfigThread___beginthreadex_failed__error_d
call fcn.00609060
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4a55d0
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x3d], 1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x38], 0
je 0x4a55f6
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x3c]
test edx, edx
je 0x4a5624
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jae 0x4a5624
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a55ff
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x3c]
test ecx, ecx
je 0x4a564e
mov edx, dword [ebp - 8]
cmp dword [edx + 0x34], 0
je 0x4a5647
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 8]
mov byte [edx + 0x3c], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x4a566e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x34], 0
je 0x4a568e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x34], 0
mov esp, ebp
pop ebp
ret
Function at 0x4a83e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.0041ca70
mov dword [ebp - 4], 0
push 0x7e46c8
lea ecx, [ebp - 0x48]
call fcn.00406ba0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.006160a0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00407400
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406c00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x2c]
call fcn.00406c00
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4a84a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406c00
push eax
push str.CBrowserLogicMgr::_DecryptJSSite__create_dir__s_failed__error_d
call fcn.00608b30
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407400
mov eax, dword [ebp - 0x4c]
jmp 0x4a84b9
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407400
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x4a88f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xb4]
test ecx, ecx
jne 0x4a8911
mov edx, dword [ebp - 4]
cmp dword [edx + 0xac], 0
je 0x4a8913
jmp 0x4a8960
mov eax, dword [ebp - 4]
mov byte [eax + 0xb5], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4a88d0
push 0
push 0
call fcn.007263d8
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xac], 0
jne 0x4a8960
call fcn.007261ee
mov ecx, dword [eax]
push ecx
push str.CBrowserLogicMgr::_StartGetURLConfigThread___beginthreadex_failed__error_d
call fcn.00609060
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4a8970
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0xb5], 1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xb0], 0
je 0x4a899f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xb4]
test edx, edx
je 0x4a89d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jae 0x4a89d0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a89a8
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xb4]
test ecx, ecx
je 0x4a8a06
mov edx, dword [ebp - 8]
cmp dword [edx + 0xac], 0
je 0x4a89fc
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 8]
mov byte [edx + 0xb4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0
je 0x4a8a2f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xac], 0
je 0x4a8a58
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xac], 0
mov esp, ebp
pop ebp
ret

Function at 0x4b0410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a6790
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], 0x4b05d0
mov dword [ebp - 0x30], 0
push 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.004b0760
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x2c]
call fcn.004b07b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004b4090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0043b460
mov edx, dword [ebp - 0x48]
mov dword [edx], vtable.CTabWebBrowserLogic.1.0
mov eax, dword [ebp - 0x48]
mov dword [eax + 8], vtable.CTabWebBrowserLogic.0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x34], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b6cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7e6018
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b6d41
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push str.CtxMenu
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b6d37
cmp dword [ebp - 0x10], 1
jne 0x4b6d37
mov dword [ebp - 0xc], 0x80004005
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4b7700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a710f
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
push 0x7e62c8
mov ecx, dword [ebp + 8]
call fcn.0059d600
movzx eax, al
test eax, eax
je 0x4b77d0
push 0x7e62d4
mov ecx, dword [ebp - 0xa0]
add ecx, 0xa8
call fcn.00598440
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b77ce
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xf0]
call eax
push eax
lea ecx, [ebp - 0x9c]
call fcn.0059d4d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0059cec0
movzx ecx, al
test ecx, ecx
jne 0x4b77bc
push 1
push 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.0059cef0
push eax
push 0x7e62dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0059cc80
jmp 0x4b77f8
push 0x7e62e8
mov ecx, dword [ebp + 8]
call fcn.0059d600
movzx edx, al
test edx, edx
je 0x4b77f8
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xa0]
sub ecx, 0x14
call fcn.005a45f0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.005a33a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4

Function at 0x4d17b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4d1830
cmp dword [ebp - 0x11c], 5
jae 0x4d1824
cmp dword [ebp - 0x11c], 4
jne 0x4d1830
cmp dword [ebp - 0x118], 0x5a
jb 0x4d1830
mov dword [ebp - 0x128], 0
jmp 0x4d183a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x4f1200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x29c], 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x298], edx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x14], 0x12c
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 5
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
push 2
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.005967d0
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x80
push SysReAllocString
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.005967d0
push eax
mov ecx, dword [ebp - 0x30]
call fcn.005a4a10
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4f130b
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x1c], eax
jmp 0x4f12ee
push 5
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret 4
Function at 0x4fd880
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x60], 0x44
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov ax, word [ebp + 0x10]
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4fd912
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret