joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a1b
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x435a68], esi
jne 0x402a80
push edi
mov edi, 0x435aac
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x435a68], esi
jne 0x402a78
push esi
push esi
push esi
push 0x402a82
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x435a68], eax
mov dword [0x435a74], 1
push dword [0x435a70]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x402a78
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x402a5a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret

Function at 0x4033af
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x12ac]
mov eax, 0x12ac
call fcn.0041dbf0
push 0xffffffffffffffff
push 0x42314b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x12a8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x433a58]
mov dword [ebp - 0x10], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp + 0x1020], ax
lea eax, [ebp + 0x1022]
push edi
push eax
call fcn.00412eb0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1020]
push eax
push dword [0x433f44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x1020]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360Game_chs.exe
lea eax, [ebp + 0x1020]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1020]
push eax
lea esi, [ebp]
call fcn.00401ba5
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40346b
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4034e1
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x403482
lea eax, [ebp + 4]
push eax
call fcn.00408f5e
pop ecx
test eax, eax
je 0x4034e1
xor eax, eax
push 0x7e
mov word [ebp + 0x1228], ax
lea eax, [ebp + 0x122a]
push edi
push eax
call fcn.00412eb0
push 0x3f
lea ebx, [ebp + 0x1228]
lea esi, [ebp + 0x1020]
call fcn.0040940f
mov eax, ebx
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4034c0
sub eax, edx
push 0x32
sar eax, 1
pop ecx
mov word [ebp + eax*2 + 0x1220], cx
lea eax, [ebp + 0x1228]
jmp 0x4034e6
call fcn.00403c78
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401f61
call fcn.00403cf0
mov esi, eax
xor eax, eax
push 0x1000
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push edi
push eax
call fcn.00412eb0
push esi
push dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push str.http:__res.qhupdate.com_360game_updatecheck.php_ver_spidseonlinem_ssseonline
push 0xffffffffffffffff
push 0x801
push eax
call fcn.00411746
lea eax, [ebp + 0x1c]
push eax
call fcn.00403d90
add esp, 0x28
push edi
push 1
lea esi, [ebp]
call fcn.004012c3
lea esi, [ebp - 0x10]
call fcn.00402212
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x12a8]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x12ac
leave
ret
Function at 0x4037d3
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4038ad
cmp dword [ebp + 0xc], esi
jle 0x4038ad
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.0__Trident_4.0__.NET_CLR_2.0.50727__Media_Center_PC_5.0__.NET_CLR_3.0.04506__.NET_CLR_3.5.21022_
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4038a4
push edi
push esi
push esi
push 3
push esi
push esi
push 0x50
push str.pq.f.360.cn
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x40389e
push ebx
push esi
push 0x4000000
lea ecx, [ebp - 0x18]
push ecx
push esi
push str.HTTP_1.0
push str._midinfo.php
push str.POST
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x42aa58
mov dword [ebp - 0x10], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
cmp ebx, esi
je 0x403898
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x403895
or dword [ebp - 4], 0xffffffff
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
push ebx
mov dword [ebp + 0xc], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
call edi
push dword [ebp - 8]
call edi
pop ebx
push dword [ebp - 0xc]
call edi
pop edi
push dword [ebp + 8]
call fcn.00411a75
pop ecx
xor eax, eax
pop esi
leave
ret 8
Function at 0x4038b4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041dbf0
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x1008], eax
cmp dword [0x435b08], esi
jne 0x4038ec
call fcn.00403cf0
mov dword [0x435b08], eax
cmp dword [0x435b0c], esi
jne 0x4038fe
call fcn.00403c78
mov dword [0x435b0c], eax
xor eax, eax
push 0xffe
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push esi
push eax
call fcn.00412eb0
add esp, 0xc
cmp edi, esi
je 0x403925
cmp word [edi], si
jne 0x40392a
mov edi, 0x42a118
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push dword [0x435b0c]
push dword [ebp - 0x1008]
push 0x4298d8
push dword [0x435b08]
push str.http:__geapp.stat.360safe.com_ver.html_mid_sguid_spid_sver_suuid_dvalue_s_0_0_0_0_0_0_0_0_0strval_s
push 0xffffffffffffffff
push 0x800
push eax
call fcn.00411746
add esp, 0x2c
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.0__Trident_4.0__.NET_CLR_2.0.50727__Media_Center_PC_5.0__.NET_CLR_3.0.04506__.NET_CLR_3.5.21022_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x40399c
push esi
push 0x80000000
push esi
push esi
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x403999
push eax
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410ee0
leave
ret
Function at 0x4039aa
Capabilities:
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x1020]
mov eax, 0x1020
call fcn.0041dbf0
push 0xffffffffffffffff
push 0x423346
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x101c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x102c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1030]
xor esi, esi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x14], eax
cmp dword [0x435b10], esi
jne 0x403a10
call fcn.00403cf0
mov dword [0x435b10], eax
cmp dword [0x435b14], esi
jne 0x403a22
call fcn.00403c78
mov dword [0x435b14], eax
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov word [ebp + 4], ax
push 0xffe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.00412eb0
add esp, 0xc
mov eax, 0x42a118
cmp edi, esi
je 0x403a56
cmp word [edi], si
jne 0x403a58
mov edi, eax
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
push dword [ebp - 0x10]
push edi
push dword [ebp + 0x1028]
push dword [0x435b14]
push ebx
push 0x4298d8
push dword [0x435b10]
push str.http:__geapp.stat.360safe.com_ver.html_mid_sguid_spid_sver_suuid_dvalue_s__s__s__s_0_0_0_0_0_0strval
push 0x7ff
push eax
call fcn.00405980
add esp, 0x30
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.0__Trident_4.0__.NET_CLR_2.0.50727__Media_Center_PC_5.0__.NET_CLR_3.0.04506__.NET_CLR_3.5.21022_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x403ac6
push esi
push 0x80000000
push esi
push esi
lea eax, [ebp + 0x1c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, esi
je 0x403ac3
push eax
call ebx
push edi
call ebx
push esi
push 1
lea esi, [ebp]
call fcn.004012c3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x101c]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x1020
leave
ret
Function at 0x403af4
Capabilities:
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x1020]
mov eax, 0x1020
call fcn.0041dbf0
push 0xffffffffffffffff
push 0x423316
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x101c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x102c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1030]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1034]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov edi, edx
cmp dword [0x435b18], esi
jne 0x403b64
call fcn.00403cf0
mov dword [0x435b18], eax
cmp dword [0x435b1c], esi
jne 0x403b76
call fcn.00403c78
mov dword [0x435b1c], eax
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov word [ebp + 4], ax
push 0xffe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.00412eb0
add esp, 0xc
mov eax, 0x42a118
cmp edi, esi
je 0x403baa
cmp word [edi], si
jne 0x403bac
mov edi, eax
cmp ebx, esi
je 0x403bb5
cmp word [ebx], si
jne 0x403bb7
mov ebx, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x403bc5
mov edx, ecx
cmp word [ecx], si
jne 0x403bc7
mov edx, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x403bd3
cmp word [ecx], si
jne 0x403bd5
mov ecx, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
push ebx
push edx
push ecx
push dword [ebp + 0x1028]
lea eax, [ebp + 0x1c]
push dword [0x435b1c]
push dword [ebp - 0x10]
push 0x4298d8
push dword [0x435b18]
push str.http:__geapp.stat.360safe.com_ver.html_mid_sguid_spid_sver_suuid_dvalue_s__s__s__s__s__s__s__s__s__sstrval_s
push 0x7ff
push eax
call fcn.00405980
add esp, 0x4c
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.0__Trident_4.0__.NET_CLR_2.0.50727__Media_Center_PC_5.0__.NET_CLR_3.0.04506__.NET_CLR_3.5.21022_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
je 0x403c48
push esi
push 0x80000000
push esi
push esi
lea eax, [ebp + 0x1c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, esi
je 0x403c45
push eax
call ebx
push edi
call ebx
push esi
push 1
lea esi, [ebp]
call fcn.004012c3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x101c]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x1020
leave
ret 0x10
Function at 0x403cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x190], eax
cmp word [0x435d28], 0
push esi
mov esi, 0x435d28
jne 0x403d78
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4296a4
push str.SOFTWARE360SafeLiveup
push 0x80000002
mov dword [ebp - 0x80], 0x103
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
push 0x4296dc
push 0xffffffffffffffff
push 0x21
push esi
call fcn.00411746
add esp, 0x14
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00410ee0
add ebp, 0x194
leave
ret

