joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432ef0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x410
push 0x727708
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x432fae
mov ax, word [0x500df0]
push esi
mov edx, dword [0x73ff2c]
push edi
mov word [esp + 8], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x214]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.004a8e10
add esp, 0x10
lea eax, [esp + 8]
push 0x104
push eax
push 0x727708
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [esp + 0x41c]
lea ecx, [esp + 8]
lea edx, [esp + 0x210]
push ecx
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 1
push esi
call fcn.004a8ef0
mov eax, dword [esp + 0x42c]
add esp, 8
test eax, eax
je 0x432fa0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x432fa0
push esi
call fcn.004a9280
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x410
ret
xor eax, eax
add esp, 0x410
ret

Function at 0x432fc0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x410
push 0x726ea4
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x433072
mov ax, word [0x500df0]
mov edx, dword [0x73ff2c]
push edi
mov word [esp + 0x20c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x20e]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x210]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.004a8e10
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x14], ax
xor eax, eax
lea edi, [esp + 0x16]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push 0x104
push ecx
push 0x726ea4
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esp + 0x418]
lea edx, [esp + 4]
lea eax, [esp + 0x20c]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 1
pop edi
add esp, 0x410
ret
xor eax, eax
add esp, 0x410
ret

Function at 0x433120
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x410
push 0x7270ac
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x4331e2
mov ax, word [0x500df0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push 0x104
push ecx
stosw word es:[edi], ax
call fcn.00432fc0
add esp, 8
cmp word [esp + 4], 0
jne 0x433182
push 1
lea edx, [esp + 8]
push 6
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x20c], ax
xor eax, eax
lea edi, [esp + 0x20e]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x210]
push ecx
push 0x7270ac
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esp + 0x418]
lea edx, [esp + 0x20c]
lea eax, [esp + 4]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 1
pop edi
add esp, 0x410
ret
mov edx, dword [esp + 0x418]
mov eax, dword [esp + 0x414]
push edx
push eax
call fcn.00432fc0
add esp, 8
add esp, 0x410
ret
Function at 0x433260
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1088
call fcn.004d4ce0
mov eax, dword [0x4ed808]
mov ecx, dword [0x4ed80c]
mov dword [esp + 8], eax
xor edx, edx
lea eax, [esp + 4]
push edi
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x1c], ecx
mov word [esp + 0x28], dx
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4333a1
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__itow]
push ebp
push esi
lea ecx, [esp + 0x1e]
push 0xa
xor esi, esi
push ecx
push edi
mov word [esp + 0x10a2], si
mov dword [esp + 0x1c], 0x1046
call ebx
add esp, 0xc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push esi
push ecx
push edx
mov dword [esp + 0x44], 7
call ebp
test eax, eax
jne 0x433393
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x43335b
mov edx, dword [esp + 0x10a0]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x34], esi
push eax
inc esi
mov dword [esp + 0x3c], ecx
call fcn.00433210
mov edx, dword [esp + 0x10a4]
add esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], eax
push ecx
push 0xffffffffffffffff
push 0x40b
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x1e]
inc edi
push 0xa
push eax
push edi
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x1046
call ebp
test eax, eax
je 0x433305
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1088
ret
Function at 0x433680
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, 0x127c
call fcn.004d4ce0
mov eax, dword [0x722ac4]
push ebx
push ebp
push esi
cmp eax, 2
push edi
je 0x43386d
cmp eax, 1
je 0x43386d
xor ebx, ebx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], bx
mov esi, dword [esp + 0x1294]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4ed80c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
stosw word es:[edi], ax
mov eax, dword [0x4ed808]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1290]
cmp esi, ebx
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], ebx
je 0x43376d
cmp word [esi], bx
je 0x43386d
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push edx
push esi
push edi
call fcn.004335b0
add esp, 0xc
cmp eax, ebx
je 0x43386d
cmp eax, 0xffffffff
je 0x433742
push ebx
push eax
push 0x144
push edi
call ebp
mov eax, dword [esp + 0x10]
jmp 0x433753
mov eax, dword [esp + 0x1298]
push eax
push esi
call fcn.00433210
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
push ecx
push ebx
push 0x40b
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
call ebp
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x14]
push edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x43386d
push ebx
push ebx
push 0x146
push edi
call ebp
cmp eax, 0x18
mov dword [esp + 0x10], eax
jle 0x4337b9
mov dword [esp + 0x10], 0x18
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, ebx
jle 0x433862
mov ebx, 1
lea ecx, [esp + 0x18]
lea eax, [esp + 0x244]
push ecx
push 0
push 0x40d
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 0x824
mov dword [esp + 0x30], eax
mov word [esp + 0x254], 0
call ebp
lea edx, [esp + 0x42]
push 0xa
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__itow]
push esi
push edi
call fcn.00409640
add esp, 0x14
test eax, eax
jne 0x433855
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433855
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x433855
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x24]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x48]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc ebx
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4337c8
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x127c
ret
Function at 0x433c90
Capabilities:
Parse url

Disassembly:
sub esp, 0x44c
push ebx
push esi
mov esi, dword [esp + 0x458]
test esi, esi
je 0x433d72
mov ebx, dword [esp + 0x45c]
test ebx, ebx
je 0x433d72
mov dx, word [0x500df0]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x252]
mov word [esp + 0x250], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x250]
push edx
mov dword [esp + 0x14], eax
mov eax, 0x104
lea ecx, [esp + 0x4c]
push 0
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x433d72
mov edx, dword [esp + 0x460]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24c]
push eax
push ecx
dec edx
push str._s:___s_favicon.ico
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop esi
pop ebx
add esp, 0x44c
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x44c
ret

Function at 0x433d80
Capabilities:
Copy file
Timestomp file

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
test esi, esi
je 0x433e24
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x433e24
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x433e24
lea eax, [esp + 0xc]
push ebp
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433e20
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x433e20
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebp
push ebx
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4344c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x42c
push esi
lea eax, [esp + 4]
push edi
push eax
xor esi, esi
push 0x4df8d8
push 1
push esi
push 0x4df8e8
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4345b7
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
mov ecx, dword [eax]
push 0x4df928
push eax
call dword [ecx]
test eax, eax
jl 0x4345ad
mov eax, dword [esp + 8]
push esi
push str.http:__about:blank
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jl 0x4345a3
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], dx
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
lea edx, [esp + 0x18]
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
push edx
lea edx, [esp + 0x2c]
push 0x104
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4345a3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0x10
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x34]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4345a3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x434643
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], dx
mov word [esp + 0x22c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22e]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x104
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x22c]
push eax
push str._surl.dll
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x22c]
push 1
push edx
push esi
push esi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x42c
ret
Function at 0x4347e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
push edi
call ebx
mov ebp, dword [esp + 0x220]
add esp, 4
shl eax, 1
push eax
push edi
push 1
push 0x500df0
push ebp
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x18]
push str.opencommand
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x234]
push esi
call ebx
add esp, 0x14
lea edx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x500df0
push edx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push ebp
push str._s_scommand
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebx
add esp, 0x18
lea ecx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x500df0
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x4348b0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x228
push ebx
mov ebx, dword [esp + 0x230]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
push edi
mov dword [esp + 0x14], str.mhtmlfile
mov dword [esp + 0x18], str.htmlfile
mov dword [esp + 0x1c], str.InternetShortcut
mov dword [esp + 0x20], str.https
mov dword [esp + 0x24], 0x4ef360
mov dword [esp + 0x28], str.file
mov dword [esp + 0x2c], 0x4ef684
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 7
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push eax
push ecx
call ebp
lea edx, [esp + 0x38]
push str._shell_
push edx
call esi
lea eax, [esp + 0x40]
push ebx
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x434911
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret
Function at 0x435100
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x828
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
lea ecx, [esp + 0x41c]
push eax
push ecx
push edx
push 0x4effb8
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x435226
mov dx, word [0x500df0]
mov ecx, 0x81
lea edi, [esp + 0x216]
mov word [esp + 0x214], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff2c]
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [esp + 0x218]
push 0x104
lea eax, [esp + 0x14]
push edx
push eax
call esi
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x628], cx
mov ecx, 0x81
lea edi, [esp + 0x62a]
lea edx, [esp + 0x628]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x424]
push edx
push eax
call esi
lea ecx, [esp + 0x218]
lea edx, [esp + 0x628]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
neg eax
sbb eax, eax
pop esi
inc eax
pop edi
add esp, 0x828
ret
call fcn.004350c0
neg eax
sbb eax, eax
pop edi
inc eax
add esp, 0x828
ret
Function at 0x4354d0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x418
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff2c]
stosw word es:[edi], ax
lea eax, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0xc], 0x208
mov dword [esp + 8], 1
call fcn.004350c0
test eax, eax
je 0x435657
cmp dword [esp + 0x424], esi
je 0x4355c5
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x4effb8
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
jne 0x435591
lea edx, [esp + 0x10]
push edx
call edi
add esp, 4
shl eax, 1
push eax
lea eax, [esp + 0x14]
push eax
push 1
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x218]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x218]
shl eax, 1
push eax
push edx
push 1
push 0x4effb8
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
mov word [esp + 0x28], si
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x435657
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x10]
push eax
call edi
add esp, 4
test eax, eax
jbe 0x435657
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x4effb8
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x10]
shl eax, 1
push eax
push edx
push 1
push 0x4effb8
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0x418
ret
Function at 0x435a20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
lea esi, [eax*4]
push ecx
mov edx, dword [edi]
push 0x40
add edx, esi
push 4
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [edi]
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0xc]
push eax
push 4
add edx, esi
push ecx
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x435a9b
mov edx, dword [edi]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push 4
add edx, esi
push ecx
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x435a9b
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x435ce0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x1258
call fcn.004d4ce0
push esi
push edi
mov edi, dword [esp + 0x1264]
mov dword [esp + 8], 0x104
test edi, edi
je 0x435e11
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
push reloc.DSOUND.dll_DirectSoundCreate
call esi
test eax, eax
je 0x435d4f
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push closesocket
call esi
test eax, eax
je 0x435d4f
mov edx, dword [edi + 4]
push 0
push 2
push 0x9410
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x1258
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0x500df0
push edx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x435dfe
cmp word [esp + 0x10], 0x22
jne 0x435d98
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x435dad
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x435dc5
mov word [eax], 0
lea ecx, [esp + 0x218]
push 0
push ecx
mov ecx, edi
call fcn.004a0e30
test eax, eax
je 0x435dfe
push 5
lea edx, [esp + 0x21c]
push 0
push edx
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x435e11
mov eax, dword [edi + 4]
push 0
push 2
push 0x9410
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x1258
ret
Function at 0x435e20
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
push edx
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 0x50
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x435e80
mov eax, dword [esp + 0x1e]
push eax
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret

Function at 0x435f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
mov ebx, dword [esp + 0x42c]
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x434]
push ebx
push str.CLSID_sInprocServer32
lea ecx, [esp + 0x20]
lea edi, [eax + eax]
push 0x103
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 1
call ebp
mov eax, dword [esp + 0x440]
add esp, 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push str.CodeBase
push edx
push closesocket
call esi
test eax, eax
jne 0x435fb5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
mov ecx, dword [esp + 0x430]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x24]
push 0
push eax
push closesocket
call esi
test eax, eax
jne 0x435fe9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
push ebx
push str.CLSID_sLocalServer32
lea ecx, [esp + 0x20]
push 0x103
push ecx
call ebp
mov eax, dword [esp + 0x440]
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push 0
push edx
push closesocket
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x436036
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str.CLSID_sTreatAs
lea eax, [esp + 0x20]
push 0x103
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x220]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push closesocket
mov dword [esp + 0x28], 0x208
call esi
test eax, eax
jne 0x4360be
mov edx, dword [esp + 0x434]
mov eax, dword [esp + 0x430]
push edx
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.00435f20
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
mov edx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
mov word [edx], 0
xor eax, eax
pop ebx
add esp, 0x418
ret