joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cef00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x51e1cc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x51e1c4]
sub esp, 4
test ebx, ebx
je 0x4cef55
mov ebp, dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4cef4e
test esi, esi
je 0x4cef4e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4cef30
mov dword [esp], 0x51e1cc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x51e598
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg esp, eax
add byte [eax], al
add byte [eax - 0x7ab5b], al
inc dword [eax]
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.0051c8b6
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0051c817
add esp, 0xc
jmp 0x51e81e
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.0051c8a6
int1
invalid
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x120cc10
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x120cc2e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x120cc23
pop esi
ret
Function at 0x402bc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], 0x5a
test eax, eax
jne 0x402bde
add esp, 0xc
ret
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x402d70
mov esi, dword [esp + 0x20]
test esi, esi
je 0x402d70
push ebp
push 0x6a6700
push eax
call fcn.005ec2cc
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x402c1b
lea eax, [ebp + 0x5a]
pop ebp
pop edi
pop esi
add esp, 0xc
ret
push 2
push 0
push ebp
call fcn.005ec0f7
add esp, 0xc
test eax, eax
jne 0x402d42
push ebx
push ebp
call fcn.005f4d99
push 0
push 0
push ebp
mov ebx, eax
call fcn.005ec0f7
add esp, 0x10
test eax, eax
jne 0x402d41
cmp ebx, 0x100000
ja 0x402d41
mov eax, ebx
cdq
push edx
push eax
call sym.Setup.exe_libssh2_session_abstract
mov ebx, eax
add esp, 8
cmp esi, ebx
ja 0x402d41
lea eax, [ebx + 1]
push eax
call dword [0x6be33c]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x402d3d
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebx
push ebp
call fcn.005f6105
add esp, 0x10
cmp eax, 1
jne 0x402d33
cmp esi, ebx
jne 0x402cc6
mov eax, esi
mov ecx, ebp
cmp esi, 4
jb 0x402d07
nop
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x402d33
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x402cb0
jmp 0x402d07
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
mov byte [ebx + ebp], 0
push edx
mov ebx, ebp
call fcn.00402af0
add esp, 8
test eax, eax
jne 0x402d33
cmp esi, dword [esp + 0x18]
jne 0x402d33
mov ecx, dword [esp + 0x10]
mov eax, esi
cmp esi, 4
jb 0x402d07
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x402d33
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x402cf3
test eax, eax
je 0x402d2b
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x402d33
cmp eax, 1
jbe 0x402d2b
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x402d33
cmp eax, 2
jbe 0x402d2b
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x402d33
mov dword [esp + 0x14], 0
push ebp
call dword [0x6be340]
add esp, 4
mov ebp, dword [esp + 0x20]
pop ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402d5c
push eax
call dword [0x6be340]
add esp, 4
mov dword [esp + 0xc], 0
push ebp
call fcn.005e7e28
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
add esp, 0xc
ret
pop edi
mov eax, 0x5a
pop esi
add esp, 0xc
ret
Function at 0x458a70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x80c
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x814]
push edi
xor edi, edi
cmp dword [esp + 0x820], 1
je 0x458ac9
mov eax, dword [ebx]
push str.Unsupported_type_of_known_host_information_store
push 0xffffffffffffffdf
push eax
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
push 0x6a66fc
push eax
call fcn.005ec2cc
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x458b08
mov ecx, dword [ebx]
push str.Failed_to_open_file
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
lea edx, [ebx + 4]
push esi
push edx
call fcn.00466140
mov esi, eax
add esp, 4
test esi, esi
je 0x458b84
push ebp
lea esp, [esp]
push 1
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x24]
push ecx
push esi
push ebx
call fcn.00458750
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x458b83
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x20]
push 1
push eax
call fcn.005eb3a8
add esp, 0x10
cmp eax, ebp
jne 0x458b6f
push esi
call fcn.00466150
mov esi, eax
add esp, 4
test esi, esi
jne 0x458b20
jmp 0x458b83
mov ecx, dword [ebx]
push str.Write_failed
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
mov edi, eax
pop ebp
mov edx, dword [esp + 0xc]
push edx
call fcn.005e7e28
mov ecx, dword [esp + 0x818]
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret

Function at 0x459570
Capabilities:
Set socket configuration

Disassembly:
push ecx
lea ecx, [esp]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ecx
ret
Function at 0x45a7e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x218
push ebx
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 8]
push eax
xor ebx, ebx
push edi
mov dword [edi + 0x130], ebx
call sym.Setup.exe_libssh2_keepalive_send
add esp, 8
cmp eax, ebx
jl 0x45a931
mov edx, dword [esp + 8]
mov ecx, edx
push edi
imul ecx, ecx, 0x3e8
call sym.Setup.exe_libssh2_session_block_directions
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x45a834
call fcn.004592a0
mov ecx, 0x3e8
mov eax, dword [edi + 0x54]
cmp eax, ebx
push esi
jle 0x45a883
cmp edx, ebx
je 0x45a844
cmp edx, eax
jle 0x45a883
push ebx
call fcn.005ebafd
mov ecx, dword [esp + 0x234]
push edx
mov edx, dword [esp + 0x234]
push eax
push ecx
push edx
call fcn.005f9c22
fmul qword [0x6a7310]
add esp, 0x14
call fcn.005ca750
mov ecx, dword [edi + 0x54]
cmp eax, ecx
jg 0x45a919
sub ecx, eax
mov esi, 1
jmp 0x45a88c
xor eax, eax
cmp ecx, ebx
setg al
mov esi, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
imul eax, eax, 0x3e8
sub ecx, eax
mov al, byte [esp + 0x10]
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0x1c], ecx
test al, 1
je 0x45a8d4
mov ecx, dword [edi + 0x11c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 1
lea ebx, [esp + 0x20]
test al, 2
je 0x45a8f7
mov edx, dword [edi + 0x11c]
mov dword [esp + 0x128], edx
mov dword [esp + 0x124], 1
lea ebp, [esp + 0x124]
mov ecx, dword [edi + 0x11c]
neg esi
sbb esi, esi
lea eax, [esp + 0x18]
and esi, eax
push esi
push 0
push ebp
push ebx
inc ecx
push ecx
call dword [sym.imp.WS2_32.dll_select]
pop ebp
test eax, eax
jg 0x45a92e
mov eax, 0xfffffff7
pop esi
mov dword [edi + 0x130], eax
pop edi
pop ebx
add esp, 0x218
ret
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x218
ret
Function at 0x4a7a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f433
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x4a7a00
push 0
push 0
call fcn.005e73dd
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
push 1
push 3
lea ecx, [ebp - 0xe8]
call fcn.0048cf20
mov dword [ebp - 4], 0
push str..log
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004a8fb0
push eax
call fcn.0049a570
add esp, 8
push 0x6a5c00
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.004a8ec0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0048ce80
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.0048b7e0
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.0048bc00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00480ab0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4a8250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f536
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6c6f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0048bfe0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0048bfe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004a8ec0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movsd qword [edx + 0x28], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004a8ec0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4ba0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610386
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x140], 0x100000
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x94]
call fcn.004f02ba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4b4c23
mov byte [ebp - 0x119], 1
jmp 0x4b4c2a
mov byte [ebp - 0x119], 0
mov cl, byte [ebp - 0x119]
mov byte [ebp - 0x11a], cl
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x4b4d05
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7380]
divss xmm0, dword [0x6a7380]
divss xmm0, dword [0x6a7380]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x120]
add ecx, 0x4f8
call fcn.0047ca20
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004f0864
add esp, 0x10
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7380]
divss xmm0, dword [0x6a7380]
divss xmm0, dword [0x6a7380]
mov ecx, dword [ebp - 0x120]
movss dword [ecx + 0x4d8], xmm0
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x37c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x37c]
mov eax, dword [edx + 0x2c]
call eax
push 0x68ee2c
mov ecx, dword [ebp - 0x120]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x128]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x4e0
call fcn.0047ca20
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004f0864
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004f03ac
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x378]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x378]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [ebp - 0x11a]
mov byte [ebp - 0x121], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004f03ac
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4d5900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4d5909
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d594c
mov eax, dword [ebp - 8]
jmp 0x4d59b2
cmp dword [ebp - 0xc], 1
je 0x4d595f
cmp dword [ebp - 0xc], 2
je 0x4d595f
mov eax, 0xd
jmp 0x4d59b2
cmp dword [ebp + 0xc], 0
je 0x4d59a6
cmp dword [ebp - 4], 0
je 0x4d5995
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4d598c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4d5993
mov eax, 0xd
jmp 0x4d59b2
jmp 0x4d59a6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d59c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x6a63fc
push 1
push 0
push 0x6a6450
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a1a
mov edx, dword [ebp - 4]
push edx
push 0x69a3a8
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a4a
mov edx, dword [ebp - 4]
push edx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a76
mov edx, dword [ebp - 4]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
cmp dword [ebp - 8], 0
je 0x4d5a8a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0xc], 0
je 0x4d5a9e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4d7a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6123eb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x69b464
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 0x10]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7b88
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x240]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d7b7b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.0047ca60
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0047caf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4d7bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x218], 1
mov byte [ebp - 0x20d], 0
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp + 0xc]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4d7ca6
lea ecx, [ebp + 0x3c]
call fcn.0048b7c0
shl eax, 1
push eax
lea ecx, [ebp + 0x3c]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x218]
push ecx
push 0
lea ecx, [ebp + 0x24]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4d7c99
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x20d]
mov byte [ebp - 0x20e], cl
lea ecx, [ebp + 0xc]
call fcn.0047caf0
lea ecx, [ebp + 0x24]
call fcn.0047caf0
lea ecx, [ebp + 0x3c]
call fcn.0047caf0
mov al, byte [ebp - 0x20e]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4d8b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61251b
mov eax, dword fs:[0]
push eax
mov eax, 0x4044
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4048], 0
push 0x6764f7
lea ecx, [ebp - 0x403c]
call fcn.0048bf00
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x4024], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4022]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0
lea edx, [ebp - 0x404c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x4044], eax
cmp dword [ebp - 0x4044], 0
je 0x4d8c8c
lea ecx, [ebp - 0x4024]
push ecx
mov edx, dword [ebp - 0x4044]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4d8c8c
mov dword [ebp - 0x4040], 0
mov dword [ebp - 0x4050], 0
lea ecx, [ebp - 0x4050]
push ecx
lea edx, [ebp - 0x4040]
push edx
push 0x69b5d4
lea eax, [ebp - 0x4024]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4d8c8c
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x69b5d8
lea edx, [ebp - 0x24]
push edx
call fcn.004da790
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x403c]
call fcn.004a8ec0
lea ecx, [ebp - 0x403c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0048be10
mov edx, dword [ebp - 0x4048]
or edx, 1
mov dword [ebp - 0x4048], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x403c]
call fcn.0048bcd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret