joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4111b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2668
call fcn.004a7630
push ebx
push ebp
push esi
push edi
call fcn.00411020
mov esi, eax
xor ebp, ebp
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x67a]
mov word [esp + 0x678], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x678]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0x1000
push eax
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x14], edi
jne 0x411297
cmp word [esp + 0x678], bp
je 0x411297
cmp dword [esp + 0x10], ebp
jbe 0x411297
lea eax, [esp + 0x678]
lea ebx, [esi + 0x24]
test eax, eax
jne 0x411252
xor edi, edi
jmp 0x411262
lea ecx, [esp + 0x678]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00405d70
test eax, eax
je 0x411297
mov ecx, dword [ebx]
lea ebp, [edi + edi]
lea edx, [esp + 0x678]
push ebp
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00404530
mov edx, dword [ebx]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [ebx]
mov word [eax + ebp], 0
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x24]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x428]
lea edx, [esp + 0x18]
push ecx
push edx
call ebp
cmp eax, 0xffffffff
je 0x411321
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
cmp edi, eax
je 0x411311
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x411307
push eax
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ecx
call ebx
lea edx, [esp + 0x428]
lea eax, [esp + 0x18]
push edx
push eax
call ebp
cmp eax, 0xffffffff
je 0x411321
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 0x40]
add edi, 4
cmp edi, eax
jne 0x4112d7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2668
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2668
ret
Function at 0x411830
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
jne 0x41183e
or eax, 0xffffffff
pop esi
ret
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41185c
or eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4118d0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4118de
pop esi
pop ecx
ret
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 4], 0x103
jne 0x41190f
mov edx, dword [esi + 0x20]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esi + 0x1c], 3
mov eax, 1
pop esi
pop ecx
ret
Function at 0x411e90
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x411edf
cmp dword [esp + 0x10], 0x104
jl 0x411edf
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x411edf
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x415a90
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00415bd0
mov edi, dword [esp + 0xc]
push 0
push 1
push edi
call fcn.004162a0
test eax, eax
jne 0x415ac0
push 1
call fcn.0043aee0
push eax
push edi
call fcn.0043b170
add esp, 0xc
xor eax, eax
jmp 0x415ac7
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x415ad5
pop edi
xor al, al
pop esi
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpCreateDownloadObj
push eax
mov byte [esi + 0x68], 0
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x60]
push str.HttpDeleteDownloadObj
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpInitDownPara
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpDownload
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x60]
push str.HttpCancel
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpWait
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpResetAll
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x60]
push str.HttpGetState
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetConnectState
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetContentLength
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x60]
push str.HttpGetReceivedLength
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetLastError
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpDownloadExW
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x60]
push str.HttpGetResumedLength
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetCurrentSpeed
push ecx
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetLastErrorW
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x34], eax
pop edi
mov al, 1
pop esi
ret 4
Function at 0x415c30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x14], esi
je 0x415db4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415db4
call dword [esi + 8]
mov dword [esi + 0x64], eax
mov ecx, 0x4e
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004a7630
mov eax, dword [ebp + 8]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14c], edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004a7630
mov edx, dword [ebp + 0xc]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x138], eax
push eax
lea eax, [ebp - 0x150]
push eax
push ecx
mov dword [ebp - 0x150], edi
call dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
mov byte [ebp + 0xc], 0
call edi
mov ebx, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x68], 1
je 0x415d6c
cmp dword [ebp + 0x10], 0xffffffff
je 0x415d51
call edi
mov ecx, dword [ebp + 0x10]
sub eax, ebx
cmp eax, ecx
ja 0x415d6c
mov ecx, dword [esi + 0x64]
lea edx, [ebp + 8]
lea eax, [ebp - 0x18]
push edx
push eax
push ecx
call dword [esi + 0x24]
add esp, 0xc
cmp eax, 4
jne 0x415d32
mov byte [ebp + 0xc], 1
mov al, byte [ebp + 0xc]
mov dword [ebp - 4], 0
test al, al
jne 0x415d84
mov edx, dword [esi + 0x64]
push edx
call dword [esi + 0x18]
add esp, 4
mov eax, dword [esi + 0x64]
push eax
call dword [esi + 0x1c]
mov ecx, dword [esi + 0x64]
add esp, 4
push ecx
call dword [esi + 0xc]
add esp, 4
jmp 0x415da3
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x64], 0
and eax, 0xff
jmp 0x415db6
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x15c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4160d0
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0bb0
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.00415dd0
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 0x41617f
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.004a78b0
mov dword [esi + 0x58], eax
cmp dword [esi + 0x6c], 1
jne 0x41618a
mov dword [edi + 0x40], ebx
jmp 0x416190
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 0x4161ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub eax, edx
cmp eax, ecx
jbe 0x4161ef
cmp dword [esi + 0x6c], 6
jne 0x4161ef
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 0x41620a
mov esi, dword [esi + 0x6c]
cmp esi, 5
jl 0x41620a
cmp esi, 8
jle 0x416207
cmp esi, 9
jne 0x41620a
mov byte [edi + 0x45], 4
jmp 0x41620a
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 0x4162a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0bd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
mov dword [ebp - 0x18], eax
push ebx
push ebx
push 3
push ebx
push 3
push 0x80
push str..360SelfProtection
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x416334
lea eax, [ebp - 0x1c]
push ebx
push eax
lea ecx, [ebp - 0x14]
push 4
push ecx
lea edx, [ebp - 0x18]
push 4
push edx
push 0x22204c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x416334
cmp dword [ebp - 0x14], ebx
je 0x416334
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, ebx
je 0x416361
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416361
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], ebx
je 0x41638b
push edi
call fcn.0043b290
add esp, 4
test eax, eax
jne 0x41638b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0043c230
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0043cab0
cmp eax, ebx
je 0x4163c9
lea eax, [ebp - 0x48]
lea ecx, [ebp + 8]
push eax
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.0043c270
cmp eax, ebx
jne 0x4163e9
lea edx, [ebp + 0xc]
push edx
call fcn.0043bbf0
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0043c260
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, 3
je 0x4163f6
cmp eax, 2
jne 0x4163fb
mov esi, 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0043c260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416be0
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 0x416d44
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x416c37
cmp bx, 0x7e
jne 0x416c1d
call fcn.004178f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x416c66
mov ecx, esi
call fcn.00417970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x416c66
push edi
mov ecx, esi
call fcn.00416b90
push ebp
mov ecx, esi
call fcn.00416d70
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.00416b80
test eax, eax
je 0x416c66
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x416ce7
test eax, eax
je 0x416c7d
lea esi, [eax - 0x9c]
jmp 0x416c7f
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x416cb4
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x416ca5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x416cb9
test ebx, ebx
jne 0x416cb4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x416cb9
cmp ebx, 1
je 0x416d07
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.00417cf0
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 0x416d1d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x416d07
cmp dword [eax + 0x18], ecx
je 0x416d07
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.00438fd0
test eax, eax
je 0x416d44
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 0x417a00
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
call fcn.00407a50
test eax, eax
jne 0x417a1b
call fcn.00407a80
test eax, eax
je 0x417a71
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 0x41b880
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 0x41ba27
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41b8bb
push 1
call fcn.0041b830
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.0041ba30
mov dword [ebp], eax
jmp 0x41b930
cmp ebx, 2
jne 0x41b8d2
push 1
mov ecx, esi
call fcn.0041b830
mov ecx, esi
call fcn.0041c5e0
jmp 0x41b929
cmp ebx, 0x111
jne 0x41b8f3
cmp di, 0x6c
jne 0x41b947
mov ecx, esi
call fcn.0041ba80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x41b90e
push 1
mov ecx, esi
call fcn.0041b830
push edi
mov ecx, esi
call fcn.0041bf70
jmp 0x41b929
cmp ebx, 0x18
jne 0x41b947
push 1
mov ecx, esi
call fcn.0041b830
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.0041cde0
mov dword [ebp], 0
mov ecx, esi
call fcn.0041b820
test eax, eax
je 0x41b947
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0xa0]
jne 0x41b9c9
test eax, eax
je 0x41b95e
lea esi, [eax - 0xa0]
jmp 0x41b960
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41b995
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41b986
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41b99a
test edi, edi
jne 0x41b995
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41b99a
cmp edi, 1
je 0x41b9ed
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.0041d690
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41ba00
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41b9ed
cmp dword [eax + 0x18], ecx
je 0x41b9ed
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.00438fd0
test eax, eax
je 0x41ba27
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 0x41e390
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 0x41e3b7
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 0x41e44d
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 0x41e460
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 0x197
je 0x41e418
cmp eax, 0x191
jne 0x41e460
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x41e460
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 0x41e3db
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 0x41e480
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 0x41e250
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 0x41e4cb
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 0x420040
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b11b8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
push 1
mov ecx, 0x4d7450
call fcn.00404350
push 0x41
mov ecx, 0x4d7450
call fcn.004033e0
mov eax, dword [edi + 0x5bc]
cmp eax, 3
ja case.default.0x42007e
jmp dword [eax*4 + 0x4201d4]
lea ecx, [edi + 0x64]
call fcn.00432a50
test eax, eax
je case.default.0x42007e
push 0
push 0
push 0x17
mov ecx, 0x4d7450
call fcn.004032f0
jmp case.default.0x42007e
push 0
push 0
push 0xa
mov ecx, 0x4d7450
call fcn.004032f0
jmp case.default.0x42007e
push 0
push 0
push 0x13
mov ecx, 0x4d7450
call fcn.004032f0
jmp case.default.0x42007e
push 0xd
lea ecx, [edi + 0x3ac]
call fcn.0041cf10
mov ecx, edi
call fcn.00421420
test eax, eax
je 0x4201b9
push esi
mov ecx, 0x4d7450
call fcn.00401320
mov ecx, eax
call fcn.00436dc0
add eax, 4
lea ecx, [esp + 8]
push eax
call fcn.00406eb0
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 0x4d7504
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4d7538]
lea edx, [esp + 0x10]
push 0x4d7504
mov dword [esp + 0x1c], ecx
mov dword [0x4d7538], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4d74d8]
push 0
push 0x4060a0
push esi
push 0x83
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 2
pop esi
je 0x42019b
push 0xe
lea ecx, [edi + 0x3ac]
call fcn.0041cf10
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00406ff0
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xf
lea ecx, [edi + 0x3ac]
call fcn.0041cf10
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00406ff0
push 2
mov ecx, edi
call fcn.004201f0
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x420790
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4207c0
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 0x420873
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
lea edx, [esp + 0x14]
push 0
push edx
call fcn.004162a0
test eax, eax
je 0x420873
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 0x4208f3
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
lea eax, [esp + 0x21c]
push 0
push eax
call fcn.004162a0
test eax, eax
je 0x4208f3
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