Function at 0x40657a
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x419c]
mov eax, 0x421c
call fcn.0041dbf0
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x4198], eax
mov eax, dword [ebp + 0x41a4]
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00412eb0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x4065c8
mov eax, dword [edi]
jmp 0x4065ca
mov eax, edi
lea ecx, [ebp - 0x7c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x406679
cmp eax, 0x3fff
ja 0x406679
cmp dword [esi + 0x18], 8
jb 0x4065ef
mov edi, dword [edi]
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x406679
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x429688
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406679
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x3f90], ax
lea eax, [ebp + 0x3f92]
push eax
call fcn.00412eb0
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x42968c
lea eax, [ebp + 0x3f90]
push 0x103
push eax
call fcn.004119a2
add esp, 0x28
lea eax, [ebp + 0x3f90]
push eax
push dword [ebp - 0x74]
call fcn.0040129e
xor eax, eax
inc eax
jmp 0x40667b
xor eax, eax
mov ecx, dword [ebp + 0x4198]
xor ecx, ebp
pop edi
call fcn.00410ee0
add ebp, 0x419c
leave
ret
Function at 0x406916
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0xc
mov eax, 0x423214
call fcn.004135dd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.00412eb0
xor edi, edi
inc edi
add esp, 0xc
cmp dword [0x4340a4], edi
jle 0x4069b2
mov esi, 0x42ceb0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
push esi
push eax
call fcn.004126e4
pop ecx
pop ecx
test eax, eax
je 0x4069a9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + edi*4]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc edi
cmp edi, dword [0x4340a4]
jl 0x40697b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x433a58]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x10]
push str._from:_s
push eax
mov dword [ebp - 4], ebx
call fcn.00401f03
add esp, 0xc
lea ecx, [ebp]
call fcn.00401a4c
cmp dword [eax + 0x14], ebx
push ebx
push 1
lea esi, [ebp]
setne byte [ebp - 0x11]
call fcn.004012c3
cmp byte [ebp - 0x11], bl
je 0x406a36
lea ecx, [ebp]
call fcn.00401a4c
cmp dword [ebp + 0x14], ebx
je 0x406a26
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x406a13
lea eax, [ebp + 4]
push 1
push ebx
push dword [ebp - 0x10]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push 1
lea esi, [ebp]
call fcn.004012c3
jmp 0x406af4
call fcn.00401796
test al, al
je 0x406a5d
push dword [ebp - 0x10]
call fcn.00401871
push 0x1388
push dword [0x432d3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x406af4
xor eax, eax
push 0x206
mov word [ebp + 0x224], ax
lea eax, [ebp + 0x226]
push ebx
push eax
call fcn.00412eb0
add esp, 0xc
lea ebx, [ebp]
call fcn.0040685b
cmp dword [eax + 0x18], 8
jb 0x406a8e
mov eax, dword [eax + 4]
jmp 0x406a91
add eax, 4
push eax
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edi, edi
push edi
push 1
lea esi, [ebp]
call fcn.004012c3
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406adf
lea eax, [ebp + 0x224]
push eax
call fcn.00408f5e
pop ecx
test eax, eax
je 0x406adf
push 1
push edi
push str.https:__ext.se.360.cn_webstore_detail_ExtYouxi
lea eax, [ebp + 0x224]
push eax
jmp 0x406ae8
push 1
push edi
push edi
push str.http:__360game.360.cn_
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [ebp - 0x10]
call fcn.00402212
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x430
leave
ret
Function at 0x406cac
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x208
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x80], edi
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.00409285
test eax, eax
lea eax, [ebp - 0x7c]
je 0x406d0b
push str.360se6User_DataDefault_appsextyouxi
jmp 0x406d10
push str.360se6_appsdatacommonExtYouxi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ebx, [ebp - 0x7c]
call fcn.004021bd
mov ecx, dword [ebp + 0x190]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410ee0
add ebp, 0x194
leave
ret

