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

Disassembly:
sub esp, 0x814
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x810], eax
mov eax, dword [esp + 0x81c]
push ebx
mov ebx, dword [esp + 0x828]
push ebp
mov ebp, dword [esp + 0x830]
push esi
mov esi, dword [esp + 0x824]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x82c]
push edi
mov edi, dword [esp + 0x83c]
mov dword [esp + 0x14], eax
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4cfede
test esi, esi
je 0x4cfe34
cmp esi, 0x80000001
je 0x4cfe34
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4cfede
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5c
je 0x4cfede
test esi, esi
jne 0x4cfe4d
mov eax, 0x558718
jmp 0x4cfe5f
mov eax, 0x568eb0
cmp esi, 0x80000001
je 0x4cfe5f
mov eax, str.HKLM_
push 0x400
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004bdae0
push 0x400
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push eax
call fcn.004a2fb0
lea eax, [esp + 0x20]
push eax
call fcn.004ce3c0
push edi
test eax, eax
jne 0x4cfed0
test ebp, ebp
je 0x4cfebc
push ebp
push ebx
call fcn.00531d40
add esp, 0xc
xor edi, edi
mov eax, edi
jmp 0x4cff6a
push 0
push ebx
call fcn.00532770
add esp, 0xc
xor edi, edi
mov eax, edi
jmp 0x4cff6a
push ebx
push eax
call fcn.004bd590
mov edi, eax
jmp 0x4cff6a
push edi
test ebp, ebp
je 0x4cfeec
push ebp
push ebx
call fcn.00531d40
jmp 0x4cfef4
push 0
push ebx
call fcn.00532770
add esp, 0xc
cmp byte [0x58ab11], 0
sete al
test al, al
je 0x4cff09
mov eax, edi
jmp 0x4cff6a
push dword [esp + 0x10]
push esi
call fcn.004d08d0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x4cff4f
lea ecx, [esp + 0x18]
push ecx
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0
push dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4cff4f
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4cff6a
push edi
test ebp, ebp
je 0x4cff5d
push ebp
push ebx
call fcn.00531d40
jmp 0x4cff65
push 0
push ebx
call fcn.00532770
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x814
ret 0x18
Function at 0x4cffa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x20]
push eax
mov eax, ebx
cdq
push edx
push eax
push dword [esp + 0x30]
push esi
push SysReAllocString
call fcn.004ce310
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
test al, al
je 0x4cffdc
pop esi
mov eax, ecx
pop ebx
add esp, 0x14
ret 0xc
push edi
push esi
push SysReAllocString
call fcn.004d08d0
mov edi, eax
mov dword [esp + 0xc], 4
test edi, edi
je 0x4d0029
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x38]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4d0029
cmp dword [esp + 0xc], esi
je 0x4d0029
mov ebx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x14
ret 0xc

