joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb30
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
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.0040c6b0
mov byte [esi], 0x80
pop esi
ret

Function at 0x40cc30
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2d10
call fcn.00413a30
mov eax, dword [esp + 0x2d14]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
je 0x40cdc3
mov esi, dword [esp + 0x2d20]
cmp esi, ebp
je 0x40cdc3
push ebx
push edi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0040dfc0
add esp, 0x10
lea ecx, [esp + 0x28]
push ebp
push ebp
push 3
push ebp
push 3
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40cda6
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x610]
mov dword [esp + 0x18], edx
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x618]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40cd95
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x228]
lea edx, [esp + 0x610]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x628]
lea eax, [esp + 0x228]
push eax
push 1
push ecx
push edx
call fcn.00403b40
add esp, 0x10
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x40cd37
mov eax, 0x80070057
cmp eax, ebp
jl 0x40cd95
mov edx, dword [esp + 0x2d28]
mov eax, dword [esp + 0x2d24]
mov edi, SysReAllocString
mov ecx, eax
sub edi, edx
lea edx, [esp + 0x228]
sub edx, ecx
lea ecx, [edi + esi]
test ecx, ecx
je 0x40cd71
mov cl, byte [edx + eax]
test cl, cl
je 0x40cd71
mov byte [eax], cl
inc eax
dec esi
jne 0x40cd5b
jmp 0x40cd75
test esi, esi
jne 0x40cd7b
dec eax
mov ebp, 0x8007007a
mov esi, dword [esp + 0x2d28]
mov byte [eax], 0
mov eax, ebp
xor ebp, ebp
cmp eax, ebp
jne 0x40cd95
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x40cdb4
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x40cc68
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x2d10
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x2d10
ret
Function at 0x40d3a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4f0
test eax, eax
push ebx
push esi
push edi
je 0x40d5a4
mov esi, dword [esp + 0x504]
test esi, esi
je 0x40d5a4
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d534
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40d522
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d519
lea edx, [esp + 0x18]
lea eax, [esp + 0x2f4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x40d50e
mov ecx, 0x19
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x64
lea ecx, [esp + 0x2f8]
push eax
push ecx
call fcn.0040d5b0
add esp, 0xc
test eax, eax
je 0x40d50e
mov al, byte [esp + 0x24]
test al, al
je 0x40d4d7
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x40d50e
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
mov esi, 0x64
lea eax, [esp + 0x24]
sub edx, ecx
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x40d506
mov cl, byte [edx + eax]
test cl, cl
je 0x40d506
mov byte [eax], cl
inc eax
dec esi
jne 0x40d4ed
jmp 0x40d50a
test esi, esi
jne 0x40d50b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x10]
jmp 0x40d3fc
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x504]
mov al, byte [esp + 0x24]
test al, al
je 0x40d5a4
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x40d54b
mov eax, 0x80070057
test eax, eax
jl 0x40d591
mov edx, dword [esp + 0x504]
mov eax, dword [esp + 0x500]
mov edi, SysReAllocString
xor ebx, ebx
sub edi, edx
lea edx, [esp + 0x24]
sub edx, eax
lea ecx, [edi + esi]
test ecx, ecx
je 0x40d582
mov cl, byte [edx + eax]
test cl, cl
je 0x40d582
mov byte [eax], cl
inc eax
dec esi
jne 0x40d56c
jmp 0x40d586
test esi, esi
jne 0x40d58c
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
setge dl
pop esi
mov eax, edx
pop ebx
add esp, 0x4f0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4f0
ret
Function at 0x40dae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x425738]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.00401000
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x423c48
push 0x104
push eax
call fcn.0040df60
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.00401060
lea eax, [esp + 0x84]
push eax
call fcn.00401aa0
lea ecx, [esp + 0x88]
push ecx
call fcn.00401aa0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_strncat]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.0040df60
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x40dc2d
mov ecx, edx
jmp 0x40dc3b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x40dbdf
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x40dc93
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x423c48
push edx
push esi
call fcn.0040df60
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x40dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x40de81
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x40de81
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x423c64
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40de81
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x40de81
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x40dd8c
mov cl, byte [edx + eax]
test cl, cl
je 0x40dd8c
mov byte [eax], cl
inc eax
dec esi
jne 0x40dd76
jmp 0x40dd90
test esi, esi
jne 0x40dd91
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x40ddc9
mov cl, byte [edx + eax]
test cl, cl
je 0x40ddc9
mov byte [eax], cl
inc eax
dec esi
jne 0x40ddb0
jmp 0x40ddcd
test esi, esi
jne 0x40ddce
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0040dae0
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40de81
test ebp, ebp
je 0x40de21
cmp ebp, 0x7fffffff
jbe 0x40de26
mov eax, 0x80070057
test eax, eax
jl 0x40de6d
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x40de62
mov ecx, dword [esp + 0x51c]
mov edi, SysReAllocString
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x40de5e
mov cl, byte [esi + eax]
test cl, cl
je 0x40de5e
mov byte [eax], cl
inc eax
dec edx
jne 0x40de48
jmp 0x40de62
test edx, edx
jne 0x40de68
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x40e420
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x41c888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.0040adf0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], 0
call fcn.0040ae90
cmp eax, 1
jne 0x40e4cf
mov edx, dword [esp + 0x28]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
xor eax, eax
mov ecx, 6
lea edi, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
push eax
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
je 0x40e4cf
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
call esi
test eax, eax
jne 0x40e4af
pop ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040ae70
mov ecx, dword [esp + 0x74]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x40ec10
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
push esi
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push str.gdiplus.dll
mov eax, dword [esp + 0x14]
mov dword [0x4282bc], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x40ec41
or eax, 0xffffffff
pop esi
add esp, 8
ret 0x10
push str.Poptips
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x40ec60
or eax, 0xffffffff
pop esi
add esp, 8
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ec7d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 8
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 4]
call fcn.00410290
lea ecx, [esp + 4]
call fcn.00410890
test eax, eax
je 0x40ecaf
lea ecx, [esp + 4]
call fcn.00410960
push eax
call fcn.0040e570
add esp, 4
jmp 0x40ecb4
call fcn.0040eb80
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
call fcn.004102c0
xor eax, eax
pop esi
add esp, 8
ret 0x10