Function at 0x407886
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x407894
push 0xd
pop eax
jmp 0x4078c7
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40789b
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x407d0f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040173c
mov ebx, eax
cmp ebx, esi
je 0x407d78
lea esi, [ebp - 0x214]
call fcn.0040177a
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410ee0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x407d96
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00407d0f
cmp eax, esi
jne 0x407ddd
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x407d80
lea esi, [ebp - 0x214]
call fcn.0040177a
push dword [ebp - 0x21c]
mov esi, edi
call fcn.00407e26
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.0040177a
mov eax, edi
jmp 0x407d67

Function at 0x407e26
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x435d7c], 0
jne 0x407e56
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407e4f
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x435d80], eax
mov byte [0x435d7c], 1
mov eax, dword [0x435d80]
test eax, eax
je 0x407e6e
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x407e7a
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x4090d1
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0041dbf0
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, ebx
je 0x409195
cmp edi, ebx
je 0x409195
xor eax, eax
push 0x3ffe
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0x7c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x409195
cmp eax, 0x3fff
ja 0x409195
lea ecx, [ebp - 0x74]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x409195
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x429688
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x409195
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
mov ecx, dword [ebp + 0x3f98]
push eax
push 0x42968c
call section..text
xor eax, eax
add esp, 0x14
inc eax
jmp 0x409197
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
pop edi
xor ecx, ebp
pop ebx
call fcn.00410ee0
add ebp, 0x3f90
leave
ret

