joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b400
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.0051d1f0
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0046a7d0
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 0x46b4e4
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x46b455
mov ecx, esi
call fcn.0046a7d0
push eax
call fcn.004775a0
add esp, 4
test eax, eax
je 0x46b496
jmp 0x46b491
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 0x56d150
push 0x56d150
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x46b496
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x46b4e4
cmp word [0x56d804], 0
jne 0x46b4c8
mov eax, dword [0x58d1a0]
push 0x104
push 0x56d804
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x56d804
push 0x78
call fcn.0049b640
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4

Function at 0x46b5d0
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 SysReAllocStringLen
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x46b616
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46b6af
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x56d150
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 0x46b6af
cmp word [esp + 0x10], 0x22
jne 0x46b65f
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x46b674
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x46b68c
mov word [eax], 0
push 5
lea eax, [edi + 0x4704]
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 0x46b6b8
push 2
mov ecx, edi
call fcn.0046b6d0
pop edi
pop esi
add esp, 0x210
ret
Function at 0x46d780
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x46d7e0
mov ecx, dword [edi + 0xb32c]
test ecx, ecx
jne 0x46d799
xor eax, eax
jmp 0x46d7a4
mov eax, dword [edi + 0xb330]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x46d7e0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xb32c]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x46d7d2
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x46d7db
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x46d7b7
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x46de00
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push 0x56d1ec
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x46de6b
push 0x56d1ec
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.004786a0
push 1
push 2
push 9
call fcn.00478670
push 1
push 2
push 0xf
call fcn.00478670
push 0
push 2
push 5
call fcn.00478670
push 1
push 2
push 0xa
call fcn.00478670
push 0
call fcn.004786a0
mov dword [0x59e7bc], 1
call fcn.004508f0
add esp, 0x248
ret

Function at 0x46e360
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x46e38a
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46e38a
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x46e390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x46e450
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x57ba8c]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x46e469
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46e558
cmp word [esi], 0
je 0x46e558
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e558
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call fcn.0046e560
mov edi, eax
test edi, edi
jne 0x46e4bc
pop edi
pop esi
pop ecx
ret 4
mov edx, dword [esp + 8]
inc edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x46e4e9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46e4e1
push eax
call fcn.0051d19a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00481720
add esp, 8
test eax, eax
jle 0x46e533
push 1
push 8
push str.SWITCH_
push eax
push esi
push esi
call fcn.0041dc20
push esi
push 0x57ba8c
call fcn.00495840
add esp, 0x20
push esi
call fcn.0051d19a
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x46e54d
push eax
call fcn.0051d19a
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x46e560
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
je 0x46e641
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x46e641
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46e641
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esi], eax
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp], edi
jne 0x46e5d2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esi]
xor eax, eax
inc ecx
push 0
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46e623
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x46e623
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebp]
test eax, eax
je 0x46e63a
push eax
call fcn.0051d19a
add esp, 4
mov dword [ebp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x46fd50
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x46fd6f
call fcn.0046f9b0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x46fe52
cmp byte [esi], 0
je 0x46fe52
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x46fe52
mov al, byte [esp + 0x4c]
test al, al
je 0x46fe52
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x46fdf1
xor edi, edi
jmp 0x46fdf9
mov edi, dword [ebx + 0x18]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x46fe41
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x46fe23
add eax, 8
test eax, eax
je 0x46fe23
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x46fe39
inc esi
cmp esi, edi
jl 0x46fe06
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4

Function at 0x470360
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x47037f
call fcn.0046ffd0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x470462
cmp byte [esi], 0
je 0x470462
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x470462
mov al, byte [esp + 0x4c]
test al, al
je 0x470462
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x470401
xor edi, edi
jmp 0x470409
mov edi, dword [ebx + 0x14]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x470451
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x470433
add eax, 8
test eax, eax
je 0x470433
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x470449
inc esi
cmp esi, edi
jl 0x470416
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4
Function at 0x4733d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51faa0
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.00472b70
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x47341a
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 0x473591
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00477050
cmp eax, ebx
jge 0x473467
cmp eax, 0x80004002
je 0x473467
push eax
call fcn.0051d0c7
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x473554
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 0x473541
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.00462400
cmp eax, ebx
jge 0x4734c0
cmp eax, 0x80004002
je 0x4734c0
push eax
call fcn.0051d0c7
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.00473140
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.00472f80
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.004733d0
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x47353d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x473550
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x47357e
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x47356f
push 0x80004003
call fcn.0051d0c7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x52c370
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x47358d
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 0x4735a6
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 0x477340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x587470]
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 0x47736c
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4773ad
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 0x4773c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x587470]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x4773ef
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x47745d
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 0x478380
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525cf8
push 0x51d25e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.0051d1f0
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 0x478428
push str.file:__
push 0x5394a4
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 0x478463
push str.res:__
push 0x5394a4
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 0x47853e
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 str.http:___s
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 0x47853e
lea ecx, [ebp - 0x109c]
push ecx
push 0x5394a4
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
test ebx, ebx
je 0x478507
cmp word [ebx], 0
je 0x478507
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
Function at 0x478b80
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov edi, 1
push 0
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x478c79
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x478c79
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x478c6c
mov eax, dword [esi + 8]
test eax, eax
je 0x478c6c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478c6c
mov eax, dword [0x57bab0]
test eax, eax
jne 0x478c4a
push 0x5570a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x478c2e
push 0x5570a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x478c41
push str.IsUrlCacheEntryExpiredW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57bab0], eax
jmp 0x478c46
mov eax, dword [0x57bab0]
test eax, eax
je 0x478c6c
lea ecx, [esi + 0x28]
push ecx
push 0
push ebp
call eax
test eax, eax
jne 0x478c6c
push esi
xor edi, edi
call fcn.0051d19a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x14]
push esi
call fcn.0051d19a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x479270
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
push ebx
mov ebx, ecx
push esi
push 0x43e
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
lea ecx, [esp + 8]
mov esi, eax
push ecx
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x14], 0
call fcn.0040e730
mov eax, dword [esp + 0x14]
add esp, 0xc
xor edx, edx
cmp esi, 1
setne dl
mov esi, edx
cmp esi, eax
je 0x479357
push edi
push esi
push str.NotJoinPrivate
push str.option
call fcn.0040e8b0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x14]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push str.360se360se.ini
lea edx, [esp + 0x21c]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test esi, esi
pop edi
mov eax, 0x539ecc
jne 0x47933e
mov eax, 0x539ee4
lea ecx, [esp + 0x214]
push ecx
push eax
push str.NotJoinPrivate
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
pop ebx
add esp, 0x414
ret
Function at 0x479370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51ff33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050ae80
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push 0x5be9e0
mov byte [esp + 0x1c], 1
mov dword [esi], 0x525d08
mov dword [esi + 0x44], edi
mov dword [esi + 0x24], edi
mov word [esi + 0x28], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
call fcn.004e16c0
add esp, 4
test eax, eax
jl 0x4793ea
mov eax, dword [0x5be9e0]
mov dword [0x5be9e0], 1
cmp eax, edi
jne 0x4793f0
mov dword [0x5be9e0], edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x47a8b7
Capabilities:
Hide graphical window

Disassembly:
cmp word [esp + 4], 0x1974
push esi
mov esi, ecx
jne 0x47a955
mov eax, dword [esp + 0xc]
sub eax, 0x201
je 0x47a8dd
sub eax, 4
jne 0x47a955
call fcn.0047a960
pop esi
ret 8
call fcn.00447080
mov eax, dword [eax + 0x290]
cmp eax, 1
mov dword [esp + 0xc], eax
jbe 0x47a8fc
mov ecx, esi
call fcn.0047a960
pop esi
ret 8
jne 0x47a955
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00447080
mov ecx, eax
call fcn.004487b0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47a948
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.0047a870
add esp, 4
pop esi
ret 8