joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d5df
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push esi
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], dx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x218]
push 0x17
push eax
push edx
call esi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
mov word [ebp - 0x420], dx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x420]
push 2
push eax
push edx
call esi
mov eax, dword [0x43c4ec]
mov edi, 0x46413c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.00409c93
mov eax, dword [0x43c4ec]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov esi, 0x464124
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409c93
mov eax, dword [0x43c4ec]
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00409c93
mov eax, dword [0x43c4ec]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00409c93
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 8]
call esi
test eax, eax
je 0x41d6d0
push dword [ebp - 8]
call fcn.004245e4
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x41d6e2
push dword [ebp - 4]
call fcn.004245e4
pop ecx
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x41d6f4
push dword [ebp - 0xc]
call fcn.004245e4
pop ecx
push dword [ebp - 0x10]
call esi
pop edi
pop esi
test eax, eax
je 0x41d708
push dword [ebp - 0x10]
call fcn.004245e4
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret 4
Function at 0x41de0b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43c4ec]
push ebx
push esi
mov esi, 0x4643d8
mov dword [ebp - 4], eax
mov eax, esi
xor ebx, ebx
push edi
test eax, eax
je 0x41de33
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00404d06
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x214]
mov byte [ebp - 0x230], 0x28
mov byte [ebp - 0x22f], 2
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], 1
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], bl
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], 0x81
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], 0x1a
mov byte [ebp - 0x21f], 0xe4
mov byte [ebp - 0x21e], 0x73
mov byte [ebp - 0x21d], 0xc
mov byte [ebp - 0x21c], 0x19
mov byte [ebp - 0x21b], 0xfb
mov byte [ebp - 0x21a], 0xca
mov byte [ebp - 0x219], 1
mov byte [ebp - 0x218], 0x21
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x216], bl
mov byte [ebp - 0x215], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
mov eax, dword [eax - 8]
add eax, eax
push eax
push 0x104
call fcn.00404b50
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x230]
mov dword [ebp - 8], ebx
push 0x228
push eax
push 3
mov ebx, 0x464304
push 0x4642e8
mov edi, SysReAllocString
push ebx
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0x4642d8
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41df6f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x43c4ec]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
add ecx, 0x4c
push 0x4643d8
lea eax, [ebp - 8]
push ecx
push eax
call fcn.00418486
push eax
lea ecx, [ebp - 4]
call fcn.00404768
lea ecx, [ebp - 8]
call fcn.00404beb
xor ebx, ebx
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x218]
mov byte [ebp - 0x234], 0x28
mov byte [ebp - 0x233], 2
mov byte [ebp - 0x232], bl
mov byte [ebp - 0x231], bl
mov byte [ebp - 0x230], 1
mov byte [ebp - 0x22f], bl
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], bl
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], 0x81
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], bl
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], bl
mov byte [ebp - 0x21f], bl
mov byte [ebp - 0x21e], bl
mov byte [ebp - 0x21d], bl
mov byte [ebp - 0x21c], bl
mov byte [ebp - 0x21b], bl
mov byte [ebp - 0x21a], bl
mov byte [ebp - 0x219], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x234]
mov dword [ebp - 0xc], ebx
push 0x228
push eax
push 3
mov ebx, 0x464304
push 0x4642e8
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push 0x4642d8
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e0ef
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2098
call fcn.00432710
push ebx
push esi
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
xor edi, edi
push dword [esi + 0x3c]
push edi
push 0x4644d8
push 0x4644c0
call ebx
test eax, eax
jne 0x41e229
cmp dword [esi + 0x1514], edi
jne 0x41e229
mov word [ebp - 0x1050], di
mov ecx, 0x411
lea edi, [ebp - 0x104e]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 4]
push eax
push 0x4644a8
push 0x464454
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x464430
mov eax, edi
test eax, eax
jne 0x41e18a
xor eax, eax
jmp 0x41e18d
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x14fc]
call fcn.00404cc7
cmp dword [esi + 0x150c], 0
jne 0x41e1ea
cmp word [ebp - 0x1050], 0
je 0x41e1c5
lea eax, [ebp - 0x1050]
push 0x464418
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x41e1ea
mov eax, edi
test eax, eax
je 0x41e1ce
push edi
call ebx
push edi
push eax
lea ecx, [esi + 0x14fc]
call fcn.00404cc7
mov dword [esi + 0x14ec], 3
jmp 0x41e315
xor eax, eax
lea ecx, [ebp - 0x1050]
cmp dword [esi + 0x150c], eax
lea edi, [esi + 0x1500]
test ecx, ecx
je 0x41e20b
lea eax, [ebp - 0x1050]
push eax
call ebx
lea ecx, [ebp - 0x1050]
push ecx
push eax
mov ecx, edi
call fcn.00404cc7
mov dword [esi + 0x14ec], 5
jmp 0x41e315
mov word [ebp - 0x2098], di
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x2096]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2098]
push 0x1047
push eax
mov ecx, esi
call fcn.0041e741
push dword [esi + 0x3c]
push 0
push 0x463d70
push str.option
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2098]
push 0x4643f0
push eax
call edi
test eax, eax
jne 0x41e2ba
lea eax, [ebp - 0x2098]
push str.hao.360.cn
push eax
call edi
test eax, eax
jne 0x41e2ba
lea eax, [ebp - 0x2098]
lea edi, [esi + 0x14fc]
test eax, eax
je 0x41e2af
lea eax, [ebp - 0x2098]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2098]
jmp 0x41e211
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov edi, 0x464430
lea eax, [ebp - 0x2098]
push edi
push eax
mov dword [esi + 0x14ec], 2
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x41e2f3
lea eax, [ebp - 0x2098]
push str.hao.360.cn
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x41e315
cmp dword [ebp - 4], 1
jne 0x41e315
mov eax, edi
add esi, 0x14fc
test eax, eax
je 0x41e30c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00404cc7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e31a
Capabilities:
Get common file path
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc20
push ebx
push esi
mov ebx, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
mov word [ebp - 0x420], dx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x420]
push 0x1a
push eax
push edx
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x43c4ec]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push 0x464520
push eax
lea eax, [ebp - 4]
push 0x43d538
push eax
call fcn.00409c93
add esp, 0x10
cmp dword [ebx + 0x1514], 0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, 0x464500
je 0x41e3e2
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp dword [ebp + 8], eax
sete al
push eax
push 0x4644f8
lea eax, [ebp - 0x218]
push 0x103
push eax
call ebx
add esp, 0x10
push dword [ebp - 4]
push 0
push esi
push 0x4644e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x41e3e5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
lea edi, [ebp - 0xc1e]
push str.Software360360se5
push 0x463d38
mov dword [ecx + 0x14c0], eax
xor ecx, ecx
test eax, eax
sete cl
and word [ebp - 0xc20], 0
mov dword [0x4684d8], eax
mov eax, ecx
mov ecx, 0x1ff
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x3ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc20]
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x10]
push 4
push eax
push 4
lea eax, [ebp - 0xc20]
push esi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0xc], 0
je 0x41e4b3
and word [ebp - 0x218], 0
push dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
push 0x4644f8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push 0x103
push eax
call ebx
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
mov ebx, str.option
push dword [ebp - 4]
push eax
push esi
push ebx
call edi
mov eax, dword [ebp - 8]
push dword [eax + 0x40]
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call edi
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41e5e9
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x208]
push 0x1a
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
je 0x41e67b
lea eax, [ebp - 0x208]
push str.360se
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e67b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e67b
test al, 0x10
jne 0x41e67b
lea eax, [ebp - 0x208]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret
Function at 0x41ea6e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor edi, edi
cmp word [0x46984c], di
je 0x41ea97
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x41eb00
cmp word [eax], di
je 0x41eb00
mov esi, 0x46984c
jmp 0x41ea9a
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x467050
call fcn.00404264
mov word [ebp - 0x800], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x463d38
lea eax, [ebp - 0x800]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
shl eax, 1
push eax
push esi
push 1
lea eax, [ebp - 0x800]
push str.homepage
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
leave
ret 4

Function at 0x41eb06
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
mov esi, ecx
mov edx, 0x81
push edi
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
cmp dword [esi + 0x14f4], ebx
mov word [ebp - 0x214], bx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x41eba5
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41a]
mov word [ebp - 0x41c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x464260
lea eax, [ebp - 0x41c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x41c]
push 0x464640
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x41ebc9
push dword [esi + 0x3c]
lea eax, [ebp - 0x214]
push 0x104
push eax
push 0x467084
push 0x464640
push 0x464634
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x214], bx
je 0x41ec76
push 3
lea eax, [ebp - 0x214]
push 0x46462c
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x41ec00
push 1
mov dword [esi + 0x14ec], 6
pop eax
jmp 0x41ec79
cmp dword [0x4636f8], ebx
je 0x41ec76
mov eax, 0x4636f8
mov edi, eax
mov eax, dword [eax]
cmp eax, ebx
je 0x41ec2e
cmp word [eax], bx
je 0x41ec2e
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x41ec39
add edi, 4
mov eax, edi
cmp dword [edi], ebx
jne 0x41ec0f
jmp 0x41ec76
mov dword [esi + 0x14ec], 6
lea eax, [ebp - 0x214]
add esi, 0x14f8
mov dword [ebp - 4], 1
test eax, eax
je 0x41ec67
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x214]
push ecx
push eax
mov ecx, esi
call fcn.00404cc7
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ecca
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
and dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
mov ebx, 0x467084
push eax
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push 0x463cb8
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x41ed3e
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ed72
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x463e30
push edi
call esi
test eax, eax
jne 0x41ed92
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ed92
lea eax, [ebp - 0x214]
push eax
push 0x43caa8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x41edef
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x463d90
push edi
call esi
test eax, eax
jne 0x41edec
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41edec
mov ecx, dword [ebp + 0x10]
push 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ecx], eax
lea eax, [ebp - 0x214]
push eax
push 0x43caa8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41f9c5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41fac4
push edi
mov ecx, 0x81
lea edi, [ebp - 0x212]
mov word [ebp - 0x214], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x103
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp + 8], 1
call esi
test eax, eax
jne 0x41faba
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x214]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x41fa82
push 0x12
lea eax, [ebp - 0x214]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x41fa82
push 0x12
lea eax, [ebp - 0x214]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x41fa85
inc dword [ebp - 0xc]
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x41fa3d
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
cmp dword [ebp - 0xc], 3
pop esi
jne 0x41fad0
push 1
pop eax
leave
ret 4
Function at 0x420216
Capabilities:
Check if file exists
Move file
Read .ini file
Set registry value

Disassembly:
cmp dword [ecx + 0x1514], 1
jne 0x42022d
cmp dword [ecx + 0x14f4], 0
jne 0x42022d
jmp fcn.0042025b
ret

Function at 0x42022e
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x420252
test byte [ebp - 4], 0x20
jne 0x420252
test byte [ebp - 4], 7
jne 0x420256
xor eax, eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x4208be
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
and word [ebp - 0x80c], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x463d38
lea eax, [ebp - 0x80c]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 0x464c78
push dword [ebp + 8]
push 0
push edi
push str.option
call esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464c60
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push 0x464c60
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464c50
push str.option
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x80c]
push 0x464c50
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420cd9
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
and word [ebp - 0x804], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x802]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x463d38
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 0x464dfc
push dword [ebp + 8]
push 0
push edi
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464de8
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464de8
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464dd4
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464dd4
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464dbc
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464dbc
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464da4
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464da4
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464d90
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464d90
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464d78
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464d78
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464d60
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464d60
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420e8a
Capabilities:
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
and word [ebp - 0x804], 0
push ebx
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x802]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x463d38
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp + 8]
push 0
push 0x464edc
push str.option
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464ecc
mov ebx, SysReAllocString
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464eb4
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464eb4
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464e9c
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464e9c
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464e7c
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464e68
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464e48
push str.option
call esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464e2c
push eax
push ebx
call edi
push dword [ebp + 8]
push 0
push 0x464e10
push str.option
call esi
neg eax
sbb eax, eax
push 4
inc eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x804]
push 0x464e10
push eax
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 4