Function at 0x409285
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x28a]
push esi
push eax
call fcn.00412eb0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409326
xor eax, eax
push 0x7e
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push esi
push eax
call fcn.00412eb0
push 0x40
lea ecx, [ebp - 0x84]
lea esi, [ebp - 0x28c]
call fcn.004090d1
add esp, 0x10
push str.8.9.0.100
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00410ee0
leave
ret
Function at 0x409335
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x288
lea ebp, [esp - 4]
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x288], eax
push 8
mov eax, 0x4231e4
call fcn.004135dd
xor edi, edi
mov dword [ebp - 4], edi
mov esi, ecx
mov ebx, 0x4298d8
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
call fcn.004021bd
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x14], 1
call fcn.00412eb0
add esp, 0xc
push 0x103
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4093e9
push 0x80
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.00412eb0
push 0x40
lea ecx, [ebp + 0x208]
lea esi, [ebp]
call fcn.004090d1
lea eax, [ebp + 0x208]
push eax
push 0x4296dc
push dword [ebp - 0x10]
call fcn.00401f03
add esp, 0x1c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x28c
leave
ret

Function at 0x40940f
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0041dbf0
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
push edi
xor edi, edi
cmp esi, edi
je 0x4094cd
cmp ebx, edi
je 0x4094cd
push 0x4000
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0x7c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, edi
je 0x4094cd
cmp eax, 0x3fff
ja 0x4094cd
lea ecx, [ebp - 0x74]
push ecx
push eax
push edi
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4094cd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x429688
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4094cd
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x42968c
push 0xffffffffffffffff
push dword [ebp + 0x3f98]
push ebx
call fcn.00411746
xor eax, eax
add esp, 0x20
inc eax
jmp 0x4094cf
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
xor ecx, ebp
pop edi
call fcn.00410ee0
add ebp, 0x3f90
leave
ret