joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c993
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5c30d8]
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 ebx, ecx
mov dword [ebp - 0xc8], ebx
mov ecx, dword [ebx + 0x690]
test ecx, ecx
je 0x4bc29a
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004c44ae
push eax
lea ecx, [ebp - 0x28]
call fcn.004a0c80
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.004c3f71
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bc1a4
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jle 0x4bc271
push 3
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a5f90
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
neg esi
sbb esi, esi
and esi, 1
cmp ecx, 8
jb 0x4bc1fc
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00499ac0
test esi, esi
je 0x4bc271
mov ecx, dword [ebx + 0x67c]
test ecx, ecx
je 0x4bc214
mov eax, dword [ecx]
push 1
call dword [eax + 0xe8]
mov esi, dword [ebx + 0x524]
xor ecx, ecx
mov eax, dword [ebx + 0x528]
xor edi, edi
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x4bc258
mov edx, dword [esi]
test edx, edx
je 0x4bc250
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 8]
inc edi
add esi, 4
cmp edi, ebx
jne 0x4bc237
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004bb700
jmp 0x4bc285
mov ecx, dword [ebx + 0x67c]
test ecx, ecx
je 0x4bc285
mov eax, dword [ecx]
push 0
call dword [eax + 0xe8]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bc29a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00499ac0
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.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4bc2c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ca00
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5c30d8]
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 eax, dword [0x5cfb5c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
test eax, eax
jne 0x4bc335
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4bc327
mov ecx, eax
call fcn.004a85e0
jmp 0x4bc329
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004c5e40
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x5cfb5c]
test eax, eax
jne 0x4bc385
push 0x5dc
call fcn.004bc94c
add esp, 4
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4bc377
mov ecx, eax
call fcn.004a85e0
jmp 0x4bc379
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cfb5c], eax
push 1
push 0x190
push 0x258
push dword [ebp - 0x24]
mov ecx, eax
push dword [ebp - 0x28]
call fcn.004c5e40
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x690]
lea edx, [ebp - 0xac]
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004c44ae
mov esi, eax
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x4bc3d7
sub esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
sar esi, 1
call fcn.004c3f71
cmp esi, 3
jl 0x4bc43e
mov ecx, dword [edi + 0x690]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 3
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004c44ae
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00510759
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004c3f71
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [edi + 0x528]
xor ecx, ecx
mov esi, dword [edi + 0x524]
mov ebx, eax
sub ebx, esi
xor edi, edi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x4bc493
mov ecx, dword [esi]
test ecx, ecx
je 0x4bc48b
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
add esi, 4
cmp edi, ebx
jne 0x4bc480
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.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4bc4b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bc527
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4bc527
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret

Function at 0x4be461
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x24]
push eax
xor eax, eax
push eax
push esi
push 0x4be44f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
pop esi
test eax, eax
je 0x4be48f
cmp eax, 0xffffffff
je 0x4be48f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x4c231c
Capabilities:
Create directory

Disassembly:
push 0x49c
mov eax, 0x55cf14
call fcn.0052a9a8
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4c233b
xor eax, eax
jmp 0x4c24c3
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00507800
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00518e40
push edi
xor esi, esi
call fcn.00518d00
mov edi, eax
mov dword [ebp - 0x214], 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x228], ax
push 0x100
push ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ecx
push eax
call fcn.00507800
add esp, 0x24
cmp byte [ebp + edi - 0x111], 0x5c
je 0x4c23aa
mov byte [ebp + edi - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x4c24b1
mov al, byte [ebp + esi - 0x110]
cmp al, 0x3a
jne 0x4c23ca
push 2
pop eax
jmp 0x4c24a1
cmp al, 0x5c
jne 0x4c249e
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00507280
add esp, 0xc
cmp esi, 0x100
jae 0x4c24df
lea eax, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
push eax
lea ecx, [ebp - 0x240]
call fcn.004a8580
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.004c2a32
push eax
lea ecx, [ebp - 0x228]
call fcn.004a6290
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.004c2b53
push 0
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.004be6ab
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4c249e
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4c24cb
xor eax, eax
inc eax
add esi, eax
cmp byte [ebp + esi - 0x110], 0
jne 0x4c23b7
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.004c2b53
xor eax, eax
inc eax
call fcn.0052a963
ret 4
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.004c2b53
jmp 0x4c2334
call fcn.004bd478
int3

Function at 0x4c2a04
Capabilities:
Create thread

Disassembly:
mov edx, dword [ecx + 0x300]
or eax, 0xffffffff
cmp edx, eax
je 0x4c2a16
cmp edx, 1
jne 0x4c2a31
xor eax, eax
push eax
push eax
push ecx
push 0x4c27a2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x4c2daa
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x61c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00507800
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00507800
push ebx
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00507800
push ebx
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.00507800
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00507800
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00507800
add esp, 0x48
lea eax, [ebp - 0x414]
push esi
push 0x2b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push str._shiqiang_
push eax
call fcn.005193d8
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c2e63
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00519409
lea eax, [ebp - 0x20c]
push str.wnsoft.ini
push eax
call fcn.005193d8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x10
mov ebx, str.Globals
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x560c80
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x560c80
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x560c80
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x560c80
push str.OnlyIdentifier4
push ebx
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.00518e1c
mov esi, eax
lea eax, [ebp - 0x824]
push eax
call fcn.00518e1c
mov dword [ebp - 0xc38], eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00518e1c
mov ebx, eax
lea eax, [ebp - 0xc34]
push eax
call fcn.00518e1c
add esp, 0x10
test esi, esi
je 0x4c2fb9
cmp dword [ebp - 0xc38], 0
je 0x4c2fb9
test ebx, ebx
je 0x4c2fb9
test eax, eax
je 0x4c2fb9
lea eax, [ebp - 0x61c]
push eax
push dword [edi]
call fcn.00519409
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00519409
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00519409
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00519409
xor eax, eax
add esp, 0x20
inc eax
jmp 0x4c2fbb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4c340a
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x55cf7f
call fcn.0052a9a8
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], 4
call fcn.00518e1c
push eax
push 0
push ebx
call fcn.00507800
push 0x288
call fcn.0050b382
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4c33fd
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4c32c9
push esi
call fcn.0050b37d
push dword [ebp - 0x48]
call fcn.0050b382
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4c33fd
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4c33f6
and dword [ebp - 0x4c], eax
lea edi, [ebp - 0x2a]
push 6
pop ecx
mov word [ebp - 0x2c], ax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
and dword [ebp - 4], ecx
mov edi, esi
test esi, esi
je 0x4c33c7
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x2c]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004a5fd0
lea eax, [edi + 0x10c]
push eax
call fcn.00557e40
push 0x565ddc
push eax
call fcn.00508700
add esp, 0x2c
test eax, eax
jne 0x4c3405
cmp dword [edi + 0x1a0], 0x47
je 0x4c3405
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp word [ebp - 0x2c], ax
je 0x4c338a
lea eax, [ebp - 0x2c]
push eax
call fcn.00518e1c
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00499940
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.004bae30
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004c2b53
mov edi, dword [edi]
test edi, edi
jne 0x4c32ff
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4c33ee
push 0
lea ecx, [ebp - 0x54]
call fcn.004c3d3f
cmp dword [eax + 0x14], 8
jb 0x4c33e5
mov eax, dword [eax]
push eax
push ebx
call fcn.00519409
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.004c3ccd
push esi
call fcn.0050b37d
pop ecx
call fcn.0052a963
ret 4
lea eax, [ebp - 0x2c]
jmp 0x4c33e5
push ebp
mov ebp, esp
lea ecx, [ebp + 0xb]
pop ebp
jmp 0x4c3264
Function at 0x4c343d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.00507800
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00507800
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.00507800
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.00507800
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00507800
lea eax, [ebp - 0x20c]
push 0x560da0
push eax
call fcn.00519409
add esp, 0x44
lea eax, [ebp - 0x20c]
push str.MySoft
push eax
call fcn.005193d8
lea eax, [ebp - 0x20c]
push 0x560cec
push eax
call fcn.005193d8
add esp, 0x10
lea eax, [ebp - 0xa34]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c3586
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xa30], 0x104
push eax
push ebx
push ebx
push str.OnlyIdentifier1
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
push ebx
push str.OnlyIdentifier2
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
push ebx
push str.OnlyIdentifier3
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push ebx
push str.OnlyIdentifier4
push dword [ebp - 0xa34]
call esi
push dword [ebp - 0xa34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push eax
call fcn.00518e1c
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00518e1c
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.00518e1c
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00518e1c
add esp, 0x10
test esi, esi
je 0x4c3636
cmp dword [ebp - 0xa30], 0
je 0x4c3636
test ebx, ebx
je 0x4c3636
test eax, eax
je 0x4c3636
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.00519409
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00519409
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00519409
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00519409
xor eax, eax
add esp, 0x20
inc eax
jmp 0x4c3638
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcc20
mov esp, ebp
pop ebp
ret
Function at 0x4c3649
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.00507800
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x565df4
call fcn.00518e1c
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0050f78d
push edi
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.00507800
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.00507800
add esp, 0x28
mov dword [ebp - 0x634], ebx
mov ecx, 0x104
mov dword [ebp - 0x63c], ebx
lea eax, [ebp - 0x428]
mov dword [ebp - 0x638], ebx
push ecx
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x634]
push eax
push ecx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4c3735
push dword [ebp - 0x634]
push str._08X
push esi
call fcn.004a5fd0
add esp, 0xc
jmp 0x4c3742
push 0x560c80
push esi
call fcn.00519409
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 4
Function at 0x4c394a
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.00507800
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00507800
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str._shiqiang_
push eax
call fcn.005193d8
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
pop ecx
pop ecx
push eax
call esi
test eax, eax
jne 0x4c39cd
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00519409
lea eax, [ebp - 0x414]
push str.wnsoft.ini
push eax
call fcn.005193d8
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x4c3a62
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [edi]
mov ebx, str.Globals
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcc20
mov esp, ebp
pop ebp
ret

Function at 0x4c3c0b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov ebx, 0xf003f
push eax
push ebx
xor esi, esi
mov edi, ecx
push esi
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c3cc6
push esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push esi
push esi
push esi
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c3cc6
mov ebx, 0x104
push ebx
push dword [edi]
push 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push ebx
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push ebx
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push ebx
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c60ae
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4c60d1
or esi, 1
push 1
call edi
test ax, ax
jns 0x4c60dd
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4c60e9
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4c60f5
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x4c87ee
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx + 4]
je 0x4c8821
cmp esi, dword [ebx + 0x60]
je 0x4c88e3
cmp byte [ebx + 0xc4], 0
jne 0x4c8821
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x60]
je 0x4c88e3
cmp dword [ebx + 0x60], 0
push edi
je 0x4c8874
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x60]
call fcn.004c84f7
mov dword [ebx + 0x60], edi
test esi, esi
je 0x4c88e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
jne 0x4c88e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x4c88e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
test al, al
je 0x4c88e2
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x60], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x60]
call fcn.004c84f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4