joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e860
Capabilities:
Check if file exists
Enumerate browser history

Disassembly:
sub esp, 0x70
push ebp
mov ebp, ecx
push 0
push str.history.dat
mov ecx, 0x4e6b38
call fcn.00407e90
test eax, eax
je 0x43e88a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ea3e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x4c1580
push 3
push 0
push 0x4c1520
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43ea36
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43ea36
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x43ea2c
mov edx, dword [esp + 4]
test edx, edx
je 0x43ea2c
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x58], 0x28
mov eax, dword [edx]
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x43ea20
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x43ea20
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x43ea02
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43ea02
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x43e9ea
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x43e9ea
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x43e987
xor eax, eax
jmp 0x43e9ea
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x30]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
call esi
add esp, 4
mov ecx, dword [esp + 0x5c]
push 1
push eax
mov eax, dword [esp + 0x60]
push 0
push eax
push ecx
push 0
mov ecx, ebp
call fcn.0043c460
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x43e92a
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 0x68]
call fcn.0043b930
pop ebp
add esp, 0x70
ret
Function at 0x444420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c04a8
push 0x4b7ad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
call fcn.004b6c1f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004b6fe3
mov word [ebp - 0x228], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SafeCentralSafeCentral.dll
push str.Extensions
push 0x4e6d94
push 0x4ce9f4
push 0x103
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5b9b04], eax
cmp eax, ebx
je 0x444558
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5b9b18], eax
cmp eax, ebx
je 0x4444e7
push 0x442560
push 0x5b9aa8
call fcn.004b7052
push str.SafeCentralLoadLibraryW
mov edx, dword [0x5b9b04]
push edx
call esi
mov dword [0x5b9b1c], eax
cmp eax, ebx
je 0x44450d
push 0x4425a0
push 0x5b9aa4
call fcn.004b7052
push str.SafeCentralLoadLibraryExA
mov eax, dword [0x5b9b04]
push eax
call esi
mov dword [0x5b9b20], eax
cmp eax, ebx
je 0x444532
push 0x4425e0
push 0x5b9aa0
call fcn.004b7052
push str.SafeCentralLoadLibraryExW
mov ecx, dword [0x5b9b04]
push ecx
call esi
mov dword [0x5b9b24], eax
cmp eax, ebx
je 0x444558
push 0x442630
push 0x5b9a9c
call fcn.004b7052
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x1c], 1
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str.ExceptionEnable
push str.Software360se
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x1c], ebx
jne 0x4445b5
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4443b0
push 0x5b9ab8
call fcn.004b7052
mov dword [ebp - 4], ebx
call fcn.004445ce
jmp 0x4445df
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444600
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov edx, dword [ebx]
push ecx
lea esi, [eax*4]
push 0x40
add edx, esi
push 4
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 4
add edx, esi
push ecx
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x444697
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x444697
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 4
mov dword [ecx], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add ecx, esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x444697
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x447130
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x447194
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.004471a0
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x447194
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x447d90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x447dfc
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x447dc7
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0x8c]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x4aa4]
cmp eax, 0xffffffff
jne 0x447dd7
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x447de4
add eax, 5
jmp 0x447de7
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x8c]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x44aaa0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x44ab38
mov eax, dword [esi + 0x54]
mov dword [esi + 0x82c4], 0
test eax, eax
je 0x44aae4
mov eax, dword [esi]
call dword [eax + 0x48]
test eax, eax
je 0x44aadf
push 0
push 0
mov ecx, esi
call fcn.0040bae0
push 0
push 0xf
mov ecx, esi
call fcn.0040b890
mov eax, dword [esi + 0x54]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x44ab05
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 6
mov ecx, esi
call fcn.0040b890
mov eax, dword [esi]
push 2
mov ecx, esi
mov dword [esi + 0x4c], 1
call dword [eax + 0x60]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x44ab38
mov eax, dword [0x5bc474]
test eax, eax
jne 0x44ab38
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x44bc40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x44bc9f
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x44bcb9.21
xor ecx, ecx
mov cl, byte [eax + 0x44bd34]
jmp dword [ecx*4 + 0x44bd28]
mov dx, word [edi + 8]
mov ecx, esi
push edx
push 0xc
call fcn.0040b890
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
mov ecx, esi
push eax
push 0xc
call fcn.0040b890
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x44bcb9.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x44bcb9.21
xor ecx, ecx
mov cl, byte [eax + 0x44bdb8]
jmp dword [ecx*4 + 0x44bda8]
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x44bcb9.21
mov ax, word [edi + 8]
mov ecx, esi
push eax
push 0xc
call fcn.0040b890
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x54]
test eax, eax
je 0x44bcfc
push 0
push 1
mov ecx, esi
call fcn.0040bae0
mov cx, word [edi + 8]
push ecx
push 0xc
mov ecx, esi
call fcn.0040b890
mov eax, dword [esi + 0x54]
test eax, eax
je 0x44bd1c
push 1
push 0x2c
mov ecx, esi
call fcn.0040b890
xor ebx, ebx
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x44c790
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.004b7a60
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0044be30
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x44c852
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x44c7e5
mov ecx, esi
call fcn.0044be30
push eax
call fcn.004537f0
add esp, 4
test eax, eax
je 0x44c826
jmp 0x44c821
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x4e6b30
push 0x4e6b30
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x44c826
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x44c852
push 0x40
push 0x4e71a4
push 0x78
call fcn.0046a9d0
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x44c940
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
mov edi, ecx
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x44c986
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocStringLen
call esi
test eax, eax
jne 0x44ca1f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x4e6b30
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x44ca1f
cmp word [esp + 0x10], 0x22
jne 0x44c9cf
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x44c9e4
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x44c9fc
mov word [eax], 0
push 5
lea eax, [edi + 0x2a48]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x44ca28
push 2
mov ecx, edi
call fcn.0044ca40
pop edi
pop esi
add esp, 0x210
ret
Function at 0x44fe90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbfb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.0044f630
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x44feda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x450051
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00453130
cmp eax, ebx
jge 0x44ff27
cmp eax, 0x80004002
je 0x44ff27
push eax
call fcn.004b7962
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x450014
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x450001
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.00445160
cmp eax, ebx
jge 0x44ff80
cmp eax, 0x80004002
je 0x44ff80
push eax
call fcn.004b7962
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.0044fc00
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.0044fa40
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.0044fe90
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x44fffd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x450010
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x45003e
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x45002f
push 0x80004003
call fcn.004b7962
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x4c1810
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x45004d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x450066
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4535a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5bc478]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x4535cc
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45360d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x453620
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5bc478]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x45364f
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4536bd
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push str.AutoDetect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x4541b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
mov dword [esp + 8], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4541cc
pop ecx
ret
mov al, byte [esp]
test al, 0x20
je 0x4541d8
xor eax, eax
pop ecx
ret
test al, 7
jne 0x4541e0
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x454640
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0720
push 0x4b7ad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.004b7a60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [eax + eax]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push str.file:__
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
call edi
cmp eax, esi
jne 0x4546e8
push str.file:__
push 0x4ce4dc
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.res:__
push esi
call edi
cmp eax, esi
jne 0x454723
push str.res:__
push 0x4ce4dc
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x54]
push edx
push 0x10000000
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4547fe
mov word [ebp - 0x109c], di
mov ecx, 0x411
lea edi, [ebp - 0x109a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push 0x4cee08
push 0x823
lea eax, [ebp - 0x109c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
lea edx, [ebp - 0x109c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4547fe
lea ecx, [ebp - 0x109c]
push ecx
push 0x4ce4dc
mov edx, dword [ebp + 0x10]
dec edx
push edx
push ebx
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455630
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
push 0
lea eax, [esp + 8]
push 0
push eax
push 0xcf0000
push 0x4e6b30
push str.360se_Major
mov esi, ecx
push 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x1e
call fcn.004b6090
mov eax, dword [esi + 4]
test eax, eax
je 0x45569c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45569c
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov dword [0x5bc8c0], edx
mov eax, dword [esi + 4]
pop esi
add esp, 0x10
ret

Function at 0x456977
Capabilities:
Hide graphical window

Disassembly:
cmp word [esp + 4], 0x1974
push esi
mov esi, ecx
jne 0x456a15
mov eax, dword [esp + 0xc]
sub eax, 0x201
je 0x45699d
sub eax, 4
jne 0x456a15
call fcn.00456a20
pop esi
ret 8
call fcn.004302b0
mov eax, dword [eax + 0x98c]
cmp eax, 1
mov dword [esp + 0xc], eax
jbe 0x4569bc
mov ecx, esi
call fcn.00456a20
pop esi
ret 8
jne 0x456a15
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004302b0
mov ecx, eax
call fcn.00431830
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x456a08
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [esp + 8]
push 6
push ecx
call esi
mov edx, dword [esp + 8]
push 0
push edx
call esi
pop esi
ret 8
mov eax, dword [esp + 8]
push eax
call fcn.00456930
add esp, 4
pop esi
ret 8
Function at 0x456df0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa28
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], bx
mov word [esp + 0x828], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x82a]
mov word [esp + 0x620], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x622]
mov word [esp + 0x418], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41a]
lea edx, [esp + 0x620]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4ce81c]
push edx
stosw word es:[edi], ax
mov eax, dword [0x4ce818]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
push ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x18]
push ebx
push 0x10
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x456ea7
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
mov ecx, dword [0x5c01a4]
lea eax, [esp + 0x210]
push 0x103
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x456ed3
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
lea edx, [esp + 0x210]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edx
push 0x4ce4dc
lea eax, [esp + 0x424]
push 0x103
push eax
call esi
push 0x88
call fcn.0046a9d0
add esp, 0x14
lea ecx, [esp + 0x624]
lea edx, [esp + 0x82c]
push eax
push ecx
push 0x4cf56c
push 0x103
push edx
call esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x430]
push eax
lea edx, [esp + 0x844]
push ecx
push edx
call fcn.00438810
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x456f5e
push ebx
push 0x4e71a4
push 0x89
call fcn.0046a9d0
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0xa28
ret