Function at 0x4d0070
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x818
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x824]
push ebx
mov ebx, dword [esp + 0x824]
push ebp
mov ebp, dword [esp + 0x834]
push esi
mov esi, dword [esp + 0x828]
push edi
mov edi, dword [esp + 0x838]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d0155
test esi, esi
je 0x4d00d9
cmp esi, 0x80000001
je 0x4d00d9
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4d0155
cmp word [ebx], 0x5c
je 0x4d0155
test esi, esi
jne 0x4d00ea
mov eax, 0x558718
jmp 0x4d00fc
mov eax, 0x568eb0
cmp esi, 0x80000001
je 0x4d00fc
mov eax, str.HKLM_
push 0x400
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004bdae0
push 0x400
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
push eax
call fcn.004a2fb0
lea eax, [esp + 0x24]
push eax
call fcn.004ce3c0
test eax, eax
je 0x4d0140
mov ebp, eax
push dword [esp + 0x840]
push ebp
push edi
call fcn.004bdae0
mov al, 1
jmp 0x4d01ef
mov ebx, dword [esp + 0x840]
push ebx
push ebp
push edi
call fcn.004bdae0
cmp byte [0x58ab11], 0
sete al
test al, al
je 0x4d0176
mov al, 1
jmp 0x4d01ef
push dword [esp + 0x14]
push esi
call fcn.004d08d0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], 0
test eax, eax
je 0x4d01e3
lea ecx, [ebx + ebx]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push edi
lea ecx, [esp + 0x28]
push ecx
push 0
push dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
test esi, esi
sete byte [esp + 0x17]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4d01e3
mov eax, dword [esp + 0x14]
shr eax, 1
test ebx, ebx
jne 0x4d01d4
xor eax, eax
mov word [edi], ax
jmp 0x4d01eb
dec ebx
cmp eax, ebx
jb 0x4d01db
mov eax, ebx
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x4d01eb
push ebx
push ebp
push edi
call fcn.004bdae0
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x818
ret 0x18
Function at 0x4d0240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
mov ebx, dword [esp + 0x818]
push esi
mov esi, dword [esp + 0x818]
push edi
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d0329
cmp word [esi], 0x5c
je 0x4d0329
push 0x400
push 0x568eb0
lea eax, [esp + 0x1c]
push eax
call fcn.004bdae0
push 0x400
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x18]
push eax
push ebx
push eax
call fcn.004a2fb0
mov esi, dword [0x5dfbcc]
xor edi, edi
test esi, esi
je 0x4d0339
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d02ee
test dx, dx
je 0x4d02ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d02ee
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d02c8
xor eax, eax
jmp 0x4d02f3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d0305
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4d02c2
mov eax, edi
jmp 0x4d03df
mov ecx, dword [esi + 4]
lea edx, [ecx + 2]
jmp 0x4d0310
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d0310
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
mov eax, edi
jmp 0x4d03df
xor edi, edi
cmp byte [0x58ab11], 0
sete cl
test cl, cl
je 0x4d0340
mov eax, edi
jmp 0x4d03df
movzx eax, word [esi]
cmp eax, 0x5c
je 0x4d0372
test ax, ax
mov eax, 0x558698
jne 0x4d0357
mov eax, 0x558718
push esi
push eax
push str.SoftwareWinRAR_s_s
lea eax, [esp + 0x20]
push 0x200
push eax
call fcn.00404ce0
add esp, 0x14
jmp 0x4d0385
push 0x200
lea eax, [esi + 2]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bdae0
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x5e0bd4]
or eax, 9
push eax
push 0
lea eax, [esp + 0x20]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d03d9
mov edi, dword [esp + 0xc]
test edi, edi
je 0x4d03d9
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0x10]
jmp 0x4d03db
xor esi, esi
shr esi, 1
mov eax, esi
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x80c
ret 8
Function at 0x4d0b80
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push eax
push ecx
push edi
push esi
push SysReAllocString
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.004cebf0
test al, al
je 0x4d0bb9
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0x10
lea eax, [esp + 8]
push eax
push esi
push SysReAllocString
call fcn.004cf020
mov esi, eax
test esi, esi
je 0x4d0bf5
push 8
lea eax, [esp + 0x10]
push eax
push 0xb
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 0x10
mov edi, dword [esp + 8]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 0x10

Function at 0x4d0c10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x808
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
mov ebp, dword [esp + 0x81c]
push esi
mov esi, dword [esp + 0x818]
push edi
mov edi, dword [esp + 0x820]
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d0ccb
test esi, esi
je 0x4d0c66
cmp esi, 0x80000001
je 0x4d0c66
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4d0ccb
cmp word [edi], 0x5c
je 0x4d0ccb
test esi, esi
jne 0x4d0c77
mov eax, 0x558718
jmp 0x4d0c89
mov eax, 0x568eb0
cmp esi, 0x80000001
je 0x4d0c89
mov eax, str.HKLM_
push 0x400
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bdae0
push 0x400
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x18]
push eax
push ebp
push eax
call fcn.004a2fb0
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.004cdbe0
xor eax, eax
jmp 0x4d0d29
cmp byte [0x58ab11], 0
sete al
test al, al
je 0x4d0cdd
xor eax, eax
jmp 0x4d0d29
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.004cf020
mov edi, eax
test edi, edi
je 0x4d0d23
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d0cf4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d0d27
mov esi, dword [esp + 0x10]
mov eax, esi
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x808
ret 0x10
Function at 0x4d0d50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x808
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x804], eax
push ebp
mov ebp, dword [esp + 0x814]
push esi
mov esi, dword [esp + 0x814]
push edi
mov edi, dword [esp + 0x820]
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d0dd6
cmp word [esi], 0x5c
je 0x4d0dd6
push 0x400
push 0x568eb0
lea eax, [esp + 0x18]
push eax
call fcn.004bdae0
push 0x400
push esi
lea eax, [esp + 0x18]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x14]
push eax
push ebp
push eax
call fcn.004a2fb0
push 1
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004cdbe0
xor eax, eax
jmp 0x4d0e3a
cmp byte [0x58ab11], 0
sete al
test al, al
je 0x4d0de8
xor eax, eax
jmp 0x4d0e3a
push ebx
lea eax, [esp + 0x10]
push eax
push esi
push SysReAllocString
call fcn.004cf020
mov ebx, eax
test ebx, ebx
je 0x4d0e33
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d0e04
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d0e37
mov esi, dword [esp + 0x10]
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00530218
add esp, 0x808
ret 0xc

