joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d5570
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x64
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x60], eax
cmp dword [0x5838a0], 0
push esi
jne 0x4d57f4
cmp dword [0x5838a4], 0
jne 0x4d57f4
cmp dword [0x5838a8], 0
jne 0x4d57f4
cmp dword [0x5838ac], 0
jne 0x4d57f4
cmp dword [0x5838b0], 0
jne 0x4d57f4
cmp dword [0x5838b4], 0
jne 0x4d57f4
cmp dword [0x5838b8], 0
jne 0x4d57f4
cmp dword [0x5838bc], 0
jne 0x4d57f4
xor eax, eax
mov dword [esp + 0x5e], 0
xorps xmm0, xmm0
mov word [esp + 0x62], ax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x24]
push eax
movlpd qword [esp + 0x42], xmm0
movlpd qword [esp + 0x4a], xmm0
movlpd qword [esp + 0x52], xmm0
movlpd qword [esp + 0x5a], xmm0
mov dword [esp + 0x28], 0x640041
mov dword [esp + 0x2c], 0x610076
mov dword [esp + 0x30], 0x690070
mov dword [esp + 0x34], 0x320033
mov dword [esp + 0x38], 0x64002e
mov dword [esp + 0x3c], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5838a0], eax
test eax, eax
je 0x4d57f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 4]
xorps xmm0, xmm0
mov byte [esp + 0x23], 0
push ecx
push eax
movlpd qword [esp + 0x1b], xmm0
movlpd qword [esp + 0x23], xmm0
mov dword [esp + 0xc], 0x6e65704f
mov dword [esp + 0x10], 0x614d4353
mov dword [esp + 0x14], 0x6567616e
mov word [esp + 0x18], 0x5772
mov byte [esp + 0x1a], 0
call esi
mov dword [0x5838a4], eax
test eax, eax
je 0x4d57f4
lea eax, [esp + 4]
mov dword [esp + 4], 0x6e65704f
push eax
push dword [0x5838a0]
mov dword [esp + 0x10], 0x76726553
mov dword [esp + 0x14], 0x57656369
mov byte [esp + 0x18], 0
call esi
mov dword [0x5838a8], eax
test eax, eax
je 0x4d57f4
lea eax, [esp + 4]
mov dword [esp + 4], 0x61657243
push eax
push dword [0x5838a0]
mov dword [esp + 0x10], 0x65536574
mov dword [esp + 0x14], 0x63697672
mov word [esp + 0x18], 0x5765
mov byte [esp + 0x1a], 0
call esi
mov dword [0x5838ac], eax
test eax, eax
je 0x4d57f4
movaps xmm0, xmmword [0x539670]
lea eax, [esp + 4]
push eax
push dword [0x5838a0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x32676966
mov word [esp + 0x20], 0x57
call esi
mov dword [0x5838b0], eax
test eax, eax
je 0x4d57f4
movaps xmm0, xmmword [0x539670]
lea eax, [esp + 4]
push eax
push dword [0x5838a0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x57676966
mov byte [esp + 0x20], 0
call esi
mov dword [0x5838b4], eax
test eax, eax
je 0x4d57f4
movaps xmm0, xmmword [0x539660]
lea eax, [esp + 4]
push eax
push dword [0x5838a0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x576769
call esi
mov dword [0x5838b8], eax
test eax, eax
je 0x4d57f4
movaps xmm0, xmmword [str.CloseServiceHandQueryServiceConfChangeServiceConR]
lea eax, [esp + 4]
push eax
push dword [0x5838a0]
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x656c
mov byte [esp + 0x1e], 0
call esi
mov dword [0x5838bc], eax
test eax, eax
je 0x4d57f4
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004e679a
add esp, 0x64
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.004e679a
add esp, 0x64
ret
Function at 0x4d5a20
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 8
xorps xmm3, xmm3
xorps xmm2, xmm2
mov edx, 0x183
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
lea eax, [ebx + 4]
nop dword [eax]
movd xmm1, dword [eax - 4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
lea eax, [eax + 8]
punpcklwd xmm1, xmm0
paddd xmm3, xmm1
movd xmm1, dword [eax - 8]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
sub edx, 1
jne 0x4d5a40
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
push edx
psrldq xmm0, 4
push 0x80
paddd xmm2, xmm0
movd ecx, xmm2
push 4
push edx
push edx
cmp ecx, 2
push 0x40000000
lea eax, [ecx - 2]
cmovbe eax, ecx
push esi
mov dword [ebx + 0xc18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x4d5b21
push ebp
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0xc1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x18], 0xc1c
je 0x4d5b19
mov eax, dword [esp + 0xc]
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4d9250
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x224]
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x228]
push eax
push 0x53a4d4
push 1
push 0
push 0x53a514
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4d9431
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d9431
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov eax, dword [ecx]
push edx
push 0x53a4f4
push ecx
call dword [eax]
test eax, eax
js 0x4d9427
cmp dword [esp + 0x10], 0
je 0x4d9427
push edi
call fcn.0040f460
add esp, 4
test al, al
je 0x4d92ff
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x4d92f2
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x208
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4d931d
mov eax, dword [esi]
push 0x103
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4d9343
mov edx, dword [esi]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebx + 0x10], 0
je 0x4d9376
cmp dword [ebx + 0x14], 8
jb 0x4d936b
mov ebx, dword [ebx]
mov eax, dword [esp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d9380
mov eax, dword [esi]
push ebp
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, eax
xor ecx, ecx
mov edx, 2
lea eax, [ebp + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e6ffd
lea ecx, [ebp*2 + 2]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.004e8f30
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4d93c4
mov esi, dword [esi]
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ebp
test eax, eax
jle 0x4d93ec
test esi, esi
je 0x4d93ec
mov eax, dword [esp + 0xc]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
push ebx
call fcn.004e6ff8
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x4d93fd
mov edi, dword [edi]
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [esp + 0x10]
test eax, eax
push ecx
sete bl
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0xc]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
jmp 0x4d9433
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e679a
add esp, 0x214
ret 0xc
Function at 0x4d9450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5333f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
call fcn.0042a550
test al, al
je 0x4d949b
push edi
mov ecx, esi
call fcn.004daff0
jmp 0x4d963e
call fcn.0042a450
test al, al
je 0x4d95e2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0
mov ecx, esi
call fcn.004dac00
test al, al
jne 0x4d94f4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408080
xor al, al
jmp 0x4d963e
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push 0x5398d4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004092c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411c20
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4d9575
mov ecx, eax
call fcn.00409250
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00408080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00408080
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.004096f0
lea eax, [ebp - 0x28]
push eax
call fcn.0040f460
add esp, 4
test al, al
je 0x4d94de
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg byte [ebp - 0x59]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
jmp 0x4d9636
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str._startfixed_quicklaunch
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004092c0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x60]
mov ecx, esi
push edi
call fcn.004d9250
mov byte [ebp - 0x59], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408080
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 8
Function at 0x4dac00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x218]
lea eax, [esp + 4]
push 0x208
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0
push 0
push dword [esp + 0x220]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4dac66
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e679a
add esp, 0x20c
ret 8
lea edx, [esp + 4]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4dac70
sub edx, ecx
lea eax, [esp + 4]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.004092c0
mov ecx, dword [esp + 0x20c]
mov al, 1
pop esi
xor ecx, esp
call fcn.004e679a
add esp, 0x20c
ret 8
Function at 0x4dcf50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
call fcn.004b6520
add esp, 4
mov dword [ebp - 4], 0
xor eax, eax
push 0xa
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0
push str.config.ini
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004092c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00411c20
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.00408080
lea eax, [ebp - 0x264]
push eax
call fcn.0040f460
add esp, 4
test al, al
jne 0x4dd027
mov byte [ebp - 0x295], al
jmp 0x4dd1d3
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x548190
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xb
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
push str.Application
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004092c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00411c20
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.00408080
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dd120
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.004092c0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00411c20
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 8
cmp edi, esi
je 0x4dd197
mov ecx, edi
call fcn.00409250
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.00408080
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24c]
call fcn.00408080
push edi
call fcn.0040f350
add esp, 4
mov byte [ebp - 0x295], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00408080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00408080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00408080
mov al, byte [ebp - 0x295]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret
Function at 0x4def80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5345ce
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], 1
call fcn.0042a450
push 0x208
test al, al
lea eax, [ebp - 0x218]
push 0
push eax
je 0x4df0d8
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4df057
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004092c0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
push str.Low2345Pinyin2345PinyinDisplay.dat
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00411f50
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 2
cmp esi, edi
je 0x4df0cf
mov ecx, esi
call fcn.00409250
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
jmp 0x4df1ac
call fcn.004e8f30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4df130
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004092c0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x230]
push str.2345Pinyin2345PinyinDisplay.dat
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00411f50
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 4
cmp esi, edi
je 0x4df1a8
mov ecx, esi
call fcn.00409250
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00408080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00408080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret
Function at 0x4ff673
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ff333
Function at 0x50fe60
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x536049
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x218]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov word [ebp], ax
mov word [ebp + 0x208], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x21c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x50ff1a
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x50ff09
push 0x104
lea eax, [ebp]
push eax
push 0x8000
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0050fd20
add esp, 0x14
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x50ff1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50ff33
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004092c0
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x50ff67
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0x210]
pop ebp
ret

Function at 0x510080
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x57f578]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
mov ebx, dword [esp + 0x424]
push esi
mov esi, dword [esp + 0x42c]
push edi
mov edi, ecx
test ebx, ebx
jne 0x5100af
xor al, al
jmp 0x5100e7
mov eax, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
or eax, 0x20019
mov dword [esp + 0x10], 0
push eax
push esi
push ebx
mov ecx, edi
call fcn.00510620
test al, al
je 0x5100e5
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
je 0x510101
mov byte [edi + 1], 1
mov al, 1
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e679a
add esp, 0x41c
ret 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x51010b
mov eax, dword [esi]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x5100e5
cmp dword [esi + 0x14], 8
jb 0x51011f
mov esi, dword [esi]
push 0x412
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e8f30
lea ecx, [esp + 0x1c]
add esp, 0xc
mov eax, ecx
mov edx, 0x208
sub esi, eax
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x51015e
movzx eax, word [esi + ecx]
test ax, ax
je 0x51015e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x510140
push dword [edi + 4]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00510930
add esp, 0xc
test eax, eax
setne al
jmp 0x5100e7
Function at 0x510460
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52de10
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], ebx
test ebx, ebx
jne 0x5104a1
xor al, al
jmp 0x51055c
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x5104d0
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x44], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x510500
sub ecx, dword [ebp - 0x44]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004092c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push ebx
call fcn.00510720
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408080
test bl, bl
je 0x510549
cmp byte [edi], 0
je 0x51057a
mov byte [edi + 1], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408080
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x14], 8
jb 0x510582
mov esi, dword [esi]
push esi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x510549
xor bl, bl
jmp 0x51054b