Function at 0x410350
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe]
push esi
push edi
mov edi, ecx
test eax, eax
mov esi, 0x423eb8
je 0x410381
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
mov ecx, edi
call fcn.00410490
test eax, eax
jne 0x410389
mov eax, dword [esi + 0xc]
add esi, 8
test eax, eax
jne 0x410363
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
push edi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410381
cmp word [edi], ax
je 0x410381
pop edi
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x4103d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360chrome.exe]
push esi
push edi
mov edi, ecx
test eax, eax
mov esi, 0x423ed8
je 0x410401
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
mov ecx, edi
call fcn.00410490
test eax, eax
jne 0x410409
mov eax, dword [esi + 0xc]
add esi, 8
test eax, eax
jne 0x4103e3
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
push edi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410401
cmp word [edi], ax
je 0x410401
pop edi
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x410450
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x428780], 0
jne 0x41047e
push 0
push 0x26
push 0x428780
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push 0x428780
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x428780
ret

Function at 0x410490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410550
mov esi, dword [esp + 4]
test esi, esi
je 0x410550
mov edx, dword [esp + 0x120]
test edx, edx
jne 0x4104f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x110
ret 0xc
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov dword [esp + 0xc], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push ecx
push eax
push 0
push edx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0x110
ret 0xc
xor eax, eax
pop esi
add esp, 0x110
ret 0xc

