joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428730
Capabilities:
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x48d79e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
cmp dword [esi + 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [esp + 0x3c], ebx
jne 0x428838
push 0x25
push str..pipemediaget_admin_proxy_pipe_in
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0040b5a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x44], 1
call fcn.00429c40
add esp, 8
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x3c], bl
jb 0x4287c5
mov edx, dword [esp + 0x1c]
push edx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push 0xff
push ebx
push 2
push eax
call edi
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x428838
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042d220
add esp, 8
mov byte [esp + 0x3c], 2
call fcn.004296b0
cmp dword [esp + 0x30], 0x10
jb 0x428812
mov edx, dword [esp + 0x1c]
push edx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428823
push eax
call fcn.00473f71
add esp, 4
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
cmp dword [esi + 8], 0xffffffff
jne 0x4288ca
push 0x26
push str..pipemediaget_admin_proxy_pipe_out
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0040b5a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x44], 3
call fcn.00429c40
add esp, 8
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x3c], bl
jb 0x428891
mov edx, dword [esp + 0x1c]
push edx
call fcn.00473948
add esp, 4
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push 0xff
push ebx
push 1
push eax
call edi
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x4288ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042d220
add esp, 8
mov byte [esp + 0x3c], 4
jmp 0x4287f9
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4288db
push eax
call fcn.00473f71
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x4299c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa00
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x9fc], eax
push esi
push edi
push 0
push 2
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x429adc
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x429adc
push 0x3e8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x23c]
push edx
call fcn.004757b4
mov esi, dword [esp + 0xa18]
add esp, 0xc
mov ecx, esi
lea eax, [esp + 0x234]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x429a50
test dl, dl
je 0x429a4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x429a50
add eax, 2
add ecx, 2
test dl, dl
jne 0x429a30
xor eax, eax
jmp 0x429a55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429a72
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x9fc]
xor ecx, esp
call fcn.00474468
add esp, 0xa00
ret
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
je 0x429adc
push 0x3e8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x624]
push edx
call fcn.004757b4
add esp, 0xc
mov ecx, esi
lea eax, [esp + 0x61c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x429ac4
test dl, dl
je 0x429ac0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x429ac4
add eax, 2
add ecx, 2
test dl, dl
jne 0x429aa4
xor eax, eax
jmp 0x429ac9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x429a59
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x429a81
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0xa04]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00474468
add esp, 0xa00
ret

Function at 0x429be0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 8], 0
je 0x429c2c
push esi
mov esi, dword [esp + 8]
push edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call edi
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call edi
pop edi
pop esi
ret
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x429d70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x10014
call fcn.004754c0
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x10010], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10024]
push edi
mov edi, dword [esp + 0x1002c]
push 0x208
push 0
mov dword [esp + 0x20], 0x104
call fcn.00473d56
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00429c40
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x429dfa
test ebx, ebx
je 0x429df3
push ebx
call fcn.00473f71
add esp, 4
xor al, al
jmp 0x429eba
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.00429c40
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x429e40
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x429df3
push edi
call fcn.00473f71
add esp, 4
xor al, al
jmp 0x429eba
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea edx, [esp + 0x14]
push edx
push 0xffff
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
setne bl
test bl, bl
je 0x429e90
mov eax, dword [esp + 0x10]
test eax, eax
je 0x429e9b
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
cmp eax, dword [esp + 0x10]
je 0x429e90
xor bl, bl
cmp dword [esp + 0x10], 0
je 0x429e9b
test bl, bl
jne 0x429e46
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebp
push esi
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x429eb8
push eax
call fcn.00473f71
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x10020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00474468
add esp, 0x10014
ret

Function at 0x429f30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00429c40
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429fc5
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.00429c40
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push esi
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429fd9
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x429fd2
push esi
call fcn.00473f71
add esp, 4
xor eax, eax
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 4]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
test esi, esi
je 0x429ff6
push esi
call fcn.00473f71
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret
Function at 0x42a000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00429c40
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0
push 2
push 0
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42a062
test esi, esi
je 0x42a05b
push esi
call fcn.00473f71
add esp, 4
xor al, al
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00429c40
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add esp, 8
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [esp + 8]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42a0ad
push esi
call fcn.00473f71
add esp, 4
mov al, bl
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x42a0c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x20]
push ebp
push esi
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00429c40
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push ebp
push 2
push ebp
push ebp
push ebp
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42a11a
cmp esi, ebp
je 0x42a112
push esi
call fcn.00473f71
add esp, 4
pop esi
xor al, al
pop ebp
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00429c40
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.00429c40
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [eax + eax]
push ecx
push esi
push 1
push ebp
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [esp + 0x10]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
je 0x42a182
push esi
call fcn.00473f71
add esp, 4
cmp edi, ebp
je 0x42a18f
push edi
call fcn.00473f71
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
add esp, 0x18
ret

Function at 0x42a3d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push ebx
push esi
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00429c40
mov esi, dword [esp + 0x10]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test esi, esi
je 0x42a415
push esi
call fcn.00473f71
add esp, 4
pop esi
mov al, bl
pop ebx
add esp, 8
ret
Function at 0x42a420
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4c
mov ecx, dword [esp + 0x50]
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.00429c40
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00429c40
push 0x3c
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.004747b0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add esp, 0x1c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], 0x4c
mov dword [esp + 0x2c], 0x497270
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42a4ce
push ebp
mov ebp, dword [esp + 0x58]
cmp esi, edi
je 0x42a4b7
push esi
call fcn.00473f71
add esp, 4
cmp ebx, edi
je 0x42a4c4
push ebx
call fcn.00473f71
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
cmp esi, edi
je 0x42a4db
push esi
call fcn.00473f71
add esp, 4
cmp ebx, edi
je 0x42a4e8
push ebx
call fcn.00473f71
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret
Function at 0x42aed0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48da9b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x4b2f48], 1
jne 0x42af2a
or dword [0x4b2f48], 1
push 0x4934e0
mov dword [0x4b2f44], 0xf
mov dword [0x4b2f40], ebx
mov byte [0x4b2f30], bl
call fcn.00474f76
add esp, 4
cmp dword [0x4b2f40], ebx
jne 0x42afdd
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 0x1c
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0042a950
push 0x497284
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b2f2c
mov byte [esp + 0x60], 2
call fcn.0040b380
cmp dword [esp + 0x2c], 0x10
jb 0x42afac
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x42afd0
mov eax, dword [esp + 0x34]
push eax
call fcn.00473948
add esp, 4
cmp esi, ebx
je 0x42afdd
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2f2c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret

Function at 0x42b000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48dace
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x4b2f68], 1
jne 0x42b05a
or dword [0x4b2f68], 1
push 0x493510
mov dword [0x4b2f64], 0xf
mov dword [0x4b2f60], ebx
mov byte [0x4b2f50], bl
call fcn.00474f76
add esp, 4
cmp dword [0x4b2f60], ebx
jne 0x42b10d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 0x1c
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0042a950
push str.Media_Get_LLCMediaGet2_
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b2f4c
mov byte [esp + 0x60], 2
call fcn.0040b380
cmp dword [esp + 0x2c], 0x10
jb 0x42b0dc
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x42b100
mov eax, dword [esp + 0x34]
push eax
call fcn.00473948
add esp, 4
cmp esi, ebx
je 0x42b10d
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2f4c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
Function at 0x42b130
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48db01
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x4b2f88], 1
jne 0x42b18a
or dword [0x4b2f88], 1
push 0x493540
mov dword [0x4b2f84], 0xf
mov dword [0x4b2f80], ebx
mov byte [0x4b2f70], bl
call fcn.00474f76
add esp, 4
cmp dword [0x4b2f80], ebx
jne 0x42b23d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 0x10
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0042a950
push 0x497080
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b2f6c
mov byte [esp + 0x60], 2
call fcn.0040b380
cmp dword [esp + 0x2c], 0x10
jb 0x42b20c
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x42b230
mov eax, dword [esp + 0x34]
push eax
call fcn.00473948
add esp, 4
cmp esi, ebx
je 0x42b23d
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2f6c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret

Function at 0x42b260
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48db34
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x4b2fa8], 1
jne 0x42b2ba
or dword [0x4b2fa8], 1
push 0x493570
mov dword [0x4b2fa4], 0xf
mov dword [0x4b2fa0], ebx
mov byte [0x4b2f90], bl
call fcn.00474f76
add esp, 4
cmp dword [0x4b2fa0], ebx
jne 0x42b36d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 2
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0042a950
push 0x497080
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b2f8c
mov byte [esp + 0x60], 2
call fcn.0040b380
cmp dword [esp + 0x2c], 0x10
jb 0x42b33c
mov edx, dword [esp + 0x18]
push edx
call fcn.00473948
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x42b360
mov eax, dword [esp + 0x34]
push eax
call fcn.00473948
add esp, 4
cmp esi, ebx
je 0x42b36d
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2f8c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
Function at 0x42b450
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48db82
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x40], ebx
call fcn.00429c40
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add esp, 8
lea edx, [esp + 0x14]
push edx
push 0x20119
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42b4ee
mov esi, dword [esp + 0x40]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
cmp edi, ebx
je 0x42b4d8
push edi
call fcn.00473f71
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00429c40
push 0x800
mov edi, 0x400
push ebx
mov dword [esp + 0x3c], edi
call fcn.00473d56
mov esi, eax
add esp, 0x10
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push edx
mov byte [esp + 0x50], 1
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42b561
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x40]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
jmp 0x42b588
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42b57a
cmp eax, 7
jne 0x42b54e
mov edi, dword [esp + 0x40]
push esi
push edi
call fcn.0042a950
add esp, 8
cmp esi, ebx
je 0x42b595
push esi
call fcn.00473f71
add esp, 4
cmp ebp, ebx
je 0x42b5a2
push ebp
call fcn.00473f71
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x42b810
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48dbf3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x4b2fe8], 1
jne 0x42b86c
or dword [0x4b2fe8], 1
push 0x4935d0
mov dword [0x4b2fe4], 0xf
mov dword [0x4b2fe0], 0
mov byte [0x4b2fd0], 0
call fcn.00474f76
add esp, 4
cmp dword [0x4b2fe0], 0
jne 0x42b8ee
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x1c
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b8e1
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0042a950
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4b2fcc
mov byte [esp + 0x40], 1
call fcn.0040b380
cmp dword [esp + 0x28], 0x10
jb 0x42b8e1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
test esi, esi
je 0x42b8ee
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2fcc
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret

Function at 0x42b910
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48dc1e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x4b3008], 1
jne 0x42b96c
or dword [0x4b3008], 1
push 0x493600
mov dword [0x4b3004], 0xf
mov dword [0x4b3000], 0
mov byte [0x4b2ff0], 0
call fcn.00474f76
add esp, 4
cmp dword [0x4b3000], 0
jne 0x42b9ee
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call fcn.00473d56
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x1a
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42b9e1
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0042a950
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4b2fec
mov byte [esp + 0x40], 1
call fcn.0040b380
cmp dword [esp + 0x28], 0x10
jb 0x42b9e1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00473948
add esp, 4
test esi, esi
je 0x42b9ee
push esi
call fcn.00473f71
add esp, 4
mov eax, 0x4b2fec
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret