joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x54]
push 0x41cb00
push edi
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push str.Version
mov ecx, 0x41ca10
mov dword [esp + 0x64], 0x40
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x405abd
lea eax, [esp + 0xc]
push esi
push eax
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret

Function at 0x405ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x54]
push 0x41cb00
push edi
call ebx
lea eax, [esp + 0xc]
push 0x40
push eax
push 0x10
call fcn.0040fc80
add esp, 0xc
cmp eax, 1
jne 0x405b2d
lea ecx, [esp + 0xc]
push esi
push ecx
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
lea edx, [esp + 0x54]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push str.Version
mov ecx, 0x41ca20
mov dword [esp + 0x64], 0x40
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x405b78
lea edx, [esp + 0xc]
push esi
push edx
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret

Function at 0x405b90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
stosb byte es:[edi], al
mov edi, dword [esp + 0x54]
push 0x41cb00
push edi
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push str.HotVer
mov ecx, 0x41ca20
mov dword [esp + 0x64], 0x40
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x405c0d
lea eax, [esp + 0xc]
push esi
push eax
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x405e20
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x104
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004068e0
pop edi
test eax, eax
push 0x104
je 0x405e54
lea eax, [esp + 4]
push eax
push 6
jmp 0x405e5b
lea ecx, [esp + 4]
push ecx
push 0
call fcn.00406310
add esp, 0xc
lea edx, [esp]
push str.Update
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x405e9b
lea ecx, [esp]
push eax
push ecx
call fcn.00402db0
add esp, 8
test eax, eax
jne 0x405e9b
add esp, 0x104
ret
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
lea eax, [esp]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, 1
add esp, 0x104
ret
Function at 0x406310
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0x64
push edi
ja case.0x406327.10
xor ecx, ecx
mov cl, byte [eax + 0x4064d8]
jmp dword [ecx*4 + 0x4064ac]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00406540
add esp, 8
mov eax, 1
pop edi
pop esi
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00402390
add esp, 8
mov eax, 1
pop edi
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
pop edi
mov eax, 1
pop esi
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
pop edi
mov eax, 1
pop esi
ret
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push ecx
push esi
call fcn.00402390
add esp, 8
mov ecx, 0x41cb70
jmp 0x406492
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.drivers
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0x14]
push eax
push 0x10
call fcn.0040fc40
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
mov eax, 1
pop esi
ret
mov esi, dword [esp + 0x10]
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.0x406327.10
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.LocalLow
push esi
call edi
mov ecx, 0x41cb50
call fcn.00402260
push eax
push esi
call edi
pop edi
mov eax, 1
pop esi
ret
mov esi, dword [esp + 0x10]
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.0x406327.10
mov ecx, 0x41cb60
call fcn.00402260
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push eax
push esi
call edi
mov ecx, 0x41cb50
call fcn.00402260
push eax
push esi
call edi
pop edi
mov eax, 1
pop esi
ret
mov esi, dword [esp + 0x10]
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.0x406327.10
mov ecx, 0x41cb50
call fcn.00402260
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x406540
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push esi
push ecx
push str.Install
mov ecx, 0x41cb38
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], edi
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x406595
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x406595
pop edi
mov eax, 1
pop esi
pop ecx
ret
push edi
push 0x10
call fcn.0040fc40
add esp, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ecx
ret
Function at 0x4068e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x406913
cmp dword [esp + 4], 6
jb 0x406913
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret
Function at 0x4076a0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.0040aff0
mov eax, dword [esp + 0x19c]
xor edx, edx
mov dword [esi + 0x32c], eax
or eax, 0xffffffff
mov dword [esi + 0x324], eax
mov dword [esi + 0x328], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 0x220]
mov dword [esi], 0x413184
mov dword [esi + 4], edx
mov byte [esi + 0x14], dl
mov byte [esi + 0x118], dl
mov dword [esi + 0x21c], edx
rep stosd dword es:[edi], eax
cmp dword [esi + 0x32c], edx
je 0x407723
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
push 0x202
stosw word es:[edi], ax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret 4
Function at 0x407cb0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
sub esp, 0x390
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x199]
mov byte [esp + 0x198], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x324]
cmp eax, 0xffffffff
je 0x407d1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x324], 0xffffffff
lea ebp, [esi + 0x14]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407d31
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0x220]
push str.Profile.ini
push eax
push str._s_s
push 0x103
push ebp
call sub.MSVCRT.dll__snprintf
add esp, 0x14
mov ecx, 0x41cdc8
push 0x104
call fcn.00402260
lea ecx, [esp + 0x19c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x198]
push 0x208
push edx
call fcn.004096e0
add esp, 8
test eax, eax
jne 0x407d92
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x390
ret
lea eax, [esi + 8]
lea ecx, [esp + 0x198]
push eax
push 0xa
push ebp
push ecx
call fcn.00404700
add esp, 0x10
test eax, eax
jne 0x407db8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x390
ret
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebp
lea edx, [esp + 0x18]
push 0x40
push edx
push ebx
push str.version
mov ecx, 0x41cd88
mov dword [esi + 0x324], eax
call fcn.00402260
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x407e7e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x54]
push 0x40
push eax
call fcn.00405a40
add esp, 8
test eax, eax
jne 0x407e45
lea ecx, [esp + 0x94]
push 0x104
push ecx
call fcn.004093d0
add esp, 8
test eax, eax
je 0x407e64
mov ebx, 1
jmp 0x407e7e
lea edx, [esp + 0x54]
push 1
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040b410
add esp, 0xc
test eax, eax
jg 0x407e64
mov ebx, 1
jmp 0x407e7e
cmp dword [esi + 0x21c], ebx
jne 0x407e7e
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
mov ecx, esi
call fcn.00407ec0
mov ebx, eax
mov eax, dword [esi + 0x324]
cmp eax, 0xffffffff
je 0x407e9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x324], 0xffffffff
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407eac
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x390
ret
Function at 0x408df0
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, dword [esp + 0x21c]
push esi
test ebp, ebp
push edi
je 0x408ee9
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x408ee9
mov esi, dword [esp + 0x220]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x408e7c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0040c150
add esp, 8
lea ecx, [esp + 0x10]
push ebp
push ecx
call ebx
test eax, eax
jne 0x408e71
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x408ee9
mov edx, dword [esp + 0x21c]
push 0
push 0xa
push esi
push edx
call fcn.00404700
add esp, 0x10
test eax, eax
je 0x408ee9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push eax
push esi
call fcn.0040c150
add esp, 8
lea ecx, [esp + 0x114]
push ebp
push ecx
call ebx
test eax, eax
jne 0x408ee2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret 0xc

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

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sub.MSVCRT.dll_time
mov ebx, dword [esp + 0x20]
xor edx, edx
mov eax, ebx
mov ecx, 0x30
div ecx
add esp, 4
mov dword [esp + 0x10], 4
mov esi, edx
test esi, esi
je 0x408fea
push edi
mov ecx, 0x41cc68
call fcn.00402260
mov edi, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, 0x41cc58
call fcn.00402260
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp eax, 2
pop edi
jne 0x408fcd
test ebx, ebx
je 0x408fc5
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
shl edx, 7
add edx, ecx
mov ecx, 0x41cc68
mov dword [esp + 8], edx
call fcn.00402260
mov esi, eax
lea eax, [esp + 8]
push 4
push eax
push 3
mov ecx, 0x41cc58
call fcn.00402260
push eax
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
test eax, eax
jne 0x408fea
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
add ecx, 0xffffe3e0
pop esi
cmp edx, ecx
pop ebx
setge al
add esp, 0x10
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x409240
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, 0xed
push ebx
mov byte [esp + 0x3c], al
mov byte [esp + 0x44], al
push esi
mov cl, 0xf2
lea eax, [esp + 0x38]
push 0x14
mov byte [esp + 0x3f], cl
mov bl, 0xd2
mov byte [esp + 0x49], cl
push eax
push 0x11
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0xe2
mov byte [esp + 0x45], 0xd8
mov byte [esp + 0x46], 0xd5
mov byte [esp + 0x48], 0xe6
mov byte [esp + 0x49], 0xd6
mov byte [esp + 0x4a], 0xc1
mov byte [esp + 0x4b], 0xe3
mov byte [esp + 0x4d], 0xc3
mov byte [esp + 0x4e], 0xf6
mov byte [esp + 0x4f], 0xc8
mov byte [esp + 0x50], bl
mov byte [esp + 0x52], 0xfd
mov byte [esp + 0x53], bl
mov byte [esp + 0x55], 0xc7
mov byte [esp + 0x56], 0xd7
mov byte [esp + 0x57], 0xe5
call fcn.004021d0
lea ecx, [esp + 0x10]
push 8
push ecx
push 0x2a
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], 0
mov byte [esp + 0x1c], 0xbf
mov byte [esp + 0x1d], 0xc0
mov byte [esp + 0x1e], 0xd8
mov byte [esp + 0x1f], 0xda
mov byte [esp + 0x20], 0xb9
mov byte [esp + 0x21], 0xc4
mov byte [esp + 0x22], 0xd8
mov byte [esp + 0x23], bl
call fcn.004021d0
mov esi, dword [esp + 0x5c]
mov ebx, 1
test esi, esi
mov byte [esp + 0x54], bl
je 0x409397
mov eax, dword [esp + 0x60]
test eax, eax
je 0x409397
dec eax
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
call fcn.00402260
lea edx, [esp + 0xc]
mov edi, eax
push edx
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00402260
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
pop edi
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x18]
jne 0x4093a0
call fcn.00402220
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], 0xffffffff
call fcn.00402220
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x18]
call fcn.00402220
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], 0xffffffff
call fcn.00402220
mov ecx, dword [esp + 0x4c]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x409a60
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411b8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov al, 0xfc
push ebx
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
mov al, 0xd3
mov bl, 0xfd
mov byte [esp + 0x16], al
mov byte [esp + 0x1e], al
mov al, 0xe1
push edi
mov byte [esp + 0x23], al
mov byte [esp + 0x25], al
mov al, 0xc3
mov cl, 0xcd
mov byte [esp + 0x28], al
mov byte [esp + 0x30], al
mov byte [esp + 0x34], al
lea eax, [esp + 8]
mov byte [esp + 0x1d], bl
mov byte [esp + 0x26], bl
push 0x2d
mov dl, 0xe7
mov byte [esp + 0x1b], cl
mov byte [esp + 0x23], cl
mov bl, 0xc7
mov byte [esp + 0x33], cl
push eax
push 0xd
lea ecx, [esp + 0x48]
mov byte [esp + 0x14], 0xfe
mov byte [esp + 0x15], 0xdc
mov byte [esp + 0x16], 0xc9
mov byte [esp + 0x17], 0xf6
mov byte [esp + 0x18], 0xfa
mov byte [esp + 0x19], 0xd2
mov byte [esp + 0x1a], 0xdd
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1c], 0xf1
mov byte [esp + 0x1d], 0xde
mov byte [esp + 0x1e], 0xe6
mov byte [esp + 0x1f], 0xc1
mov byte [esp + 0x20], 0xdf
mov byte [esp + 0x24], 0xcb
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0xf5
mov byte [esp + 0x28], 0xc4
mov byte [esp + 0x2a], 0xeb
mov byte [esp + 0x2c], 0xda
mov byte [esp + 0x2d], 0xe0
mov byte [esp + 0x30], 0xd8
mov byte [esp + 0x33], bl
mov byte [esp + 0x35], dl
mov byte [esp + 0x36], 0xd9
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0xdf
mov byte [esp + 0x39], 0xe0
mov byte [esp + 0x3a], 0xe6
mov byte [esp + 0x3d], 0xcf
mov byte [esp + 0x3e], 0xdd
mov byte [esp + 0x3f], 0xd7
call fcn.004021d0
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x38]
mov dword [esp + 0x15c], ebx
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x50]
push edx
push eax
push str.stup.exe
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0x104
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp eax, ebx
jne 0x409c25
lea ecx, [esp + 0x50]
push str.TENCENTSSPlus
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x409c25
push esi
push str.stup.exe
lea ecx, [esp + 0x44]
call fcn.00402260
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
xor edx, edx
cmp eax, ebx
sete dl
lea ecx, [esp + 0x40]
mov esi, edx
mov dword [esp + 0x160], 0xffffffff
call fcn.00402220
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
add esp, 0x158
ret
lea ecx, [esp + 0x3c]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00402220
mov ecx, dword [esp + 0x154]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x40ad60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push 0
lea ebp, [esi + 0x30]
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x40ad80
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push edi
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 8]
push eax
push ebx
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop edi
jne 0x40adba
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040abd0
test eax, eax
jne 0x40add1
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
push 0x104
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x1c]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x20]
mov word [esi + 0xc], dx
shr ecx, 0x10
mov edx, eax
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x24]
mov word [esi + 0x10], cx
mov ecx, eax
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x2c]
shr ecx, 0x10
shr edx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x30]
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x134]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x38]
push ecx
push str.CompanyName
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.0040ac70
test eax, eax
jne 0x40ae5b
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea edx, [esi + 0x33c]
push 0x104
push edx
push str.FileDescription
mov ecx, esi
call fcn.0040ac70
test eax, eax
jne 0x40ae7e
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [esi + 0x238]
push 0x104
push eax
push str.ProductName
mov ecx, esi
call fcn.0040ac70
neg eax
sbb eax, eax
pop esi
pop ebp
pop ebx
neg eax
add esp, 0x34
ret

Function at 0x40b520
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40c150
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x490
mov ecx, 8
xor eax, eax
push ebx
mov ebx, dword [esp + 0x49c]
push esi
push edi
mov edi, ebx
push 0
rep stosd dword es:[edi], eax
push 0
push 3
stosb byte es:[edi], al
mov eax, dword [esp + 0x4ac]
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c19c
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x490
ret
lea ecx, [esp + 0x44]
push ecx
call fcn.0040b520
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x9c]
push 0
push edx
push 0x400
push eax
push esi
call edi
test eax, eax
je 0x40c203
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x40c203
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0040b550
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x9c]
push 0
push eax
push 0x400
push ecx
push esi
call edi
test eax, eax
jne 0x40c1ca
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0040b600
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea edi, [esp + 0x20]
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
push ecx
push str._02x
push 2
push edi
call sub.MSVCRT.dll__snprintf
add esp, 0x10
inc esi
add edi, 2
cmp esi, 0x10
jl 0x40c222
mov ecx, 8
lea esi, [esp + 0x20]
mov edi, ebx
mov al, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x490
ret

Function at 0x40c300
Capabilities:
Get common file path

Disassembly:
sub esp, 0x244
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x108]
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
pop edi
je 0x40c35e
push esi
mov esi, dword [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop esi
add esp, 0x244
ret
mov eax, 0x13240ce
add esp, 0x244
ret