Function at 0x410590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push 0x426bf0
push str.http_shellopencommand
push SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410636
cmp word [esp + 0x18], bx
je 0x410636
lea eax, [esp + 0x18]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x410636
add edi, 2
push edi
call fcn.00410560
mov ebp, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
mov esi, str.360se.exe
push esi
push edi
call ebp
add esp, 8
cmp edi, eax
je 0x410645
add esi, 0x414
inc ebx
cmp esi, 0x41ed48
jl 0x41061c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret 4
mov ecx, ebx
pop edi
shl ecx, 6
add ecx, ebx
pop esi
pop ebp
lea edx, [ebx + ecx*4]
mov ecx, dword [esp + 0x218]
pop ebx
mov eax, dword [edx*4 + 0x41e930]
mov dword [ecx], eax
mov eax, 1
add esp, 0x210
ret 4
Function at 0x410680
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.00413a30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x401c]
xor ebx, ebx
cmp esi, ebx
je 0x41076a
cmp dword [esp + 0x4020], ebx
je 0x41076a
mov ebp, dword [esp + 0x4024]
cmp ebp, ebx
je 0x41076a
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
pop edi
je 0x41076a
cmp eax, 0x3fff
ja 0x41076a
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41076a
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4240f0
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41076a
mov eax, dword [esp + 0xc]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4028]
shr eax, 0x10
push edx
push eax
push str._d._d._d._d
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x400c
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400c
ret

Function at 0x410780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x4e0
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e2]
mov word [esp + 0x2e0], si
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0x2e0]
push eax
push ecx
push edx
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]
test eax, eax
jne 0x41087a
mov ecx, 0x81
lea edi, [esp + 0xda]
mov word [esp + 0xd8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2e0]
lea ecx, [esp + 0xd8]
push eax
push str._smodules360inst.exe
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x20]
push 0x64
lea eax, [esp + 0xec]
push edx
push eax
call fcn.00410680
add esp, 0x1c
test eax, eax
je 0x41087a
lea ecx, [esp + 0xd8]
push ecx
call fcn.00410c8e
add esp, 4
test eax, eax
je 0x41087a
lea edx, [esp + 0x10]
push 0x4240f4
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
mov eax, 1
jge 0x41087c
mov eax, esi
pop edi
pop esi
add esp, 0x4e0
ret
Function at 0x4110f6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movzx eax, word [ecx + 0x14]
push edi
lea esi, [eax + ecx + 0x18]
cmp ebx, dword [esi + 0xc]
lea edx, [esi + 0xc]
jae 0x411117
mov eax, ebx
jmp 0x411156
movzx edi, word [ecx + 6]
xor eax, eax
test edi, edi
jbe 0x411153
mov dword [ebp + 0xc], edx
lea edx, [eax + 1]
cmp edx, edi
mov dword [ebp - 4], edx
jne 0x411133
mov edx, dword [ecx + 0x50]
jmp 0x411139
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x28]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x411148
cmp ebx, dword [ebp + 0x10]
jb 0x41115b
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp eax, edi
jb 0x411124
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
mov eax, dword [esi + eax*8 + 0x14]
sub eax, dword [ecx + 0xc]
add eax, ebx
jmp 0x411156

Function at 0x41203a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40f9a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d10b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047147e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40fa22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046edba
mov eax, dword [eax]
push 0x4991f4
push eax
call fcn.00461164
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00471709
test bl, bl
je 0x40fa22
push 0x4991f4
lea ecx, [esp + 0xc]
call fcn.00471a99
push 0x49cd6c
lea ecx, [esp + 0xc]
call fcn.00471a99
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40fa5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00471709
jmp 0x40fb29
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40fae2
lea edx, [esp + 0x7c]
push 0x49cd68
push edx
call fcn.00461164
add esp, 8
test eax, eax
je 0x40fae2
lea eax, [esp + 0x7c]
push 0x49cd64
push eax
call fcn.00461164
add esp, 8
test eax, eax
je 0x40fae2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40fa72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00471709
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x410320
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410382
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc