joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464436
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x51b79c
push dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov byte [ebp - 4], 0
lea edi, [ebp - 3]
inc ebx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR80.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4644a4
push esi
push 3
lea eax, [ebp - 4]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, 3
jne 0x46449c
cmp byte [ebp - 4], 0xef
jne 0x46448d
cmp byte [ebp - 3], 0xbb
jne 0x46449c
cmp byte [ebp - 2], 0xbf
jne 0x46449c
push 2
jmp 0x46449b
cmp byte [ebp - 4], 0xff
jne 0x46449c
cmp byte [ebp - 3], 0xfe
jne 0x46449c
push 3
pop ebx
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4645d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, eax
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
xor esi, esi
push 0x206
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x23
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x464641
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040127c
lea eax, [ebp - 4]
push eax
call fcn.00496e9b
pop ecx
push str.TencentQQPCMgrOptimizeHistory.xml
lea eax, [ebp - 4]
push eax
call fcn.00407371
call fcn.00465321
mov esi, dword [ebp - 4]
push edi
push esi
call fcn.00464742
lea eax, [esi - 0x10]
call fcn.00401239
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x4658c8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x222]
push edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov word [ebp - 0x224], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.bro.cfg
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 8]
call fcn.004014ce
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], edi
je 0x465968
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465968
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0046669c
test eax, eax
je 0x465968
push dword [ebp + 8]
lea ebx, [ebp - 0x18]
call fcn.00466549
lea eax, [esi - 0x10]
call fcn.00401239
cmp dword [ebp - 0x14], edi
je 0x46597e
push dword [ebp - 0x14]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4659ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
call fcn.00431090
cmp eax, 0xa
je 0x465ad1
mov eax, dword [0x5438cc]
push ebx
xor ebx, ebx
push edi
mov ecx, 0x5438cc
mov dword [ebp - 8], ebx
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00465ad3
test eax, eax
jne 0x4659fa
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
jmp 0x465ac1
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.http_shellopencommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4659ea
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], 1
call esi
test eax, eax
jne 0x465ab5
cmp dword [ebp - 0xc], 0x800
jae 0x465ab5
push 0x7fe
lea eax, [ebp - 0x812]
push ebx
push eax
mov word [ebp - 0x814], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x465ab5
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x10]
call fcn.004014ce
mov edi, dword [ebp - 4]
push edi
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00429fa6
cmp eax, 0xffffffff
jne 0x465aa5
lea ebx, [ebp - 4]
call fcn.00465b3e
xor ebx, ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [edi - 0x10]
jmp 0x465abb
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop esi
cmp dword [ebp - 8], ebx
pop edi
pop ebx
je 0x465ad1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x466176
Capabilities:
Create thread

