joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x248], eax
xor ecx, ecx
lea eax, [ebp - 0x244]
push eax
mov word [ebp - 0x240], cx
mov dword [ebp - 0x214], ecx
mov ecx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6]
xor edx, edx
push str.InstallLocation
push ecx
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], dx
call fcn.00468330
add esp, 0xc
mov esi, 8
test al, al
je 0x4697c9
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6]
lea edx, [ebp - 0x228]
push edx
push str.DisplayVersion
push eax
call fcn.00468330
add esp, 0xc
test al, al
je 0x4697c9
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.0051d250
mov ecx, dword [ebp - 0x224]
add esp, 0xc
cmp dword [ebp - 0x210], esi
jae 0x46973f
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x240]
cmp dword [ebp - 0x22c], esi
jae 0x469753
lea eax, [ebp - 0x240]
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4697c9
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469780
mov ecx, dword [ebp - 0x248]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.0044fc50
lea ecx, [ebp - 0x228]
call fcn.00449950
lea ecx, [ebp - 0x244]
call fcn.00449950
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x210], esi
jb 0x4697e0
mov eax, dword [ebp - 0x224]
push eax
call fcn.0051d230
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], cx
cmp dword [ebp - 0x22c], esi
jb 0x469814
mov edx, dword [ebp - 0x240]
push edx
call fcn.0051d230
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x469950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [ebp + 8]
push edi
push str.IEXPLORE.EXE
call fcn.00468860
add esp, 8
test al, al
jne 0x469971
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x46997f
mov eax, dword [esi]
jmp 0x469981
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x469994
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 8
jb 0x46999c
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00468420
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0044f8b0
cmp dword [ebp - 4], 8
jb 0x4699c7
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0051d230
add esp, 4
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46a070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
push edi
push str.firefox.exe
call fcn.00468860
add esp, 8
test al, al
jne 0x46a08f
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x46a09d
mov eax, dword [esi]
jmp 0x46a09f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a0d8
call fcn.00414440
test al, al
je 0x46a0d0
cmp dword [edi + 0x18], 8
jb 0x46a0bb
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x46a0d8
cmp dword [ebp - 4], 0
jne 0x46a0d8
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x471fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push eax
push 0x576bd0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
call fcn.0044fc50
mov eax, dword [ebp + 8]
cmp eax, 4
jne 0x472027
lea ecx, [ebp - 0x228]
push ecx
call fcn.00469390
jmp 0x472038
cmp eax, 2
jne 0x47203b
lea edx, [ebp - 0x228]
push edx
call fcn.00469670
add esp, 4
cmp dword [ebp - 0x214], 0
je 0x4720d3
cmp dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x224]
jae 0x47205d
lea eax, [ebp - 0x224]
push str.setdefbrowser.dll
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4720d3
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00416ec0
add esp, 0xc
test al, al
je 0x4720d3
mov eax, dword [ebp - 0x230]
cmp eax, 2
jbe 0x4720c8
lea ecx, [ebp - 0x228]
call fcn.00449950
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
jne 0x4720d3
cmp dword [ebp - 0x22c], 0x19
jae 0x4720ad
cmp dword [ebp - 0x210], 8
jb 0x4720eb
mov eax, dword [ebp - 0x224]
push eax
call fcn.0051d230
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x473360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 1
jne 0x473375
mov al, byte [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esi + 0x10]
push eax
mov byte [esi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call edi
push 0x5995a6
push 0x20
mov dword [esi + 4], eax
call fcn.00524597
add esp, 8
pop edi
test eax, eax
je 0x4733c1
mov ecx, eax
call fcn.004508f0
jmp 0x4733c3
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 4
push esi
push 0x472fd0
push 0
push 0
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.005247af
add esp, 0x18
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
cmp dword [esi], 0
je 0x47341c
mov byte [esi + 0xd], 1
mov byte [esi + 0xc], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x473c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x214]
push eax
push str.Path
push 0x5602b0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x473d40
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
cmp eax, 0x104
jae 0x473d40
cmp word [ebp + eax*2 - 0x20c], 0x5c
je 0x473d38
cmp eax, 0x103
jae 0x473d40
mov ecx, 0x5c
xor edx, edx
mov word [ebp + eax*2 - 0x20c], cx
mov word [ebp + eax*2 - 0x20a], dx
lea eax, [ebp - 0x20c]
jmp 0x473d45
mov eax, 0x576bd0
push eax
mov ecx, esi
call fcn.00464b60
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x474090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [str.WebProtection_360safe.com]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [str.SOFTWAREMozillaFirefoxExtensions]
lea ecx, [ebp - 0x210]
push ecx
push edx
push eax
mov esi, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4741a8
cmp dword [ebp - 0x210], esi
jne 0x4741a8
lea ecx, [ebp - 0x214]
push str.safemonwebprotection_firefox
push ecx
call fcn.00473c90
add esp, 4
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0044f400
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47415e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x218]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0051dcaf
add esp, 8
test eax, eax
lea eax, [esi - 0x10]
sete bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x474196
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x4741c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4741e7
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 8]
call fcn.00464b60
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x4742d8
cmp eax, ecx
jg 0x4742d8
mov ecx, 0x5c
cmp cx, word [edx + eax*2]
lea ecx, [ebp - 8]
jne 0x474220
push 0x1d
push str.safemonwebprotection_firefox
jmp 0x474227
push 0x1e
push str._safemonwebprotection_firefox
call fcn.0044a1a0
mov ecx, dword [str.SOFTWAREMozillaFirefoxExtensions]
push esi
mov esi, dword [ebp - 8]
mov eax, dword [esi - 0xc]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [eax + eax]
mov eax, dword [str.WebProtection_360safe.com]
push edx
push esi
push 1
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x474287
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x474275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov edx, dword [str.nptswp_status]
mov eax, dword [str.SOFTWARE360TotalSecurityFirefox]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 1
call edi
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4742c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00414840
int3
Function at 0x4744d0
Capabilities:
Check if file exists
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x418]
call fcn.00464b60
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0051d250
add esp, 0xc
push 0x10
push str.MozillaFirefox
lea ecx, [ebp - 0x418]
call fcn.0044a1a0
push str.profiles.ini
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x41c]
push ecx
call fcn.0044f400
mov edx, dword [eax]
mov ecx, dword [esi]
add esp, 0xc
push edx
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x576bd0
push str.Path
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4745c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x418]
push 0x564764
push edx
call fcn.0044ff50
mov esi, dword [ebp - 0x418]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x474629
lea eax, [ebp - 0x418]
push eax
mov ecx, edi
call fcn.0044f5c0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474617
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x474d90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
push esi
jne 0x474db3
mov esi, dword [ebp + 8]
push 0x576bd0
mov ecx, esi
call fcn.00464b60
mov eax, esi
pop esi
pop ebp
ret
push edi
push str._server_tracking_data
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.0044f400
mov esi, dword [ebp + 0xc]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x474e05
mov edi, dword [ebp + 8]
push 0x576bd0
mov ecx, edi
call fcn.00464b60
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
add esi, 0xfffffff0
push esi
call fcn.0041eae0
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474e32
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4762c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
call fcn.0044b360
mov eax, dword [0x599458]
mov edx, dword [eax + 0xc]
mov ecx, 0x599458
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push str..PhysicalDrive_u
push ecx
call fcn.0044ff30
mov edx, dword [ebp - 0x14]
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0xffffffff
je 0x47646f
xor eax, eax
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push 0x2d1400
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x476457
mov edi, dword [ebp - 0x28]
push 0x5995a6
push edi
call fcn.0051f00a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x476454
push edi
push ebx
push esi
call fcn.0051d250
mov edx, dword [ebp - 0x20]
add esp, 0xc
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x2d1400
push edx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x476454
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x476454
cmp eax, edi
jae 0x476454
add eax, esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046b0e0
lea ecx, [ebp - 0x1c]
call fcn.004513c0
mov ecx, eax
call fcn.0044b810
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x476400
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.0044fa50
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00454420
add esp, 8
cmp dword [ebp - 0x30], 0x10
jb 0x476435
mov edx, dword [ebp - 0x44]
push edx
call fcn.0051d230
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x20]
cmp edi, ebx
je 0x476462
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x47646f
push esi
call fcn.0051d538
add esp, 4
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], ebx
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x476497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x476b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0051d250
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x476b70
push 0x576bd0
mov ecx, edi
call fcn.00464b60
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x210]
call fcn.00464b60
mov eax, dword [ebp - 0x210]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00449720
mov eax, dword [eax]
push 0x560120
push eax
call fcn.0051dcaf
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x214]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x476bd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
pop ebx
lea ecx, [ebp - 0x210]
je 0x476bed
push 0xc
push 0x5628bc
jmp 0x476bf4
push 0xd
push str.explorer.exe
call fcn.0044a1a0
push esi
mov esi, dword [ebp - 0x210]
add esi, 0xfffffff0
push esi
call fcn.0041eae0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476c2a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [ebp - 4]
pop esi
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x476cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x60
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x476dfe
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x476dfe
push esi
lea ecx, [ebp - 8]
push ecx
push 0xf00ff
push eax
mov dword [ebp - 8], edi
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x476df5
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x476df5
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], edi
call fcn.0041b0b0
add esp, 8
test eax, eax
je 0x476de9
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x476de9
push 1
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x476d47
mov esi, 0x400
jmp 0x476d4a
mov dword [ebp + 8], edi
push 0x44
lea ecx, [ebp - 0x60]
push edi
push ecx
call fcn.0051d250
mov edx, dword [ebp + 0x10]
xor eax, eax
add esp, 0xc
push edx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.00464b60
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x60]
push ecx
push edi
push edx
push esi
push edi
push edi
push edi
lea ecx, [ebp - 0xc]
call fcn.004427a0
push eax
mov eax, dword [ebp - 4]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x476db6
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x476dcc
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov edx, dword [ebp - 0x1c]
push edx
call edi
mov eax, dword [ebp - 4]
push eax
call edi
lea ecx, [ebp - 0xc]
call fcn.00442750
mov ecx, dword [ebp - 8]
push ecx
call edi
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477af0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x477cad
test edi, edi
je 0x477cad
test ebx, ebx
je 0x477cad
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.0051d250
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0051d250
add esp, 0x24
push 0x104
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 0x14], 2
push ebx
push edi
lea edx, [ebp - 0x414]
push esi
jne 0x477bfd
mov ecx, dword [str._s_sExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
lea eax, [ebp - 0x20c]
push eax
call fcn.00474810
add esp, 8
test eax, eax
je 0x477cad
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [str...Local_s_sUser_DataDefaultExtensions_s]
push ecx
push 0x104
push edx
call fcn.00436ed0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.00474810
add esp, 8
test eax, eax
jne 0x477bea
push 0x208
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0051d250
push 0x208
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.0051d250
mov eax, dword [str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s]
push ebx
push edi
push esi
push eax
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00436ed0
add esp, 0x30
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
lea edx, [ebp - 0x20c]
push edx
jmp 0x477bda
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret