joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c250
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
push ebp
mov ebp, dword [ebx + 0x805c]
push esi
push edi
mov esi, ecx
jne 0x41c26c
mov ebp, dword [ebx]
xor edi, edi
cmp dword [esi + 0x2714], edi
je 0x41c325
call fcn.00413920
mov edi, dword [ebx + 0x8040]
mov ecx, dword [edi + 8]
add ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
adc eax, dword [edi + 0x1c]
push 0
mov edx, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 8]
push ecx
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41c2bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41c36c
mov ecx, dword [esi + 8]
push 0
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [ebx + 0x40]
push eax
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c36c
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x41c36c
add dword [edi + 0x18], eax
mov ecx, 0
adc dword [edi + 0x1c], ecx
mov eax, dword [esp + 0x18]
add dword [esi + 0x5d130], eax
push eax
push ebx
adc dword [esi + 0x5d134], ecx
mov ecx, esi
call fcn.0041b0d0
mov ecx, esi
call fcn.00415290
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
push edi
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [ebx + 0x40]
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c36c
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x41c36c
add dword [esi + 0x5d130], eax
push eax
push ebx
adc dword [esi + 0x5d134], edi
mov ecx, esi
call fcn.0041b0d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x41c380
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26f4]
sub eax, dword [edi + 0x26f0]
sar eax, 2
cmp ebx, eax
jb 0x41c3a1
call fcn.00450a96
mov ecx, dword [edi + 0x26f0]
mov esi, dword [ecx + ebx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x41c423
cmp dword [edi + 0x2480], 0
je 0x41c400
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2484]
mov eax, dword [edi + 0x2480]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41c40b
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41c452
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
cmp dword [esi], 0
jne 0x41c43d
mov eax, dword [esi + 4]
test eax, eax
je 0x41c43d
pop edi
mov dword [esi + 0x18], eax
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.0041bf40
test eax, eax
jne 0x41c400
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x41c9a0
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26f4]
sub eax, dword [edi + 0x26f0]
sar eax, 2
cmp ebx, eax
jb 0x41c9c1
call fcn.00450a96
mov ecx, dword [edi + 0x26f0]
mov esi, dword [ecx + ebx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [edx + 4], 1
je 0x41ca47
cmp dword [edi + 0x2480], 0
je 0x41ca7e
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2484]
mov eax, dword [edi + 0x2480]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41ca2f
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x3e5
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
ret 4
cmp dword [esi], 0
jne 0x41ca61
mov eax, dword [esi + 4]
test eax, eax
je 0x41ca61
pop edi
mov dword [esi + 0x18], eax
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0041bf40
test eax, eax
jne 0x41ca7e
push ebx
mov ecx, edi
call fcn.004181a0
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x41d3c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x41d3cf
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esi + 0x5d550]
push str.MetalinkFile
push eax
call fcn.00451da8
add esp, 8
test eax, eax
je 0x41d417
xor ecx, ecx
mov word [eax], cx
mov ecx, str.MetalinkFile
push edi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41d3f5
sub ecx, edi
sar ecx, 1
lea edx, [eax + ecx*2]
push edx
call fcn.0045221c
add esp, 4
mov dword [esi + 0x2694], eax
pop edi
mov ecx, esi
call fcn.004154e0
test eax, eax
je 0x41d3ca
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
test eax, eax
je 0x41d468
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x41d2c0
push 0
push 0
mov dword [esp + 0x1c], 0
mov dword [esi + 0x5d118], 8
call fcn.00452709
add esp, 0x18
mov dword [esi + 0xc], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x41d9c0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1220
call fcn.0044fa10
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x121c], eax
mov eax, dword [esp + 0x1224]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
cmp eax, edi
je 0x41db0f
cmp word [eax], di
je 0x41db0f
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x20]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41db0f
push ebx
mov ebx, dword [esp + 0x14]
push 0x206
lea eax, [esp + 0x1022]
xor edx, edx
push edi
push eax
shr ebx, 2
mov word [esp + 0x1028], dx
call fcn.00450880
add esp, 0xc
mov dword [esp + 8], edi
cmp ebx, edi
jbe 0x41daf4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov ecx, dword [esp + edi*4 + 0x24]
push ecx
push 0
push 0x410
call ebp
mov esi, eax
test esi, esi
je 0x41dac1
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41daba
mov edx, dword [esp + 0x10]
push 0x103
lea ecx, [esp + 0x1028]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41daba
mov eax, dword [esp + 0x1238]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x102c]
push edx
call fcn.004528a3
add esp, 0xc
test eax, eax
je 0x41dae3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x41da53
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x121c]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x1220
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov dword [esp + 0x10], 1
pop ebp
mov eax, dword [esp + 0xc]
pop ebx
pop edi
mov ecx, dword [esp + 0x121c]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x1220
ret
mov ecx, dword [esp + 0x1220]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044f9f3
add esp, 0x1220
ret
Function at 0x41db30
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0044fa10
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x400c], eax
push ebp
push esi
mov esi, dword [esp + 0x401c]
push edi
mov edi, dword [esp + 0x4024]
test esi, esi
je 0x41dc3b
test edi, edi
je 0x41dc3b
mov ebp, dword [esp + 0x4028]
test ebp, ebp
je 0x41dc3b
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00450880
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41dc3b
cmp eax, 0x3fff
ja 0x41dc3b
lea ecx, [esp + 0x18]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41dc3b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x485ee4
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41dc3b
mov eax, dword [esp + 0xc]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push 0x485ecc
push ebp
push edi
call fcn.0044fdd8
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x4010
ret
mov ecx, dword [esp + 0x4018]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044f9f3
add esp, 0x4010
ret

