joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f370
Capabilities:
Access peb ldr_data
Get common file path
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x491128
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x4b5e2c
mov dword [esp + 0xc], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov dword [esp + 0x224], 0
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 1
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 2
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 3
lea edi, [esi + 0x10]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 4
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 5
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 6
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 7
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x4b5e2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b5e2c
mov byte [esp + 0x224], 8
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x224], 9
call fcn.0041db40
lea ecx, [esi + 0x54]
mov byte [esp + 0x224], 0xa
call fcn.0041dbb0
lea ecx, [esi + 0x70]
mov byte [esp + 0x224], 0xb
call fcn.0041dad0
lea ecx, [esi + 0x8c]
mov byte [esp + 0x224], 0xc
call fcn.0041dad0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x224], 0xd
call fcn.0041dad0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x224], 0xe
call fcn.0041dad0
lea ecx, [esi + 0xe0]
mov byte [esp + 0x224], 0xf
call fcn.0041dc20
lea ecx, [esi + 0xfc]
mov byte [esp + 0x224], 0x10
call fcn.0041dc90
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov byte [esp + 0x230], 0x11
mov byte [esi + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004453c0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x14]
push eax
push 0x495248
push edi
call fcn.0040ebe0
add esp, 0x10
mov dword [esi + 0x30], 0
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004453a3
add esp, 0x21c
ret
Function at 0x420f00
Capabilities:
Create directory
Extract resource via kernel32 functions
Query environment variable
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49139b
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42106b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x18], eax
test eax, eax
je 0x42106b
push edi
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov eax, dword [ebp + 0x10]
lea esi, [ebp + 0x10]
push 0
push eax
call ebx
test eax, eax
jne 0x421003
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x421003
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12e]
push ecx
mov word [esp + 0x130], ax
call fcn.004453c0
add esp, 0xc
push 0x104
lea edx, [esp + 0x128]
push edx
push str._windir__temp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x128]
push eax
push str._s_d
push esi
call fcn.0040ebe0
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call ebx
push str._setup.xml
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0041c7b0
add esp, 0xc
mov edx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edx
mov dword [esp + 0x354], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421072
mov dword [esp + 0x338], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42106b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x421102
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x103
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.004453c0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push 0
push 0
push 0x103
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0041fc50
mov bl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x338], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004453a3
add esp, 0x328
ret
Function at 0x421130
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4913d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x421162
call fcn.00420f00
mov ecx, esi
call fcn.0041d870
push 0x4947e4
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c7b0
add esi, 4
push esi
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x34], 0
call fcn.0041c6e0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0xc]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x421760
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov edi, dword [esp + 0x23c]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x4217d0
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4217c9
push 0x104
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00447334
add esp, 0xc
test eax, eax
je 0x4217e9
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4217a3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004453a3
add esp, 0x230
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004453a3
add esp, 0x230
ret

Function at 0x421810
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.00421760
add esp, 4
test eax, eax
je 0x421844
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x421843
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x421940
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x1224
call fcn.004463d0
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x1220], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push str.Q360APWinClass
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x4219a5
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4219a5
push eax
push ebp
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x4219a5
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], 0x49575c
mov dword [esp + 0x14], ebp
push 0xffc
lea edx, [esp + 0x30]
push ebp
push edx
mov dword [esp + 0x34], ebp
call fcn.004453c0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x1c], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x421adf
mov edi, dword [esp + 0x10]
shr edi, 2
xor ebx, ebx
cmp edi, ebp
mov dword [esp + 0x18], edi
jle 0x421acd
lea ecx, [ecx]
mov eax, dword [esp + ebx*4 + 0x28]
cmp eax, ebp
je 0x421ac4
push eax
push ebp
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x421ac4
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x421a4a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x421ac4
push 0x206
lea edx, [esp + 0x102e]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x1034], cx
call fcn.004453c0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x104
lea eax, [esp + 0x102c]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
xor edi, edi
mov edx, dword [esp + edi*4 + 0x24]
push edx
lea eax, [esp + 0x102c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.00445568
add esp, 8
test eax, eax
je 0x421aac
inc edi
cmp edi, 1
jl 0x421a84
jmp 0x421ac0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebp
call esi
mov edi, dword [esp + 0x18]
inc ebx
cmp ebx, edi
jl 0x421a00
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x4219b1
mov ecx, dword [esp + 0x1230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004453a3
add esp, 0x1224
ret
Function at 0x422240
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x422292
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004453a3
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x42231b
cmp dword [esp + 0xc], 0x40
jne 0x42231b
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x42231b
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x42231b
push 0
lea ecx, [esp + 0x10]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x42231b
cmp dword [esp + 0xc], 0xf8
jne 0x42231b
cmp dword [esp + 0x10], 0x4550
jne 0x42231b
cmp word [esp + 0x16], bx
je 0x42231b
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004453a3
add esp, 0x140
ret

Function at 0x422af0
Capabilities:
Check if file exists

Disassembly:
call fcn.00422100
test eax, eax
je 0x422b01
mov eax, 1
ret 0x10
cmp dword [esp + 8], 0
push esi
mov esi, dword [esp + 8]
je 0x422b18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422b2c
cmp dword [esp + 0x10], 0
je 0x422b35
push esi
call fcn.00422240
add esp, 4
test eax, eax
jne 0x422b35
mov eax, 1
pop esi
ret 0x10
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0041b190
add esp, 8
pop esi
ret 0x10

Function at 0x4233b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x423418
lea eax, [esp]
push eax
call fcn.0041caf0
mov ecx, dword [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4233f9
mov eax, dword [esp]
push esi
push 0
push 0
push 0
push eax
mov esi, eax
call fcn.00422af0
test eax, eax
je 0x4233f8
push 5
push 0
push 0x495894
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov eax, dword [esp]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret
Function at 0x423770
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0xc
push esi
push edi
push 0
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push 0xd8
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42379f
pop edi
xor al, al
pop esi
add esp, 0xc
ret
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x4237b7
pop ebp
pop edi
xor al, al
pop esi
add esp, 0xc
ret
push ebx
push edi
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [edi + 0x1c]
add edi, 0x1c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.7z.cab
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0041c7b0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42383d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop ebp
pop edi
xor al, al
pop esi
add esp, 0xc
ret
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x208
push 0
push 0x4b59a0
call fcn.004453c0
mov edx, dword [edi]
push 0x104
push edx
push 0x4b59a0
call fcn.00446642
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
push 0x421b00
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
cmp eax, 1
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop ebp
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4252e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4918fc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x18], 3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x60]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x44]
call fcn.0041edf0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 2
call fcn.0041edf0
mov eax, dword [esi + 0x20]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1c]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x18]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4253bd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x426040
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x424a80
push 0
push 0
call fcn.004476fa
add esp, 0x18
ret
Function at 0x427490
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x24], edi
test eax, eax
je 0x4274bd
push 1
push eax
call ebx
cmp eax, 0x102
jne 0x4274bd
xor al, al
pop edi
pop esi
pop ebx
ret 4
push ecx
lea eax, [edi + 8]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0040f040
mov ecx, dword [esi]
call fcn.0041ca50
push 0
push 0
push esi
push 0x4272c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp byte [edi], 0
je 0x4274f8
push 0x927c0
push eax
call ebx
pop edi
pop esi
mov al, 1
pop ebx
ret 4

Function at 0x428880
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x810], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004453c0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x494820
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x428900
mov eax, 1
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004453a3
add esp, 0x814
ret
push str.360ver.dll
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4288e6
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0xc], 0
call fcn.0041aa80
add esp, 0xc
cmp dword [esp], 0
je 0x4288e6
push esi
lea edx, [esp + 0x14]
push edx
call fcn.00428830
mov esi, eax
test esi, esi
jne 0x428971
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.004453a3
add esp, 0x814
ret
push edi
push 0x496044
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x818]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004453a3
add esp, 0x814
ret
Function at 0x4289b0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.004463d0
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004453c0
push 0x800
lea ecx, [esp + 0x18]
push 0x49615c
push ecx
call fcn.00446642
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00446602
push 0x800
lea eax, [esp + 0x30]
push 0x496130
push eax
call fcn.00446602
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00446602
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.00446602
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00446602
push 0x800
lea ecx, [esp + 0x18]
push 0x4960f0
push ecx
call fcn.00446602
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x428ad4
push 0xc8
push 0x495f68
push 0x4b1b50
call fcn.00447334
add esp, 0xc
test eax, eax
jne 0x428abc
call fcn.00428880
test eax, eax
je 0x428abc
push 5
push 0
push 0
push 0x4b1ce8
jmp 0x428ac7
push 5
push 0
push 0
push 0x4b1b50
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x428ae5
push 0
call fcn.00447d57
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004453a3
add esp, 0x1004
ret