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

Disassembly:
push ebp
sub esp, 0x21c
lea ebp, [esp - 4]
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push 0x34
mov eax, 0x4beb81
call fcn.004603b7
mov eax, dword [ebp + 0x228]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
xor edi, edi
mov ebx, 0xf003f
push ebx
push edi
mov dword [ebp - 0x34], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call esi
cmp eax, edi
je 0x4277b4
mov ecx, dword [ebp - 0x10]
push 0x4df45c
call fcn.00401130
jmp 0x4278c6
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push str.CommmonSoft
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x4277da
push 0x4df45c
mov ecx, dword [ebp - 0x10]
call fcn.00401130
jmp 0x4278c6
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x4cadc8
push dword [ebp - 0x18]
call esi
cmp eax, edi
push 0x4df45c
jne 0x4277cd
lea ecx, [ebp]
call fcn.00401130
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00422c9e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 4
pop esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], edi
push edi
jmp 0x427866
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401f50
push 0x4cadc4
lea ecx, [ebp]
call fcn.00401f50
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call ebx
test eax, eax
je 0x427832
cmp dword [ebp - 0x14], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42788f
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x18], edi
je 0x427899
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00401eb0
xor esi, esi
inc esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
call fcn.00425e94
push edi
push esi
lea ecx, [ebp]
call fcn.00401330
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x220
leave
ret 4
Function at 0x42821c
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x5c0]
sub esp, 0x640
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x5bc], eax
mov eax, dword [ebp + 0x5c8]
push ebx
mov dword [ebp - 0x78], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x5a8], bx
lea edi, [ebp + 0x5aa]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x206
push edi
lea eax, [ebp + 0x3a2]
push ebx
push eax
mov word [ebp + 0x3a0], bx
call fcn.0045fa70
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4df454
call fcn.0045fe9a
push eax
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.004646af
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.0045fa70
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.0045fa70
add esp, 0x28
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp + 0x5a8]
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x42831a
push dword [ebp - 0x74]
push str._08X
push dword [ebp - 0x78]
call fcn.00460936
add esp, 0xc
jmp 0x428329
push 0x4df45c
push dword [ebp - 0x78]
call fcn.0045fd44
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5bc]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x5c0
leave
ret 4
Function at 0x428366
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xbb8]
sub esp, 0xc38
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0xbb4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x59e]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x59c], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.0045fa70
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x7a6]
push edi
push eax
mov word [ebp + 0x7a4], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x9ae]
push edi
push eax
mov word [ebp + 0x9ac], di
call fcn.0045fa70
add esp, 0x48
push edi
push 0x2b
lea eax, [ebp + 0x7a4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x7a4]
push str._shiqiang_
push eax
call fcn.0045fd1a
pop ecx
pop ecx
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42844c
push edi
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x7a4]
push eax
lea eax, [ebp + 0x9ac]
push eax
call fcn.0045fd44
lea eax, [ebp + 0x9ac]
push str.wnsoft.ini
push eax
call fcn.0045fd1a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x59c]
push eax
mov ebx, 0x4df45c
push ebx
push str.OnlyIdentifier1
mov edi, str.Globals
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x394]
push eax
push ebx
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x18c]
push eax
push ebx
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.OnlyIdentifier4
push edi
call esi
lea eax, [ebp + 0x59c]
push eax
call fcn.0045fe9a
mov esi, eax
lea eax, [ebp + 0x394]
push eax
call fcn.0045fe9a
mov edi, eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0045fe9a
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0045fe9a
add esp, 0x10
test esi, esi
je 0x428588
test edi, edi
je 0x428588
test ebx, ebx
je 0x428588
test eax, eax
je 0x428588
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x59c]
push eax
push dword [esi]
call fcn.0045fd44
lea eax, [ebp + 0x394]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0045fd44
lea eax, [ebp + 0x18c]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0045fd44
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0045fd44
xor eax, eax
add esp, 0x20
inc eax
jmp 0x42858a
xor eax, eax
mov ecx, dword [ebp + 0xbb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fa14
add ebp, 0xbb8
leave
ret
Function at 0x4285a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9b8]
sub esp, 0xa38
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x9b4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x5a4], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0045fa70
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0045fa70
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0045fa70
lea eax, [ebp + 0x7ac]
push str.SOFTWARE_
push eax
call fcn.0045fd44
add esp, 0x44
lea eax, [ebp + 0x7ac]
push str.SmartCloudInput
push eax
call fcn.0045fd1a
lea eax, [ebp + 0x7ac]
push 0x4df450
push eax
call fcn.0045fd1a
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push edi
lea eax, [ebp + 0x7ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4286ec
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x5a4]
push eax
push edi
push edi
push str.OnlyIdentifier1
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x104
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x39c]
push eax
push edi
push edi
push str.OnlyIdentifier2
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push str.OnlyIdentifier3
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push edi
push edi
push str.OnlyIdentifier4
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x5a4]
push eax
call fcn.0045fe9a
mov esi, eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0045fe9a
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.0045fe9a
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push eax
call fcn.0045fe9a
add esp, 0x10
cmp esi, edi
je 0x42878f
cmp ebx, edi
je 0x42878f
cmp dword [ebp - 0x78], edi
je 0x42878f
cmp eax, edi
je 0x42878f
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x5a4]
push eax
push dword [esi]
call fcn.0045fd44
lea eax, [ebp + 0x39c]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0045fd44
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0045fd44
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0045fd44
xor eax, eax
add esp, 0x20
inc eax
jmp 0x428791
xor eax, eax
mov ecx, dword [ebp + 0x9b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fa14
add ebp, 0x9b8
leave
ret
Function at 0x4287a9
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x18a]
push edi
push eax
mov ebx, ecx
mov word [ebp + 0x188], di
call fcn.0045fa70
push esi
lea eax, [ebp - 0x7e]
push edi
push eax
mov word [ebp - 0x80], di
call fcn.0045fa70
add esp, 0x18
push edi
push 0x2b
lea eax, [ebp + 0x188]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x188]
push str._shiqiang_
push eax
call fcn.0045fd1a
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
jne 0x42883c
push edi
lea eax, [ebp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0045fd44
lea eax, [ebp - 0x80]
push str.wnsoft.ini
push eax
call fcn.0045fd1a
add esp, 0x10
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
je 0x4288bf
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
mov edi, str.Globals
push str.OnlyIdentifier1
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push edi
call esi
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fa14
add ebp, 0x394
leave
ret

Function at 0x4288d7
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov edi, 0xf003f
push edi
xor ebp, ebp
push ebp
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428997
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
push str.ShiQiang
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x428997
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov ebx, 0x104
push ebx
push dword [esi]
push 1
push ebp
push str.OnlyIdentifier1
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x208
push eax
push 1
push ebp
push str.OnlyIdentifier2
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x410
push eax
push 1
push ebp
push str.OnlyIdentifier3
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x618
push eax
push 1
push ebp
push str.OnlyIdentifier4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [esp + 0x14]
call esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x429800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x4cb02c
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x429881
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.00460a90
add esp, 0xc
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
push eax
push 1
push dword [esi + 0x74]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
push dword [ebp + 0xc]
call fcn.004297dc
pop ecx
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x42a1c4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edx, edx
xor edi, edi
xor esi, esi
test ebx, ebx
jle 0x42a2d1
cmp ebx, 2
mov eax, dword [ebp + 8]
jl 0x42a1fc
movzx ecx, byte [esi + eax]
cmp ecx, 0x2f72
jne 0x42a1fc
movzx ecx, byte [esi + eax + 1]
cmp ecx, 0x2f6e
je 0x42a22c
mov cl, byte [esi + eax]
movzx eax, cl
cmp eax, 0x2f6e
je 0x42a22c
cmp cl, 0x3d
jne 0x42a214
inc edi
cmp edi, 2
jg 0x42a253
cmp cl, 0x7f
ja 0x42a253
mov al, byte [eax + 0x4cb3f0]
cmp al, 0x7f
je 0x42a253
cmp al, 0x40
jae 0x42a22b
test edi, edi
jne 0x42a253
inc edx
inc esi
dec ebx
cmp esi, dword [ebp + 0xc]
jl 0x42a1db
test edx, edx
je 0x42a2d1
mov ebx, dword [ebp + 0x14]
imul edx, edx, 6
add edx, 7
sar edx, 3
mov eax, edx
cmp dword [ebx], eax
jge 0x42a258
mov dword [ebx], eax
push 0xfffffffffffffff0
jmp 0x42a255
push 0xffffffffffffffee
pop eax
jmp 0x42a2d3
mov ecx, dword [ebp + 0x10]
xor edx, edx
and dword [ebp + 0xc], edx
test esi, esi
push 3
pop edi
jle 0x42a2cc
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
cmp eax, 0x2f72
je 0x42a2c1
cmp eax, 0x2f6e
je 0x42a2c1
movzx eax, byte [eax + 0x4cb3f0]
xor ebx, ebx
cmp al, 0x40
sete bl
shl edx, 6
and eax, 0x3f
or eax, edx
mov edx, eax
sub edi, ebx
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jne 0x42a2c1
and dword [ebp + 0xc], 0
test edi, edi
jle 0x42a2ac
shr eax, 0x10
mov byte [ecx], al
inc ecx
cmp edi, 1
jle 0x42a2b9
mov eax, edx
shr eax, 8
mov byte [ecx], al
inc ecx
cmp edi, 2
jle 0x42a2c1
mov byte [ecx], dl
inc ecx
dec esi
inc dword [ebp + 8]
test esi, esi
jg 0x42a267
mov ebx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0x10]
mov dword [ebx], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42a314
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00430705
mov dword [esi], eax
call fcn.0043083e
mov dword [esi + 8], eax
call fcn.0043067b
mov dword [esi + 0xc], eax
call fcn.004307f4
mov dword [esi + 0x10], eax
call fcn.00430760
mov dword [esi + 0x18], eax
call fcn.004307aa
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [esi + 0x1a0]
push eax
call edi
lea eax, [esi + 0x1b8]
push eax
call edi
lea eax, [esi + 0x1a8]
push eax
call edi
lea eax, [esi + 0x1e8]
push eax
call edi
lea eax, [esi + 0x1c8]
push eax
call edi
lea eax, [esi + 0x1d8]
push eax
call edi
mov eax, dword [0x4f4cc8]
pop edi
mov dword [esi + 0x190], eax
pop esi
ret