Function at 0x41ec30
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0041ebf0
mov byte [esi], 0x80
pop esi
ret
Function at 0x420410
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2d14
call fcn.0044fa10
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x2d10], eax
mov eax, dword [esp + 0x2d18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x420578
cmp dword [esp + 0x2d20], edi
je 0x420578
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x486068
lea eax, [esp + 0x418]
push 0x200
push eax
call fcn.0041fe20
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x428]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x420551
xor eax, eax
push 0x2710
lea edx, [esp + 0x614]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x30], al
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00450880
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x61c]
push ecx
push 9
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x420544
push 0x3e8
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00450880
mov edx, dword [esp + 0x634]
lea ecx, [esp + 0x34]
push ecx
push 1
push edx
lea eax, [esp + 0x628]
push eax
call fcn.004124f0
mov edx, dword [esp + 0x2d48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0041fb40
test eax, eax
jne 0x420544
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x42055b
inc ebx
cmp ebx, 0x10
jl 0x420460
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2d10]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x2d14
ret
mov ecx, dword [esp + 0x2d14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044f9f3
add esp, 0x2d14
ret
Function at 0x420850
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x4f4
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x4f0], eax
push esi
mov esi, dword [esp + 0x4fc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x420a50
cmp dword [esp + 0x500], 0
je 0x420a50
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00450880
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420a17
mov ecx, dword [esp + 4]
push ebp
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xfc]
push eax
push ebp
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x420a0b
push edi
lea esp, [esp]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4209d4
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2f8]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4860b8
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4209c9
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00450880
lea ecx, [esp + 0x300]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00420740
add esp, 0x14
test eax, eax
je 0x4209c9
cmp byte [esp + 0x24], 0
je 0x420992
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4209c9
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4209c1
mov cl, byte [esi + eax]
test cl, cl
je 0x4209c1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4209a6
jmp 0x4209c5
test edx, edx
jne 0x4209c6
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebp
push ebp
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4208f0
mov esi, dword [esp + 0x20]
pop edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
cmp byte [esp + 0x1c], 0
je 0x420a50
mov edx, dword [esp + 0x500]
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0041fb40
xor ecx, ecx
test eax, eax
setge cl
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x4f4
ret
mov ecx, dword [esp + 0x4f4]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044f9f3
add esp, 0x4f4
ret
Function at 0x420cc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x420e3d
cmp ebp, 0x20
jb 0x420e3d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00450880
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4860f0
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x420e3d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420d50
sub eax, edx
cmp eax, 0x40
jne 0x420e3d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x420d8e
mov cl, byte [esi + eax]
test cl, cl
je 0x420d8e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x420d76
jmp 0x420d92
test edx, edx
jne 0x420d93
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x420dcb
mov cl, byte [edx + eax]
test cl, cl
je 0x420dcb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x420db0
jmp 0x420dcf
test esi, esi
jne 0x420dd0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00450880
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0041fe90
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x420e3d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0041fb40
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0044f9f3
add esp, 0x50c
ret
Function at 0x422090
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x624
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
mov esi, dword [esp + 0x62c]
push edi
mov edi, dword [esp + 0x634]
test esi, esi
je 0x4221ff
cmp word [esi], 0
je 0x4221ff
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00450880
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x436]
push eax
mov word [esp + 0x438], dx
call fcn.00450880
add esp, 0x18
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x14]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
lea ecx, [esp + 0x424]
push ecx
push str._smodules_s
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0044fdd8
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4221ff
lea ecx, [esp + 0x10]
push ecx
call fcn.0042e130
add esp, 4
test eax, eax
je 0x4221ff
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x222]
push eax
mov word [esp + 0x224], dx
call fcn.00450880
add esp, 0xc
test edi, edi
je 0x4221c8
cmp word [edi], 0
je 0x4221c8
push edi
lea ecx, [esp + 0x14]
push ecx
push str.__s___s
lea edx, [esp + 0x224]
push 0x104
push edx
call fcn.0044fdd8
add esp, 0x14
jmp 0x4221e7
lea eax, [esp + 0x10]
push eax
push 0x486284
lea ecx, [esp + 0x220]
push 0x104
push ecx
call fcn.0044fdd8
add esp, 0x10
push 0
push 0
lea edx, [esp + 0x220]
push 0
push edx
call fcn.0042dc40
add esp, 0x10
jmp 0x422201
xor eax, eax
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
call fcn.0044f9f3
add esp, 0x624
ret 8
Function at 0x422220
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x624
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
mov esi, dword [esp + 0x62c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00450880
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.00450880
add esp, 0x18
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x10]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x214]
push ecx
push str._smodules360inst.exe
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.0044fdd8
lea eax, [esp + 0x1c]
push eax
call fcn.0042e130
add esp, 0x14
test eax, eax
jne 0x4222ef
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0044f9f3
add esp, 0x624
ret 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x426]
push edx
mov word [esp + 0x428], cx
call fcn.00450880
push esi
lea eax, [esp + 0x1c]
push eax
push str.__s___s
lea ecx, [esp + 0x434]
push 0x104
push ecx
call fcn.0044fdd8
push 0
push 0
lea edx, [esp + 0x444]
push 0
push edx
call fcn.0042dc40
mov ecx, dword [esp + 0x654]
add esp, 0x30
pop esi
xor ecx, esp
call fcn.0044f9f3
add esp, 0x624
ret 4
Function at 0x422890
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00450880
add esp, 0xc
lea edx, [esp + 8]
push 0x103
push edx
call fcn.0042cba0
mov ecx, eax
call fcn.0042b6d0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42292d
xor eax, eax
cmp ax, word [esp + 8]
je 0x42292d
lea ecx, [esp + 8]
push ecx
call ebx
test eax, eax
je 0x42292d
cmp dword [esi + 0x18], 8
jb 0x422917
mov esi, dword [esi + 4]
lea edx, [esp + 8]
push esi
push edx
call fcn.00430800
add esp, 8
jmp 0x422a2f
add esi, 4
lea edx, [esp + 8]
push esi
push edx
call fcn.00430800
add esp, 8
jmp 0x422a2f
lea eax, [esp + 8]
push 0x103
push eax
call fcn.0042cba0
mov ecx, eax
call fcn.0042cbd0
test eax, eax
je 0x42298d
xor ecx, ecx
cmp cx, word [esp + 8]
je 0x42298d
lea edx, [esp + 8]
push edx
call ebx
test eax, eax
je 0x42298d
cmp dword [esi + 0x18], 8
jb 0x422977
mov esi, dword [esi + 4]
lea eax, [esp + 8]
push esi
push eax
call fcn.00430800
add esp, 8
jmp 0x422a2f
add esi, 4
lea eax, [esp + 8]
push esi
push eax
call fcn.00430800
add esp, 8
jmp 0x422a2f
lea ecx, [esp + 8]
push 0x103
push ecx
call fcn.0042cba0
mov ecx, eax
call fcn.0042c740
test eax, eax
je 0x4229e7
xor edx, edx
cmp dx, word [esp + 8]
je 0x4229e7
lea eax, [esp + 8]
push eax
call ebx
test eax, eax
je 0x4229e7
cmp dword [esi + 0x18], 8
jb 0x4229d4
mov esi, dword [esi + 4]
lea ecx, [esp + 8]
push esi
push ecx
call fcn.00430800
add esp, 8
jmp 0x422a2f
add esi, 4
lea ecx, [esp + 8]
push esi
push ecx
call fcn.00430800
add esp, 8
jmp 0x422a2f
push edi
call fcn.0042cba0
mov ecx, eax
call fcn.0042b830
mov edi, eax
test edi, edi
je 0x422a15
push edi
call ebx
test eax, eax
je 0x422a15
cmp dword [esi + 0x18], 8
jb 0x422a0e
mov esi, dword [esi + 4]
push esi
push edi
jmp 0x422a26
add esi, 4
push esi
push edi
jmp 0x422a26
cmp dword [esi + 0x18], 8
jb 0x422a20
mov esi, dword [esi + 4]
jmp 0x422a23
add esi, 4
push esi
push 0
call fcn.00430800
add esp, 8
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0044f9f3
add esp, 0x20c
ret 4
Function at 0x424040
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 8]
mov dword [0x4a3644], eax
call fcn.0042d510
test al, al
jne 0x424065
or eax, 0xffffffff
pop ecx
ret 0x10
push 0x4864e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x42405e
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0042e120
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x42405e
cmp dword [esp], 1
push esi
je 0x424149
mov esi, dword [eax + 4]
test esi, esi
je 0x424149
mov ecx, str._wanzi
mov eax, esi
jmp 0x4240c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4240e6
test dx, dx
je 0x4240e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4240e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4240c0
xor eax, eax
jmp 0x4240eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x424101
call fcn.00423f10
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
pop ecx
ret 0x10
mov ecx, 0x4864bc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42412e
test dx, dx
je 0x42412a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42412e
add eax, 4
add ecx, 4
test dx, dx
jne 0x424108
xor eax, eax
jmp 0x424133
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42414e
call fcn.00423f80
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
pop ecx
ret 0x10
call fcn.00424010
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
pop ecx
ret 0x10