joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4185f0
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.004182f0
mov eax, dword [esi + 0x64]
push eax
call dword [esi + 0x3c]
mov ecx, dword [esi + 0x64]
mov edi, dword [ebp + 8]
push ecx
mov dword [esi + 0x5c], eax
call dword [esi + 0x30]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov edx, dword [esi + 0x88]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x8c]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x64]
push ecx
call dword [esi + 0x40]
mov ecx, dword [edi + 0x10]
add esp, 0xc
sub ecx, eax
mov eax, dword [edi + 0x14]
sbb eax, edx
xor ebx, ebx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3e8
jl 0x41869f
mov eax, 0x10624dd3
imul ecx
mov eax, edx
sar eax, 6
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
cdq
push edx
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x18]
push edx
push eax
call fcn.00499be0
mov dword [esi + 0x58], eax
cmp dword [esi + 0x6c], 1
jne 0x4186aa
mov dword [edi + 0x40], ebx
jmp 0x4186b0
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x40], ecx
mov dl, byte [esi + 0x6c]
mov byte [edi + 0x45], dl
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x41870f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub eax, edx
cmp eax, ecx
jbe 0x41870f
cmp dword [esi + 0x6c], 6
jne 0x41870f
mov eax, 3
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], eax
mov byte [edi + 0x45], al
mov eax, dword [esi + 0x64]
push eax
call dword [esi + 0x18]
mov ecx, dword [esi + 0x64]
add esp, 4
push ecx
call dword [esi + 0x1c]
mov edx, dword [esi + 0x64]
add esp, 4
push edx
call dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x64], ebx
jmp 0x41872a
mov esi, dword [esi + 0x6c]
cmp esi, 5
jl 0x41872a
cmp esi, 8
jle 0x418727
cmp esi, 9
jne 0x41872a
mov byte [edi + 0x45], 4
jmp 0x41872a
mov byte [edi + 0x45], bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4187c0
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value
Terminate process

Disassembly:
mov eax, 0x180c
call fcn.004999f0
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x1814]
push eax
push 0
push 1
push ebx
mov dword [esp + 0x14], 0
call fcn.004071b0
test eax, eax
jne 0x4189d3
mov eax, dword [esp + 4]
test eax, eax
jne 0x4189c7
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x818]
push 0x800
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x81c]
push 0x4b8a78
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea edx, [esp + 0x828]
push 0x4b8e08
push edx
call esi
push 0x800
lea eax, [esp + 0x834]
push 0x4b8a4c
push eax
call esi
push 0x800
lea ecx, [esp + 0x840]
push 0x4b8e08
push ecx
call esi
push 0x800
lea edx, [esp + 0x84c]
push str.vL
push edx
call esi
push 0x800
lea eax, [esp + 0x858]
push ebx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 0x818]
push 0x800
push 0x4b8a0c
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x818]
push 0x14
push 0x4b8e08
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4189bd
push 0xc8
push 0x4b89c8
push 0x4b8fa0
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4189a5
mov ecx, 0x1ff
lea edi, [esp + 0x1a]
mov word [esp + 0x18], ax
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 str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x418998
lea eax, [esp + 0x18]
push str.360ver.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418998
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00410460
add esp, 8
test eax, eax
je 0x418998
lea ecx, [esp + 0x18]
push ecx
call fcn.004187c0
mov esi, eax
test esi, esi
je 0x418998
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4189a5
push 5
push 0
push 0
push 0x4b9138
jmp 0x4189b0
push 5
push 0
push 0
push 0x4b8fa0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x180c
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ebx
add esp, 0x180c
ret 4
Function at 0x4190f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x419254
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x419147
cmp bx, 0x7e
jne 0x41912d
call fcn.00419e00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x419176
mov ecx, esi
call fcn.00419e80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x419176
push edi
mov ecx, esi
call fcn.004269b0
push ebp
mov ecx, esi
call fcn.00419280
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.004269a0
test eax, eax
je 0x419176
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x4191f7
test eax, eax
je 0x41918d
lea esi, [eax - 0x9c]
jmp 0x41918f
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x4191c4
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4191b5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4191c9
test ebx, ebx
jne 0x4191c4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4191c9
cmp ebx, 1
je 0x419217
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.0041a1f0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x41922d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x419217
cmp dword [eax + 0x18], ecx
je 0x419217
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00436440
test eax, eax
je 0x419254
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x419f10
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
call fcn.00408be0
test eax, eax
jne 0x419f2b
call fcn.00408c10
test eax, eax
je 0x419f81
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x41c640
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x41c7e7
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41c67b
push 1
call fcn.0041c5f0
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.0041c7f0
mov dword [ebp], eax
jmp 0x41c6f0
cmp ebx, 2
jne 0x41c692
push 1
mov ecx, esi
call fcn.0041c5f0
mov ecx, esi
call fcn.0041d3a0
jmp 0x41c6e9
cmp ebx, 0x111
jne 0x41c6b3
cmp di, 0x6c
jne 0x41c707
mov ecx, esi
call fcn.0041c840
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x41c6ce
push 1
mov ecx, esi
call fcn.0041c5f0
push edi
mov ecx, esi
call fcn.0041cd30
jmp 0x41c6e9
cmp ebx, 0x18
jne 0x41c707
push 1
mov ecx, esi
call fcn.0041c5f0
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.0041dba0
mov dword [ebp], 0
mov ecx, esi
call fcn.0041c5e0
test eax, eax
je 0x41c707
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0xa0]
jne 0x41c789
test eax, eax
je 0x41c71e
lea esi, [eax - 0xa0]
jmp 0x41c720
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41c755
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41c746
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41c75a
test edi, edi
jne 0x41c755
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41c75a
cmp edi, 1
je 0x41c7ad
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0xa0]
call fcn.0041e430
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41c7c0
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41c7ad
cmp dword [eax + 0x18], ecx
je 0x41c7ad
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x20]
call fcn.00436440
test eax, eax
je 0x41c7e7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x41f130
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x41f157
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x41f1ed
mov ebx, dword [esp + 0x5c]
mov ebp, dword [sym.imp.WININET.dll_InternetErrorDlg]
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
push 0x13
push esi
mov dword [esp + 0x24], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41f200
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 0x197
je 0x41f1b8
cmp eax, 0x191
jne 0x41f200
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x41f200
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x41f17b
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 8

Function at 0x41f220
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x41eff0
push 0
push 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x41f26b
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], 0
pop esi
pop ecx
ret
Function at 0x420cc0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a1708
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
push 1
mov ecx, 0x4c6f80
call fcn.004043b0
push 0x41
mov ecx, 0x4c6f80
call fcn.00403450
mov eax, dword [edi + 0x5c8]
cmp eax, 3
ja case.default.0x420cfe
jmp dword [eax*4 + 0x420e54]
lea ecx, [edi + 0x64]
call fcn.004310e0
test eax, eax
je case.default.0x420cfe
push 0
push 0
push 0x17
mov ecx, 0x4c6f80
call fcn.00403360
jmp case.default.0x420cfe
push 0
push 0
push 0xa
mov ecx, 0x4c6f80
call fcn.00403360
jmp case.default.0x420cfe
push 0
push 0
push 0x13
mov ecx, 0x4c6f80
call fcn.00403360
jmp case.default.0x420cfe
push 0xd
lea ecx, [edi + 0x3b8]
call fcn.0041dcd0
mov ecx, edi
call fcn.00422170
test eax, eax
je 0x420e39
push esi
mov ecx, 0x4c6f80
call fcn.00401390
mov ecx, eax
call fcn.00434320
add eax, 4
lea ecx, [esp + 8]
push eax
call fcn.00408090
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 8]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4c7164
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4c7198]
lea edx, [esp + 0x10]
push 0x4c7164
mov dword [esp + 0x1c], ecx
mov dword [0x4c7198], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4c7138]
push 0
push 0x4073d0
push esi
push 0x83
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 2
pop esi
je 0x420e1b
push 0xe
lea ecx, [edi + 0x3b8]
call fcn.0041dcd0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004081c0
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xf
lea ecx, [edi + 0x3b8]
call fcn.0041dcd0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004081c0
push 2
mov ecx, edi
call fcn.00420e70
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4213a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4213d0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Path
mov edi, 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x204
call esi
test eax, eax
jne 0x421485
lea eax, [esp + 0x10]
push str.safemon360Tray.exe
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call fcn.004071b0
test eax, eax
je 0x421485
push edi
push 0
lea eax, [esp + 0x18]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x218]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x204
call esi
test eax, eax
jne 0x421507
lea ecx, [esp + 0x218]
push str.360sd.exe
lea edx, [esp + 0x21c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0
lea eax, [esp + 0x220]
push 0
push eax
call fcn.004071b0
test eax, eax
je 0x421507
push edi
push 0
lea ecx, [esp + 0x220]
push str._autorun
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x418
ret
Function at 0x421510
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4b7080]
push esi
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
mov dword [esp + 4], eax
lea eax, [esp + 8]
mov ecx, 0x4c6f80
push eax
mov byte [esp + 0x18], 1
call fcn.004045a0
lea ecx, [esp + 4]
mov esi, eax
push ecx
mov ecx, 0x4c6f80
call fcn.00404400
test eax, eax
je 0x421588
mov eax, dword [esp + 4]
push 0
push 0
push 0
push eax
mov esi, eax
call fcn.004071b0
test eax, eax
je 0x4215b9
push 0
push 0
push str.__make_default_browser
jmp 0x4215ab
test esi, esi
je 0x4215b9
mov eax, dword [esp + 8]
push 0
push 0
push 0
push eax
mov esi, eax
call fcn.004071b0
test eax, eax
je 0x4215b9
push 0
push 0
push str.360se.exe__tp:2__v:1
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 4]
mov ecx, dword [0x4b7084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4215ea
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4215ea
mov eax, dword [esp + 4]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x421615
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x421615
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4218b0
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a176b
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x5d4]
test eax, eax
je 0x4218de
xor ebx, ebx
jmp 0x4218e5
mov ebx, dword [esp + 0x3c8]
mov eax, dword [0x4c7138]
push 0xca
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, eax
mov ecx, 0xe9
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3d0]
mov ecx, dword [esi + 4]
neg eax
sbb eax, eax
mov dword [esp + 0x10], 0x3a8
and eax, 0xc
mov dword [esp + 0x18], 0x81
add eax, 7
mov dword [esp + 0x3b4], 0
test ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0x7e9
mov dword [esp + 0x330], 0x1388
je 0x421ac8
mov esi, dword [esp + 0x3cc]
test esi, esi
je 0x421ad5
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x100
lea edx, [esp + 0x138]
push esi
push edx
call ebp
push 0x80
lea eax, [esp + 0x3c]
push esi
push eax
call ebp
mov ecx, dword [0x4b7080]
add esp, 0x18
mov dword [esp + 0x10], ecx
mov ecx, 0x4c6f80
mov dword [esp + 0x3c4], 0
call fcn.00401390
mov ecx, eax
call fcn.00434320
mov edi, eax
mov eax, dword [esp + 0x10]
add edi, 4
mov esi, dword [edi]
cmp eax, esi
je 0x421a6b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x4b7084]
jge 0x4219e1
lea ebx, [eax - 0xc]
cmp ebx, edx
jne 0x4219e8
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x421a2b
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00410320
test eax, eax
je 0x421a67
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x421a18
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x421a67
add eax, 0xfffffff4
cmp eax, edx
je 0x421a57
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421a4d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
push 0x40
lea edx, [esp + 0x33c]
push eax
push edx
call ebp
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
call esi
test eax, eax
pop ebp
jne 0x421a97
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4b7084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x421ad5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421ad5
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
jmp 0x421ad5
lea ecx, [esp + 0x10]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b8
ret 0xc
Function at 0x4222b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x5cc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x4c6f80
mov dword [esi + 0x5ec], eax
call fcn.00436420
mov ecx, eax
call fcn.0041c120
test eax, eax
jne 0x4222f4
push 1
push eax
push eax
mov ecx, esi
call fcn.004218b0
push 2
mov ecx, esi
call fcn.00420e70
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x4c6f80
call fcn.00401390
mov ecx, eax
call fcn.00434320
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
push 1
mov ecx, esi
call fcn.004218b0
mov ecx, esi
call fcn.00421fe0
pop esi
ret
Function at 0x4228d0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
mov esi, ecx
push 0
push 0
push 0xffffd8f0
mov eax, dword [esi + 4]
push 0xffffd8f0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x423550
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a17fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov ecx, dword [0x4b7080]
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x4b7080]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x28], 0x3a98
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov edx, dword [esi + 0x28]
mov ecx, esi
push edx
push 0x64
mov byte [esp + 0x18], 2
mov dword [esi], vtable.CProgressDialog.0
call fcn.00423b70
mov ecx, dword [esp + 8]
mov eax, esi
fstp dword [esi + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4