Disassembly:
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x466187
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
push 0x45681e
mov dword [eax], edx
mov edx, dword [esp + 0x18]
push ecx
push ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
ret
Function at 0x4661ab
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4661e4
xor eax, eax
jmp 0x4662d9
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4662c8
push 0x14
pop esi
cmp ebx, esi
jbe 0x4662c8
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
cmp eax, edi
pop ecx
mov dword [ebp - 0x10], eax
je 0x4662c8
push esi
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call esi
test eax, eax
je 0x4662be
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
cmp eax, edi
jle 0x4662be
imul eax, eax, 0xf0
add ebx, 0xffffffec
cmp eax, ebx
jne 0x4662be
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
cmp eax, edi
pop ecx
mov dword [ebp - 0xc], eax
je 0x4662be
push ebx
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x4662b4
mov eax, dword [ebp - 4]
mov ebx, 0xf0
xor edx, edx
mov ecx, ebx
div ecx
cmp eax, edi
jle 0x4662ad
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
mov esi, dword [ebp + 0xc]
call fcn.00466fa1
add dword [ebp - 8], ebx
dec dword [ebp - 0x14]
jne 0x46629a
mov dword [ebp - 0x14], 1
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp + 8], edi
je 0x4662d6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46639f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor esi, esi
push 0x1fe
lea eax, [ebp - 0x20e]
push esi
push eax
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp + 8]
mov ebx, 0x100
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
call edi
test eax, eax
jne 0x466470
lea eax, [ebp - 0x210]
push str.Filelist
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x46646b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46647b
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x10]
call fcn.0046639f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 4]
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call edi
test eax, eax
je 0x4663f9
cmp dword [ebp - 4], esi
jne 0x46647b
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
call fcn.00466482
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4664b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
jne 0x4664d1
mov byte [ebp - 1], bl
jmp 0x466543
push esi
push edi
lea esi, [eax + 1]
push 0x54395c
push esi
call fcn.004ce9e2
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x46651a
push esi
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46651a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x4da9e4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x46651f
mov byte [ebp - 1], bl
jmp 0x466536
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x466541
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x466ab5
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x466af7
xor eax, eax
jmp 0x466b1e
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x51b4e4
push dword [ebp + 8]
call fcn.00466b23
pop esi
leave
ret 4
Function at 0x466e31
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
xor eax, eax
push ebx
push 0x208
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x104
call fcn.004017a0
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x466f2e
push esi
push edi
push str.Install_Path_Dir
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x218]
call fcn.00401739
test eax, eax
jne 0x466f2c
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, edi
push eax
lea eax, [ebp - 4]
call fcn.004014ce
push str.liebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00407371
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x466f00
mov eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040127c
push str.LBBrowserliebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00407371
push dword [ebp - 4]
call esi
test eax, eax
je 0x466f12
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0042a0a0
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x466f21
push dword [ebp - 8]
call ebx
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
pop esi
cmp dword [ebp - 8], 0
je 0x466f39
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x467fdf
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x140
push 0x118
lea eax, [ebp - 0xc4]
push 0
push eax
mov dword [ebp - 0xc8], 0x11c
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x5457d4], 0
jne 0x468138
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x468138
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 0xc4], 5
jne 0x4680d2
cmp dword [ebp - 0xc0], 0
jne 0x468051
mov dword [0x5457d8], ebx
jmp 0x468131
cmp dword [ebp - 0xc0], ebx
jne 0x468068
mov dword [0x5457d8], 2
jmp 0x468131
cmp dword [ebp - 0xc0], 2
jne 0x468131
and dword [ebp + 0x54], 0
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp + 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [ebp + 0x52], bl
pop edi
jne 0x4680aa
cmp word [ebp + 0x54], 9
jne 0x4680aa
mov dword [0x5457d8], 3
jmp 0x468131
test word [ebp + 0x50], 0x8000
je 0x4680be
mov dword [0x5457d8], 5
jmp 0x468131
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
and eax, 2
add eax, 4
jmp 0x468100
cmp dword [ebp - 0xc4], 6
jne 0x468131
mov eax, dword [ebp - 0xc0]
test eax, eax
jne 0x4680f0
cmp byte [ebp + 0x52], bl
setne al
add eax, 7
jmp 0x468100
cmp eax, ebx
jne 0x468107
mov al, byte [ebp + 0x52]
dec al
neg al
sbb eax, eax
add eax, 0xa
mov dword [0x5457d8], eax
jmp 0x468131
cmp eax, 2
jne 0x46811d
cmp byte [ebp + 0x52], bl
jne 0x468131
mov dword [0x5457d8], 0xb
jmp 0x468131
cmp eax, 3
jne 0x468131
cmp byte [ebp + 0x52], bl
jne 0x468131
mov dword [0x5457d8], 0xc
mov dword [0x5457d4], ebx
pop ebx
mov eax, dword [0x5457d8]
add ebp, 0x78
leave
ret

Function at 0x46983b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x4698ce
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x4698b8
push edi
call fcn.004ce6ea
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
je 0x4698b8
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4698b8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x51c010
push dword [esi + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4698b8
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [esi + 8], ecx
mov dword [esi], 1
cmp dword [esi], ebx
pop edi
jne 0x4698ce
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4698ce
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 4], ebx
mov eax, dword [esi]
pop ebx
leave
ret 4
Function at 0x46a505
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
sub esp, 0x208
cmp dword [eax - 0xc], 0
jne 0x46a553
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x46a52e
leave
ret
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.0040127c
push str.Prefetch_
push esi
call fcn.00407371
xor eax, eax
inc eax
leave
ret

