joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4240e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x4d0b80]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00450680
push 0x11c
push 0
push ebx
mov dword [esp + 0x60], 0x11c
call fcn.00450680
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x424184
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x424184
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x424184
cmp dword [esp + 0x10], 0
jne 0x42424b
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x42419e
lea ecx, [esp + 0x48]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x4241cb
mov ecx, 0x47
lea esi, [esp + 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x16e]
push ecx
mov word [esp + 0x170], ax
call fcn.00450680
add esp, 0xc
lea esi, [esp + 0x164]
call fcn.00423fe0
test eax, eax
jl 0x42424b
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.00424280
test eax, eax
je 0x42424b
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x42423e
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x424256
mov edx, dword [esp + 0xc]
mov dword [edx + 4], 0
jmp 0x424256
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004513b1
add esp, 0x56c
ret 4
Function at 0x424280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4242fe
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4242f7
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4242f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4242ef
push ebp
call fcn.00452148
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4242ef
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.00450960
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x424342
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c70a4
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424339
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.00451798
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x424800
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x80
mov eax, dword [0x4d0b80]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00425b60
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call fcn.004272b0
add esp, 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.004273a0
mov dword [esp + 0x10], ebx
jmp 0x4248a0
movzx ebx, byte [esp + ebx + 0x78]
mov eax, ebx
shr eax, 4
movzx ecx, word [eax*2 + str.0123456789abcdef]
mov eax, dword [esi]
mov ebp, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or edx, eax
mov dword [esp + 0x14], ecx
jge 0x4248d8
mov ecx, edi
mov eax, esi
call fcn.00426aa0
mov ecx, dword [esi]
mov dx, word [esp + 0x14]
mov word [ecx + ebp*2], dx
test edi, edi
jl 0x424971
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x424971
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
and ebx, 0xf
movzx ebp, word [ebx*2 + str.0123456789abcdef]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x42492a
mov ecx, edi
mov eax, esi
call fcn.00426aa0
mov ecx, dword [esi]
mov word [ecx + ebx*2], bp
test edi, edi
jl 0x424971
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x424971
mov ebx, dword [esp + 0x10]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
inc ebx
xor eax, eax
mov word [edx + edi*2], ax
mov dword [esp + 0x10], ebx
cmp ebx, 0x14
jb 0x4248a0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004513b1
add esp, 0x80
ret
push 0x80070057
call fcn.00403180
int3
Function at 0x424d00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b3e58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0b80]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x14]
push eax
push 0x202
push ebp
push str.SOFTWARE360SafeLiveup
mov dword [esp + 0x38], ebp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x424e2d
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x200
cmp ecx, ebp
je 0x424dcb
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
xor edx, edx
cmp ecx, ebp
setne dl
cmp edx, ebp
jne 0x424d98
push 0x80004005
call fcn.00403180
push ecx
push eax
call fcn.00451b83
add esp, 8
cmp eax, ebp
je 0x424dcb
mov esi, dword [esi]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
je 0x424dcb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebp
push str.m2_old
push edi
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
jne 0x424de3
mov eax, 0xd
jmp 0x424dfb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebp
push 0x4c6ffc
push edi
call ebx
xor edx, edx
cmp eax, ebp
sete dl
mov dword [esp + 0x28], 0xffffffff
mov esi, edx
cmp edi, ebp
je 0x424e17
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x427030
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42709e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x42706f
cmp eax, 2
jne 0x42708a
mov eax, dword [esp]
test esi, esi
je 0x427098
test eax, eax
je 0x427093
test al, 1
jne 0x42708a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x427098
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x428c60
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x4d0b80]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x458]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x468]
push edi
mov dword [eax], ebp
mov dword [esp + 0x30], ecx
mov dword [ecx], ebp
lea ecx, [esp + 0x28]
push ecx
push 8
push ebp
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x428cc8
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x428cd4
xor eax, eax
jmp 0x428df6
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x264]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x428de2
lea eax, [esp + 0x20]
push eax
push 1
push ebp
lea ecx, [esp + 0x25c]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x428d75
mov ebx, dword [esp + 0x20]
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], esi
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.00427030
test eax, eax
jne 0x428d62
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x428d8b
cmp ebx, ebp
je 0x428d71
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x100
mov dword [esp + 0x24], eax
jl 0x428cd0
jmp 0x428de2
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.00427030
test eax, eax
jne 0x428dd7
mov eax, esi
push eax
call fcn.0045376d
add esp, 4
cmp eax, 5
jne 0x428dd7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.00428b30
add esp, 4
cmp ebx, ebp
je 0x428de2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x428df1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004513b1
add esp, 0x454
ret
Function at 0x42f7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x42f7ed
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.004025b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x42f7ed
mov eax, dword [ebp + 0xc]
jmp 0x42f82e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x42f82b
mov dword [ebp - 8], 0
push 2
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
push 0x20a
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00450680
add esp, 0xc
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4326f1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push str.Path
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4326e4
push 0x4b789c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4326e4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret
Function at 0x434d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00401180
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.004376d0
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00435010
lea ecx, [ebp - 0x440]
call fcn.00437b60
push 0x400
mov eax, dword [ebp + 8]
push eax
call fcn.00434ab0
add esp, 8
mov dword [ebp - 0x444], eax
push 2
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x434dbe
call fcn.0042ad20
mov dword [ebp - 0x20], eax
jmp 0x434eef
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x434de6
call fcn.0042ad20
mov dword [ebp - 0x20], eax
jmp 0x434eef
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x434e0a
call fcn.0042ad20
mov dword [ebp - 0x20], eax
jmp 0x434eef
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, dword [ebp - 0x38]
jae 0x434e54
mov dword [ebp - 0x490], 0x8007000e
lea ecx, [ebp - 0x440]
call fcn.00437b80
lea ecx, [ebp - 0x1c]
call fcn.004376f0
mov eax, dword [ebp - 0x490]
jmp 0x434f21
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x440]
call fcn.00437bd0
lea ecx, [ebp - 0x440]
call fcn.00437bb0
test eax, eax
jne 0x434e7e
mov dword [ebp - 0x20], 0x8007000e
jmp 0x434eef
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.00437bb0
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
call fcn.00401180
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x434ebd
call fcn.0042ad20
mov dword [ebp - 0x20], eax
jmp 0x434eef
lea ecx, [ebp - 0x440]
call fcn.00437bb0
xor ecx, ecx
mov edx, dword [ebp - 0x448]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x440]
call fcn.00437bb0
push eax
lea ecx, [ebp - 0x28]
call fcn.00435040
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 0
je 0x434eff
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x440]
call fcn.00437b80
lea ecx, [ebp - 0x1c]
call fcn.004376f0
mov eax, dword [ebp - 0x48c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4367f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.00427150
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00436790
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436855
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.00427130
mov eax, dword [ebp - 0x26c]
jmp 0x4368e3
mov dword [ebp - 0x20], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4368bb
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.004367f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4368b2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.00427130
mov eax, dword [ebp - 0x268]
jmp 0x4368e3
mov dword [ebp - 0x20], pe_nt_image_headers32
jmp 0x43685c
lea ecx, [ebp - 0x10]
call fcn.00427100
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004366b0
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.00427130
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret 4
Function at 0x436e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x436e8c
xor eax, eax
jne 0x436e8c
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x436ead
mov eax, 0xd
jmp 0x436f08
xor eax, eax
jne 0x436e94
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x436ebe
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438460
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 8]
call fcn.0042c560
call fcn.00441a00
mov ecx, eax
call fcn.004423e0
push eax
call fcn.00441a00
mov ecx, eax
call fcn.00442350
push eax
call fcn.00441a00
mov ecx, eax
call fcn.0043d450
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00441a00
mov ecx, eax
call fcn.0043d420
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.http:__s.360.cn_safe_instcomp.htm_typeonebox_setupact_dstatusdetailsoftid_spopidverenterprisepid_dmid_sm2_s
lea eax, [ebp - 8]
push eax
call fcn.0043b710
add esp, 0x1c
lea ecx, [ebp - 0x254]
call fcn.00402590
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00450680
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 8]
call fcn.004025b0
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jne 0x438522
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.00402590
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret
Function at 0x439450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00441a00
mov ecx, eax
call fcn.0043d3f0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x439490
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00441a00
mov ecx, eax
call fcn.0043d3f0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
add ecx, 0xac
call fcn.004025b0
test eax, eax
je 0x439505
mov ecx, dword [ebp - 4]
add ecx, 0xac
call fcn.004025b0
push eax
call fcn.004504a3
add esp, 4
test eax, eax
je 0x439505
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xac
call fcn.004025b0
push eax
push str.open
push 0
call sub.SHELL32.dll_ShellExecuteW
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x439d80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00450680
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.jsflag__d
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.0043d050
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x218]
push eax
push str.SOFTWAREKitTipCLSID
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp dword [ebp - 0x21c], 0
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret

Function at 0x439e30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d0b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00450680
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.jsflag__d
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0043d050
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push str.SOFTWAREKitTipCLSID
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov dword [ebp - 0x210], eax
xor eax, eax
cmp dword [ebp - 0x210], 0
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004513b1
mov esp, ebp
pop ebp
ret