Function at 0x42a396
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x1c0]
push edi
call ebp
mov eax, dword [edi]
mov ecx, dword [edi + 4]
lea ebx, [esi + 0x1b8]
sub eax, dword [ebx]
push 0
sbb ecx, dword [ebx + 4]
mov edi, 0x3e8
push edi
push ecx
push eax
call fcn.00464f60
push dword [esi + 0x1fc]
push dword [esi + 0x1f8]
push edx
push eax
call fcn.00464eb0
test edx, edx
jl 0x42a3fd
jg 0x42a3e7
cmp eax, edi
jbe 0x42a3fd
push ebx
call ebp
call fcn.0043067b
mov dword [esi + 0xc], eax
mov eax, dword [0x4f4cc8]
mov dword [esi + 0x190], eax
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42a56a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push esi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov esi, ecx
call fcn.0045fa70
add esp, 0xc
cmp dword [esi + 0x58], 8
jb 0x42a5a9
mov esi, dword [esi + 0x44]
jmp 0x42a5ac
add esi, 0x44
push str.AllSkin
push esi
lea eax, [ebp - 0x20c]
push 0x4c582c
push eax
call fcn.00460936
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop esi
jne 0x42a5e5
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c2bd
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fa14
leave
ret
Function at 0x42a5f1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x188], eax
and word [ebp - 0x80], 0
push ebx
push esi
push edi
push 0x206
lea eax, [ebp - 0x7e]
push 0
push eax
mov esi, ecx
call fcn.0045fa70
add esp, 0xc
cmp dword [esi + 0x3c], 8
jb 0x42a634
mov eax, dword [esi + 0x28]
jmp 0x42a637
lea eax, [esi + 0x28]
push 0x4cb540
push eax
mov ebx, 0x4c582c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00460936
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
jne 0x42a66a
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x3c], 8
jb 0x42a675
mov esi, dword [esi + 0x28]
jmp 0x42a678
add esi, 0x28
push str.Dict
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00460936
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
pop edi
pop esi
pop ebx
jne 0x42a6a3
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x18c
leave
ret