Function at 0x46a5c6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
cmp dword [esi + 0x14], 0
push ebx
push edi
je 0x46a5de
xor eax, eax
jmp 0x46a6b4
push str..pf
mov eax, esi
lea ecx, [ebp - 8]
or edi, 0xffffffff
call fcn.0042a029
mov eax, dword [eax]
pop ecx
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
cmp ebx, edi
je 0x46a6b2
mov edi, dword [sym.imp.MSVCR80.dll__wcsicmp]
lea eax, [ebp - 0x22c]
push 0x4da9e8
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x46a68c
lea eax, [ebp - 0x22c]
push 0x4da9ec
push eax
call edi
test eax, eax
pop ecx
pop ecx
je 0x46a68c
test byte [ebp - 0x258], 0x10
jne 0x46a68c
mov eax, dword [esi]
sub eax, 0x10
call fcn.0042a0e1
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407371
lea eax, [ebp - 4]
call fcn.00407211
lea eax, [ebp - 4]
push eax
lea edi, [esi + 4]
call fcn.0043553a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46a616
push ebx
mov dword [esi + 0x14], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x46a8c1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
xor edi, edi
mov ebx, 0x5438cc
mov ecx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call dword [eax + 0xc]
add eax, 0x10
mov ecx, ebx
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.0040121e
mov ecx, ebx
lea esi, [ebp - 0x28]
call fcn.0040121e
mov ecx, ebx
lea esi, [ebp - 0x24]
call fcn.0040121e
mov ecx, ebx
lea esi, [ebp - 0x20]
call fcn.0040121e
lea eax, [ebp - 8]
push eax
push 0x20119
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46aa28
cmp dword [ebp - 8], edi
je 0x46aa28
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46aa28
push 0x206
lea eax, [ebp - 0x23a]
push edi
push eax
mov word [ebp - 0x23c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp + 0xc], edi
jbe 0x46aa21
cmp dword [ebp - 0xc], edi
je 0x46a9a0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0x104
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46aa12
lea eax, [ebp - 0xc]
push eax
push 0x20119
push edi
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46aa12
push dword [ebp - 0xc]
lea eax, [ebp - 0x23c]
push eax
lea ebx, [ebp - 0x30]
call fcn.0046aa56
test eax, eax
je 0x46aa12
mov edi, ebx
call fcn.0046ac61
test eax, eax
jne 0x46aa10
mov esi, dword [ebp + 0x10]
mov eax, ebx
push eax
call fcn.0046ae04
xor edi, edi
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x46a98f
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0xc], edi
je 0x46aa36
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x46aa44
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x30]
call fcn.0046a769
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46ac06
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
xor eax, eax
cmp dword [ebp + 8], esi
je 0x46ac5c
cmp dword [ebp + 0xc], esi
je 0x46ac5c
mov eax, 0x104
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ac4c
push dword [ebp + 0x10]
jmp 0x46ac51
push 0x50edd8
push dword [ebp + 0x14]
call fcn.0040127c
xor eax, eax
inc eax
pop esi
leave
ret 0x10

Function at 0x46bee9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5438cc]
push ebx
push esi
push edi
mov ebx, 0x124f80
mov ecx, 0x5438cc
mov edi, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 4]
call fcn.004015aa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 4], 0
jne 0x46bf2d
xor eax, eax
jmp 0x46bf37
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push 0x5c
lea esi, [ebp - 4]
call fcn.0042d702
test eax, eax
jl 0x46bf9a
mov ecx, eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.0042a06a
mov edi, esi
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
push str.soft_report.ini
push 0x51c384
mov ecx, esi
call fcn.0040a313
pop ecx
pop ecx
push dword [ebp - 4]
push ebx
push str.timeout
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
test edi, edi
jge 0x46bf9a
mov edi, ebx
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46c0e4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5438cc]
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
call fcn.00496e16
push dword [eax]
lea eax, [ebp - 4]
push str._sressrcchsuplive.svr
push eax
call fcn.0042a016
mov eax, dword [ebp - 8]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00401239
mov esi, dword [ebp - 4]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x46c545
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp byte [edi + 0x11], 0
push ebx
push esi
je 0x46c55e
xor eax, eax
inc eax
jmp 0x46c6b4
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x46c56c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x46c57a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0046ca60
xor ebx, ebx
cmp byte [edi + 0x10], bl
mov dword [ebp - 0xc], ebx
je 0x46c6b2
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist
push SysReAllocStringLen
lea eax, [ebp - 0xc]
call fcn.004017a0
test eax, eax
jne 0x46c6a4
lea esi, [ebp - 0x20]
call fcn.0046c14c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x46c685
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist
lea eax, [ebp - 4]
push eax
call fcn.00407371
push 0x4da9e4
lea eax, [ebp - 4]
push eax
call fcn.00407371
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407371
push str.Count
lea eax, [ebp - 4]
push eax
call fcn.00407371
push 0x20019
push dword [ebp - 4]
lea eax, [ebp - 8]
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call fcn.004017a0
test eax, eax
jne 0x46c668
push dword [ebp - 8]
push edi
call fcn.0046c2a9
cmp dword [ebp - 8], ebx
je 0x46c672
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
inc dword [ebp - 0x10]
jmp 0x46c5c6
lea eax, [ebp - 0x20]
mov byte [edi + 0x11], 1
call fcn.0046c1c4
cmp dword [ebp - 0xc], ebx
je 0x46c556
push dword [ebp - 0xc]
call esi
jmp 0x46c556
cmp dword [ebp - 0xc], ebx
je 0x46c6b2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ebx
leave
ret