Function at 0x4d0e60
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push 0
push eax
push dword [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
push SysReAllocString
call fcn.004cebf0
test al, al
je 0x4d0e8f
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
push edi
lea eax, [esp + 8]
push eax
push esi
push SysReAllocString
call fcn.004cf020
mov edi, eax
test edi, edi
je 0x4d0ecf
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push dword [esp + 0x2c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret 0xc
mov esi, dword [esp + 8]
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret 0xc
Function at 0x4d0ee0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x808
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x804], eax
push ebp
mov ebp, dword [esp + 0x818]
push esi
mov esi, dword [esp + 0x814]
push edi
mov edi, dword [esp + 0x81c]
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d0faf
cmp word [esi], 0x5c
je 0x4d0faf
push ebx
push 0x400
push 0x568eb0
lea eax, [esp + 0x1c]
push eax
call fcn.004bdae0
push 0x400
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x18]
push eax
push edi
push eax
call fcn.004a2fb0
mov ebx, dword [esp + 0x828]
xor ecx, ecx
mov edx, 2
lea edi, [ebx*4 + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00530413
add esp, 4
mov esi, eax
push edi
push esi
push 0
push ebx
push ebp
call fcn.004bd170
push 2
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004cdbe0
push esi
call fcn.0053041c
add esp, 4
xor eax, eax
pop ebx
jmp 0x4d0ffc
cmp byte [0x58ab11], 0
sete al
test al, al
je 0x4d0fc1
xor eax, eax
jmp 0x4d0ffc
lea eax, [esp + 0xc]
push eax
push esi
push SysReAllocString
call fcn.004cf020
mov esi, eax
test esi, esi
je 0x4d0ff6
push dword [esp + 0x824]
push ebp
push 3
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d0ffa
mov edi, dword [esp + 0xc]
mov eax, edi
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00530218
add esp, 0x808
ret 0x10
Function at 0x4d1020
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push eax
push esi
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.004d1360
test eax, eax
je 0x4d104f
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 8
push ebx
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x10], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x18], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x1c], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x20], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x24], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
push ebp
mov dword [edi + 0x28], eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
push esi
push 0x100
lea eax, [edi + 0x2c]
push eax
call fcn.004d13c0
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.004d1360
push ebp
mov dword [edi + 0x12c], eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
push esi
push 0x100
lea eax, [edi + 0x130]
push eax
call fcn.004d13c0
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x230], eax
lea eax, [esp + 0x10]
push ebp
push eax
push esi
push 0x100
lea eax, [edi + 0x234]
push eax
mov ecx, edi
call fcn.004d13c0
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x334], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
mov dword [edi + 0x338], eax
mov ecx, edi
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004d1360
push ebp
mov dword [edi + 0x33c], eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
push esi
push 0x20
lea eax, [edi + 0x340]
push eax
call fcn.004d13c0
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
push 0x100
lea eax, [edi + 0x380]
push eax
call fcn.004d13c0
mov ecx, dword [esp + 0x10]
xor bl, bl
xor eax, eax
test ecx, ecx
je 0x4d11aa
xor bl, byte [eax + esi]
inc eax
cmp eax, ecx
jb 0x4d11a2
push ebp
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.004d1360
movzx ecx, bl
pop ebx
pop edi
cmp ecx, eax
pop esi
sete al
pop ebp
pop ecx
ret 8
Function at 0x4d34c0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov eax, 0x4324
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x4320], eax
push esi
push edi
mov edi, dword [esp + 0x4330]
push edi
call fcn.004a2790
mov esi, eax
test esi, esi
je 0x4d36d9
push 0xc8
push 0x558718
lea eax, [esp + 0x10]
push eax
push 0x558718
push esi
push SysReAllocString
call fcn.004d0070
cmp word [esp + 8], 0
je 0x4d36d9
push 0xc8
push str._shellprintcommand
lea eax, [esp + 0x10]
push eax
call fcn.004bda80
push 0x800
push 0x558718
lea eax, [esp + 0x330]
push eax
push 0x558718
lea eax, [esp + 0x18]
push eax
push SysReAllocString
call fcn.004d0070
cmp word [esp + 0x328], 0
jne 0x4d3609
push esi
push str.SoftwareClasses_s
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 8]
push 0xc8
push 0x558718
push eax
push 0x558718
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d0070
cmp word [esp + 8], 0
je 0x4d36d9
lea eax, [esp + 8]
push eax
push str.SoftwareClasses_s_shellprintcommand
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x328]
push 0x800
push 0x558718
push eax
push 0x558718
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d0070
cmp word [esp + 0x328], 0
je 0x4d36d9
push 0x1000
lea eax, [esp + 0x232c]
push eax
lea eax, [esp + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4d36d9
cmp eax, 0x1000
jae 0x4d36d9
lea eax, [esp + 0x2328]
push 0x5693a4
push eax
call fcn.00532adb
add esp, 8
test eax, eax
je 0x4d36d9
lea ecx, [esp + 0x2328]
cmp eax, ecx
jbe 0x4d3685
cmp word [eax - 2], 0x22
jne 0x4d3685
xor ecx, ecx
push 0x1000
mov word [eax], cx
lea eax, [esp + 0x232c]
push edi
push eax
call fcn.004bda80
mov edi, 0x568eac
jmp 0x4d368a
xor ecx, ecx
mov word [eax], cx
push 0x1000
lea eax, [esp + 0x232c]
push edi
push eax
call fcn.004bda80
push 0x800
lea eax, [esp + 0x132c]
push eax
lea eax, [esp + 0x2330]
push eax
call fcn.004bd250
push 8
push 0
push eax
lea eax, [esp + 0x1334]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
jmp 0x4d36db
xor al, al
mov ecx, dword [esp + 0x4328]
pop edi
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x4324
ret 4

Function at 0x4d3700
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 8
push 0
push 0
push esi
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
ja 0x4d3740
push esi
call fcn.004d34c0
test al, al
jne 0x4d3740
push esi
push 0x557
call fcn.004b7300
push eax
call fcn.005037c0
add esp, 8
pop esi
mov al, bl
pop ebx
ret 4
Function at 0x4d56c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2004
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
mov ebx, dword [esp + 0x2010]
push esi
push edi
push 0x55ba0c
push eax
mov esi, ecx
call fcn.004fdf10
mov edi, eax
test edi, edi
sete cl
mov byte [esi + 0x3044], cl
test edi, edi
jne 0x4d570b
xor al, al
jmp 0x4d5756
push edi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0053c895
add esp, 0x10
test eax, eax
je 0x4d574b
push ebx
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00539653
push edi
push 0x2000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053c895
add esp, 0x20
test eax, eax
jne 0x4d5724
push edi
call fcn.005391cd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret 8

Function at 0x4d5770
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2008
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x200c]
push ebp
push esi
push 0x569814
push eax
mov esi, ecx
call fcn.004fdf10
mov ebp, eax
test ebp, ebp
sete cl
mov byte [esi + 0x3044], cl
test ebp, ebp
jne 0x4d57b6
xor al, al
jmp 0x4d585c
push ebx
push edi
push ebp
xor eax, eax
push 0x2000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0053c895
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jbe 0x4d584f
lea ebx, [ebx]
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4d581d
lea esp, [esp]
cmp byte [esp + esi + 0x14], 0x61
jne 0x4d5818
cmp byte [esp + esi + 0x15], 0x73
jne 0x4d5818
push 0x14
lea eax, [esp + 0x1a]
add eax, esi
push str.Invoker_
push eax
call fcn.00539030
add esp, 0xc
test eax, eax
je 0x4d5875
inc esi
cmp esi, edi
jl 0x4d57f0
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
add eax, ebx
push 0
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.0053ccab
push ebp
push 0x2000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0053c895
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x20
ja 0x4d57e0
push ebp
call fcn.005391cd
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [esp + 0x200c]
pop esi
pop ebp
xor ecx, esp
call fcn.00530218
add esp, 0x2008
ret 4
mov eax, dword [esp + 0x10]
push 0
add eax, esi
push eax
push ebp
call fcn.0053ccab
push ebp
push 0x15
push 1
push str.requireAdministrator_
call fcn.00539653
cmp eax, 0x15
push ebp
sete bl
call fcn.005391cd
add esp, 0x20
mov al, bl
jmp 0x4d585a
Function at 0x4d5e30
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push edi
push 0x55ba0c
push eax
call fcn.004928f0
mov edi, eax
mov dword [esp + 8], edi
test edi, edi
jne 0x4d5e7f
xor al, al
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.00530218
add esp, 0x200c
ret 4
push ebp
xor ebp, ebp
push ebx
mov dword [esp + 0xc], ebp
push esi
jmp 0x4d5e90
push edi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0053c895
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jle 0x4d5f06
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4d5ee0
cmp byte [esp + esi + 0x18], 0x72
jne 0x4d5edb
cmp byte [esp + esi + 0x19], 0x65
jne 0x4d5edb
push 0x14
lea eax, [esp + esi + 0x1e]
push str.quireAdministrator_
push eax
call fcn.00539030
add esp, 0xc
test eax, eax
je 0x4d5f2c
inc esi
cmp esi, edi
jl 0x4d5eb5
mov edi, dword [esp + 0x14]
add ebp, 0xffffffe0
push 0
add ebp, ebx
push ebp
push edi
call fcn.0053ccab
mov esi, dword [esp + 0x1c]
add esp, 0xc
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jb 0x4d5e90
push edi
call fcn.005391cd
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2018]
pop esi
pop ebx
pop ebp
pop edi
xor ecx, esp
call fcn.00530218
add esp, 0x200c
ret 4
push dword [esp + 0x14]
call fcn.005391cd
add esp, 4
mov al, 1
jmp 0x4d5f11