Function at 0x42a75a
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [ebp + 0x396]
push ebx
push eax
mov esi, ecx
mov word [ebp + 0x394], bx
call fcn.0045fa70
lea eax, [ebp + 0x394]
push str.SOFTWARE_
push eax
call fcn.0045fd44
lea eax, [ebp + 0x394]
push str.SmartCloudInput
push eax
call fcn.0045fd1a
add esp, 0x1c
cmp dword [esi + 0x58], 8
jb 0x42a7c4
mov eax, dword [esi + 0x44]
jmp 0x42a7c7
lea eax, [esi + 0x44]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0045fd44
cmp dword [esi + 0x3c], 8
pop ecx
pop ecx
jb 0x42a7e1
mov esi, dword [esi + 0x28]
jmp 0x42a7e4
add esi, 0x28
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0045fd44
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
push 2
push ebx
lea eax, [ebp + 0x394]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a841
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
push 1
push ebx
push str.CfgRootPath
push dword [ebp - 0x80]
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
push str.CfgUserPath
push dword [ebp - 0x80]
call esi
pop edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x59c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fa14
add ebp, 0x5a0
leave
ret
Function at 0x42b340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x42b361
mov eax, dword [esi + 0x44]
jmp 0x42b364
lea eax, [esi + 0x44]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x4c582c
push eax
call fcn.00460936
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b39c
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c2bd
pop ecx
lea eax, [ebp - 0x20c]
push str.Config.ini
push eax
call fcn.0045fd1a
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x5c]
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045fa14
leave
ret

Function at 0x42b3cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x42b3ec
mov eax, dword [esi + 0x44]
jmp 0x42b3ef
lea eax, [esi + 0x44]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x4c582c
push eax
call fcn.00460936
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b427
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c2bd
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0045fd1a
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xe8]
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045fa14
leave
ret

Function at 0x42b51d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x42b53e
mov eax, dword [esi + 0x44]
jmp 0x42b541
lea eax, [esi + 0x44]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x4c582c
push eax
call fcn.00460936
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b579
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c2bd
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x158]
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045fa14
leave
ret