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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4404
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.00454620
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.00406f20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49852e
mov dword [ebp - 0x1038], 1
xor eax, eax
mov word [ebp - 0x1034], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1032]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x103c], 0x800
lea edx, [ebp - 0x103c]
push edx
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x1038]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x498524
lea ecx, [ebp - 0x1034]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00407010
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406f90
mov ecx, dword [ebp - 0x1040]
or ecx, 1
mov dword [ebp - 0x1040], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret

Function at 0x498c70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x498d0d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x240]
jne 0x498cf8
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0xc], ecx
jmp 0x498d0d
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
jmp 0x498cdc
cmp dword [ebp - 8], 0
je 0x498d24
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x498d90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 8], 0
jne 0x498db9
xor eax, eax
jmp 0x498efb
lea ecx, [ebp - 0x23c]
call fcn.00406aa0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea ecx, [ebp - 0x234]
push ecx
call fcn.00445020
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x498e26
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x23c]
call fcn.00406ac0
mov eax, dword [ebp - 0x244]
jmp 0x498efb
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x498eb5
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004451be
add esp, 8
test eax, eax
jne 0x498e9c
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x230]
mov dword [ecx], edx
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0x23c]
call fcn.00406ac0
mov eax, dword [ebp - 0x248]
jmp 0x498efb
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x498e47
jmp 0x498ed2
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x23c]
call fcn.00406ac0
mov eax, dword [ebp - 0x24c]
jmp 0x498efb
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x250], edx
lea ecx, [ebp - 0x23c]
call fcn.00406ac0
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x499090
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c447a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00426310
add esp, 8
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x49928f
mov dword [ebp - 0x264], 0x22c
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49927e
mov dword [ebp - 0x268], 0
jmp 0x499129
mov ecx, dword [ebp - 0x268]
add ecx, 1
mov dword [ebp - 0x268], ecx
mov ecx, dword [ebp + 8]
call fcn.00415890
cmp dword [ebp - 0x268], eax
jge 0x499266
mov edx, dword [ebp - 0x268]
push edx
mov ecx, dword [ebp + 8]
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x499261
mov ecx, dword [ebp + 0xc]
call fcn.004183b0
movzx ecx, al
test ecx, ecx
jne 0x49925b
mov edx, dword [ebp - 0x25c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x499259
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00498f10
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00426310
add esp, 8
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x288]
call fcn.00406ff0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00406fd0
push 0
lea ecx, [ebp - 0x34]
call fcn.00407070
push eax
lea ecx, [ebp - 0x288]
call fcn.0040d010
cmp eax, dword [0x4e7a84]
jne 0x49924a
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00406fd0
jmp 0x499266
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00406fd0
jmp 0x499261
mov byte [ebp - 0x11], 1
jmp 0x499266
jmp 0x49911a
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49910e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x2a5], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406fd0
mov al, byte [ebp - 0x2a5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x4992d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5f65
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x2b4]
call fcn.0043c660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.0041bf70
test eax, eax
jne 0x49936e
mov byte [ebp - 0x31d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.00426290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406fd0
mov al, byte [ebp - 0x31d]
jmp 0x49975a
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x318], 0
lea ecx, [ebp - 0x318]
push ecx
push 4
lea edx, [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x298]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x4993f1
mov byte [ebp - 0x31e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.00426290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406fd0
mov al, byte [ebp - 0x31e]
jmp 0x49975a
push 0x104
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x298]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x499444
mov byte [ebp - 0x31f], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.00426290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406fd0
mov al, byte [ebp - 0x31f]
jmp 0x49975a
lea ecx, [ebp + 0xc]
call fcn.00407070
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004451be
add esp, 8
test eax, eax
jne 0x499492
mov byte [ebp - 0x320], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.00426290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406fd0
mov al, byte [ebp - 0x320]
jmp 0x49975a
mov byte [ebp - 0x321], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b4]
call fcn.00426290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00406fd0
mov al, byte [ebp - 0x321]
jmp 0x49975a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x499b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6e13
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x15], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x499d29
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x499d18
mov dword [ebp - 0x250], 0
jmp 0x499c39
mov eax, dword [ebp - 0x250]
add eax, 1
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp + 8]
call fcn.00415890
cmp dword [ebp - 0x250], eax
jge 0x499cf6
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x499cf1
push 0x4db88c
lea ecx, [ebp + 0x10]
call fcn.00407050
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp + 8]
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
lea ecx, [ebp + 0x10]
call fcn.00407050
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x499ce3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x254], esp
lea edx, [ebp + 0x10]
push edx
call fcn.00406f90
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x244]
push eax
call fcn.004992d0
add esp, 0x20
mov byte [ebp - 0x25d], al
mov cl, byte [ebp - 0x25d]
mov byte [ebp - 0x15], cl
jmp 0x499ce7
mov byte [ebp - 0x15], 1
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x499cf1
jmp 0x499cf6
jmp 0x499c2a
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x499d00
jmp 0x499d18
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x499c1e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0x255], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00406fd0
mov al, byte [ebp - 0x255]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49a1d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 0
call fcn.0049bea0
mov byte [ebp - 0x40], al
call fcn.0049bec0
xor ecx, ecx
cmp eax, 7
setge cl
mov byte [ebp - 0x3f], cl
movzx edx, byte [ebp - 0x40]
test edx, edx
jne 0x49a20f
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x49a20f
mov dword [ebp - 0x50], 1
jmp 0x49a216
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x41], cl
mov ecx, dword [ebp + 0xc]
call fcn.00407070
push eax
mov ecx, dword [ebp + 8]
call fcn.00407070
push eax
push 0x4db7b4
push 0
mov edx, dword [0x503934]
push edx
call fcn.00498ad0
add esp, 0x14
movzx eax, byte [ebp - 0x41]
push eax
push str.bRunAsAdmin:__d
push 0
mov ecx, dword [0x503934]
push ecx
call fcn.00498ad0
add esp, 0x10
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
movzx edx, byte [ebp - 0x41]
test edx, edx
je 0x49a285
mov dword [ebp - 0x54], str.runas
jmp 0x49a28c
mov dword [ebp - 0x54], 0x4db818
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
call fcn.00407070
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00407070
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x49a2df
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
push eax
push str.ShellExecuteEx_Reslut:__d
push 0
mov ecx, dword [0x503934]
push ecx
call fcn.00498ad0
add esp, 0x10
movzx edx, byte [ebp - 0x3e]
test edx, edx
jne 0x49a325
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
push str.ShellExecuteEx_Error:__x
push 0
mov ecx, dword [0x503934]
push ecx
call fcn.00498ad0
add esp, 0x10
movzx edx, byte [ebp - 0x3e]
test edx, edx
je 0x49a37d
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x49a37d
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp dword [ebp - 0x4c], 0
sete al
mov byte [ebp - 0x3e], al
cmp dword [ebp + 0x18], 0
je 0x49a36e
movzx ecx, byte [ebp - 0x3e]
test ecx, ecx
je 0x49a36e
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor ecx, ecx
cmp dword [ebp - 0x4c], 0x102
sete cl
mov byte [ebp - 0x3d], cl
cmp dword [ebp - 4], 0
je 0x49a38d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x49a39b
xor eax, eax
jmp 0x49a3af
movzx ecx, byte [ebp - 0x3d]
test ecx, ecx
je 0x49a3ac
mov eax, 1
jmp 0x49a3af
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x49b9c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x49b9f6
mov dword [ebp - 0xc], 1
jmp 0x49ba70
lea ecx, [ebp - 8]
push ecx
push 0x4ea8bc
push 1
push 0
push 0x4ea8ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x49ba20
mov dword [ebp - 0xc], 2
jmp 0x49ba70
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x49ba44
mov dword [ebp - 0xc], 3
jmp 0x49ba70
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x49ba68
mov dword [ebp - 0xc], 4
jmp 0x49ba70
xor eax, eax
jne 0x49b9e5
cmp dword [ebp - 4], 0
je 0x49ba84
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 8], 0
je 0x49ba98
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x49bdc0
Capabilities:
Check if file exists
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x49bde3
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x49bdea
xor al, al
jmp 0x49be8c
mov dword [ebp - 0x214], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00445020
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x4dbfb8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x49be63
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49be63
push 5
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x4dc014
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x214], eax
jmp 0x49be80
push 5
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x4dc020
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x214], eax
xor eax, eax
cmp dword [ebp - 0x214], 0x20
setg al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49bed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c44b5
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], 0
push 0x4cf8d6
lea ecx, [ebp - 0x34]
call fcn.00406c80
mov dword [ebp - 4], 0
push 0x4dc210
lea ecx, [ebp - 0x468]
call fcn.00406f50
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 1
xor eax, eax
mov word [ebp - 0x444], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x442]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x38], 0x400
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4dc26c
lea ecx, [ebp - 0x468]
call fcn.00407070
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x49bfd0
push 0x4cf8d7
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x46c]
or edx, 1
mov dword [ebp - 0x46c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49c0a5
call fcn.004010b0
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x49bff6
mov dword [ebp - 0x470], 0
jmp 0x49c05a
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x49c01b
mov dword [ebp - 0x474], 0
jmp 0x49c04e
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x478], esp
mov edx, dword [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x478]
push edx
call fcn.00401110
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00406d20
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406cc0
mov eax, dword [ebp - 0x46c]
or eax, 1
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49c0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c44e8
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x858], 0
lea ecx, [ebp - 0x838]
call fcn.00406c50
mov dword [ebp - 4], 0
mov dword [ebp - 0x840], 0xffffffff
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x83c], 0x400
mov dword [ebp - 0x818], 1
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x844], 0x800
lea edx, [ebp - 0x81c]
push edx
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x49c279
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x818]
push edx
push 0
push 0x4dc1fc
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49c26c
call fcn.004010b0
mov dword [ebp - 0x850], eax
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x84c], ecx
cmp dword [ebp - 0x84c], 0
jne 0x49c1e4
mov dword [ebp - 0x85c], 0
jmp 0x49c25a
mov edx, dword [ebp - 0x84c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x848], eax
cmp dword [ebp - 0x848], 0x3fffffff
jle 0x49c212
mov dword [ebp - 0x860], 0
jmp 0x49c24e
mov eax, dword [ebp - 0x848]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x864], esp
mov eax, dword [ebp - 0x850]
push eax
mov ecx, dword [ebp - 0x848]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x84c]
push edx
mov eax, dword [ebp - 0x864]
push eax
call fcn.00401110
mov dword [ebp - 0x860], eax
mov ecx, dword [ebp - 0x860]
mov dword [ebp - 0x85c], ecx
mov edx, dword [ebp - 0x85c]
push edx
lea ecx, [ebp - 0x838]
call fcn.00406d20
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406cc0
mov edx, dword [ebp - 0x858]
or edx, 1
mov dword [ebp - 0x858], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.00406d00
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x868]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49c2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x4dc050
lea ecx, [ebp - 0x434]
call fcn.00406f50
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x410], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x40e]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 8], 0x400
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 4]
push ecx
push str.CurrentVersion
lea ecx, [ebp - 0x434]
call fcn.00407070
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x49c371
mov dword [ebp - 0x438], 0
lea ecx, [ebp - 0x434]
call fcn.00406fd0
mov eax, dword [ebp - 0x438]
jmp 0x49c3e0
lea edx, [ebp - 0x410]
push edx
call fcn.0044883d
add esp, 4
fstp qword [ebp - 0x418]
fld qword [0x4ebf10]
fcomp qword [ebp - 0x418]
fnstsw ax
test ah, 0x41
jp 0x49c3b8
mov dword [ebp - 0x43c], 1
lea ecx, [ebp - 0x434]
call fcn.00406fd0
mov eax, dword [ebp - 0x43c]
jmp 0x49c3e0
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x434]
call fcn.00406fd0
mov eax, dword [ebp - 0x440]
jmp 0x49c3e0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret