joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b53f
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x2c
mov eax, 0x100e8a5f
call fcn.100773f7
mov ebx, dword [ebp + 0x128]
lea eax, [ebp - 0x38]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp]
push edi
push eax
call fcn.10077be0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x1011e03c
mov ecx, ebx
call fcn.10001df0
mov eax, dword [ebp + 4]
xor ecx, ecx
inc ecx
sub eax, 4
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ecx
je 0x1001b6b0
dec eax
je 0x1001b678
dec eax
je 0x1001b5f9
sub eax, 4
je 0x1001b5db
push str.Unknown_Operating_System
jmp 0x1001b6e6
cmp byte [ebp + 0x11a], cl
mov ecx, ebx
jne 0x1001b5ef
push str.Microsoft_Windows_10_Insider_Preview
jmp 0x1001b6e8
push str.Microsoft_Windows_Server_Technical_Preview
jmp 0x1001b6e8
mov eax, dword [ebp + 8]
sub eax, edi
je 0x1001b660
dec eax
je 0x1001b642
dec eax
je 0x1001b624
cmp byte [ebp + 0x11a], cl
mov ecx, ebx
jne 0x1001b61a
push str.Microsoft_Windows_8.1
jmp 0x1001b6e8
push str.Microsoft_Windows_Server_2012_R2
jmp 0x1001b6e8
cmp byte [ebp + 0x11a], cl
mov ecx, ebx
jne 0x1001b638
push str.Microsoft_Windows_8
jmp 0x1001b6e8
push str.Microsoft_Windows_Server_2012
jmp 0x1001b6e8
cmp byte [ebp + 0x11a], cl
mov ecx, ebx
jne 0x1001b656
push str.Microsoft_Windows_7
jmp 0x1001b6e8
push str.Microsoft_Windows_Server_2008_R2
jmp 0x1001b6e8
cmp byte [ebp + 0x11a], cl
mov ecx, ebx
jne 0x1001b671
push str.Microsoft_Windows_Vista
jmp 0x1001b6e8
push str.Microsoft_Windows_Server_2008
jmp 0x1001b6e8
mov eax, dword [ebp + 8]
sub eax, edi
je 0x1001b6a9
dec eax
je 0x1001b6a2
dec eax
jne 0x1001b6ed
cmp byte [ebp + 0x11a], cl
jne 0x1001b69b
cmp word [ebp - 0x38], 9
jne 0x1001b69b
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x1001b6e6
push str.Microsoft_Windows_Server_2003
jmp 0x1001b6e6
push str.Microsoft_Windows_XP
jmp 0x1001b6e6
push str.Microsoft_Windows_2000
jmp 0x1001b6e6
cmp dword [ebp + 8], edi
je 0x1001b6cf
cmp dword [ebp + 8], 0xa
je 0x1001b6c8
cmp dword [ebp + 8], 0x5a
jne 0x1001b6ed
push str.Microsoft_Windows_Me
jmp 0x1001b6e6
push str.Microsoft_Windows_98
jmp 0x1001b6e6
cmp dword [ebp + 0x10], 2
jne 0x1001b6dc
push str.Microsoft_Windows_NT_4.0
jmp 0x1001b6e6
cmp dword [ebp + 0x10], ecx
jne 0x1001b6ed
push 0x100f6168
mov ecx, ebx
call fcn.10003cc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x120
leave
ret

Function at 0x1001b7b4
Capabilities:
Create process on windows
Get common file path

Disassembly:
call fcn.10019825
test eax, eax
je 0x1001b7c2
jmp fcn.1001b34d
jmp fcn.1001b712
Function at 0x1001b7f0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x1001c310
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov dword [esi + 4], ecx
pop esi
ret 4

Function at 0x1001c37f
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x1001c33e
push edi
push edi
mov dword [0x1013cb74], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [0x1013cb74]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x1001c404
cmp ecx, edi
jle 0x1001c404
mov esi, 0x1013caa8
mov edx, dword [esi]
cmp edx, eax
jle 0x1001c3fe
mov eax, edx
add esi, 0x10
dec ecx
jne 0x1001c3f6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c464
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x1001c4ae
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
Function at 0x1001c4f8
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x1001c6e0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0xb90], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x782]
push edi
push eax
mov word [ebp + 0x780], di
call fcn.10077be0
lea eax, [ebp + 0x780]
push str.C:log_
push eax
call fcn.100780db
push 0x3e6
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10077be0
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._sgswb.log
push eax
call fcn.100054f5
push esi
lea eax, [ebp + 0x372]
push edi
push eax
mov word [ebp + 0x370], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x98a]
push edi
push eax
mov word [ebp + 0x988], di
call fcn.10077be0
add esp, 0x44
push 0x104
lea eax, [ebp + 0x988]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x988]
push 0x5c
push eax
call fcn.1007a69a
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x578]
push eax
call esi
test eax, eax
je 0x1001c8b8
lea eax, [ebp + 0x988]
push ebx
push eax
call fcn.10077b72
lea eax, [ebp + eax*2 + 0x98a]
push eax
lea eax, [ebp + 0x370]
push eax
call fcn.100780db
lea eax, [ebp + 0x370]
push eax
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._s_s.txt
push eax
call fcn.100054f5
lea eax, [ebp + 0xba0]
push eax
push dword [ebp + 0xb9c]
lea eax, [ebp - 0x78]
push 0x1f3
push eax
call fcn.1007ce20
add esp, 0x2c
lea eax, [ebp + 0x578]
push eax
mov word [ebp + 0x36e], di
mov dword [ebp - 0x7c], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x1001c83a
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x578]
push 0x100f6680
push eax
call fcn.1007809e
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x1001c8b7
cmp dword [ebp - 0x7c], edi
jne 0x1001c86f
push esi
push 2
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x80], 0xfeff
call fcn.10077f4b
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call fcn.10077b72
push esi
add eax, eax
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.10077f4b
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xd
call fcn.10077f4b
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xa
call fcn.10077f4b
push esi
call fcn.10077db5
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0xb94
leave
ret
Function at 0x1001c8cf
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fb4]
mov eax, 0x2034
call fcn.10078100
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x1fb0], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x1ba2]
push edi
push eax
mov word [ebp + 0x1ba0], di
call fcn.10077be0
lea eax, [ebp + 0x1ba0]
push str.C:log_
push eax
call fcn.100780db
push 0x7fe
lea eax, [ebp + 0xf92]
push edi
push eax
mov word [ebp + 0xf90], di
call fcn.10077be0
lea eax, [ebp + 0x1ba0]
push eax
lea eax, [ebp + 0x1998]
push str._sgswb.log
push eax
call fcn.100054f5
push esi
lea eax, [ebp + 0x1792]
push edi
push eax
mov word [ebp + 0x1790], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x1daa]
push edi
push eax
mov word [ebp + 0x1da8], di
call fcn.10077be0
add esp, 0x44
push 0x104
lea eax, [ebp + 0x1da8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x1da8]
push 0x5c
push eax
call fcn.1007a69a
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x1998]
push eax
call esi
test eax, eax
je 0x1001caf6
lea eax, [ebp + 0x1da8]
push ebx
push eax
call fcn.10077b72
lea eax, [ebp + eax*2 + 0x1daa]
push eax
lea eax, [ebp + 0x1790]
push eax
call fcn.100780db
lea eax, [ebp + 0x1790]
push eax
lea eax, [ebp + 0x1ba0]
push eax
lea eax, [ebp + 0x1998]
push str._s_s.txt
push eax
call fcn.100054f5
lea eax, [ebp + 0x1fc0]
push eax
push dword [ebp + 0x1fbc]
lea eax, [ebp + 0xf90]
push 0x3ff
push eax
call fcn.1007ce20
push edi
call fcn.1007a5a6
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], edx
call fcn.1007a9f9
push dword [ebp + 0x1fbc]
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x70]
push str.__d__d__d__d__d__d_:_s
push eax
call fcn.100054f5
add esp, 0x58
lea eax, [ebp + 0x1998]
push eax
mov word [ebp + 0x178e], di
mov dword [ebp - 0x74], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x1001ca78
mov dword [ebp - 0x74], ebx
lea eax, [ebp + 0x1998]
push 0x100f6680
push eax
call fcn.1007809e
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x1001caf5
cmp dword [ebp - 0x74], edi
jne 0x1001caad
push esi
push 2
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x78], 0xfeff
call fcn.10077f4b
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
call fcn.10077b72
push esi
add eax, eax
push eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.10077f4b
push esi
push 2
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x74], 0xd
call fcn.10077f4b
push esi
push 2
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x74], 0xa
call fcn.10077f4b
push esi
call fcn.10077db5
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0x1fb0]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x1fb4
leave
ret
Function at 0x1001cd6b
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 [0x10139d20]
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.10077be0
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.10077be0
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x7a6]
push edi
push eax
mov word [ebp + 0x7a4], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x9ae]
push edi
push eax
mov word [ebp + 0x9ac], di
call fcn.10077be0
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.100780b1
pop ecx
pop ecx
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ce51
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.100780db
lea eax, [ebp + 0x9ac]
push str.wnsoft.ini
push eax
call fcn.100780b1
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, 0x1011e03c
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.10077b72
mov esi, eax
lea eax, [ebp + 0x394]
push eax
call fcn.10077b72
mov edi, eax
lea eax, [ebp + 0x18c]
push eax
call fcn.10077b72
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10077b72
add esp, 0x10
test esi, esi
je 0x1001cf8d
test edi, edi
je 0x1001cf8d
test ebx, ebx
je 0x1001cf8d
test eax, eax
je 0x1001cf8d
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x59c]
push eax
push dword [esi]
call fcn.100780db
lea eax, [ebp + 0x394]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.100780db
lea eax, [ebp + 0x18c]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.100780db
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.100780db
xor eax, eax
add esp, 0x20
inc eax
jmp 0x1001cf8f
xor eax, eax
mov ecx, dword [ebp + 0xbb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0xbb8
leave
ret
Function at 0x1001cfa7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9b8]
sub esp, 0xa38
mov eax, dword [0x10139d20]
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.10077be0
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.10077be0
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.10077be0
lea eax, [ebp + 0x7ac]
push str.SOFTWARE_
push eax
call fcn.100780db
add esp, 0x44
lea eax, [ebp + 0x7ac]
push str.WanNengWBInput
push eax
call fcn.100780b1
lea eax, [ebp + 0x7ac]
push 0x1011e01c
push eax
call fcn.100780b1
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 0x1001d0f1
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.10077b72
mov esi, eax
lea eax, [ebp + 0x39c]
push eax
call fcn.10077b72
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.10077b72
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push eax
call fcn.10077b72
add esp, 0x10
cmp esi, edi
je 0x1001d194
cmp ebx, edi
je 0x1001d194
cmp dword [ebp - 0x78], edi
je 0x1001d194
cmp eax, edi
je 0x1001d194
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x5a4]
push eax
push dword [esi]
call fcn.100780db
lea eax, [ebp + 0x39c]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.100780db
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.100780db
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.100780db
xor eax, eax
add esp, 0x20
inc eax
jmp 0x1001d196
xor eax, eax
mov ecx, dword [ebp + 0x9b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x9b8
leave
ret
Function at 0x1001d1ae
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x10139d20]
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.10077be0
push esi
lea eax, [ebp - 0x7e]
push edi
push eax
mov word [ebp - 0x80], di
call fcn.10077be0
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.100780b1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
jne 0x1001d241
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.100780db
lea eax, [ebp - 0x80]
push str.wnsoft.ini
push eax
call fcn.100780b1
add esp, 0x10
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
je 0x1001d2c4
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.100773e8
add ebp, 0x394
leave
ret

Function at 0x1001d2dc
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 0x1001d39c
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 0x1001d39c
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 0x1001d9d8
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x5c0]
sub esp, 0x640
mov eax, dword [0x10139d20]
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.10077be0
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x1011e020
call fcn.10077b72
push eax
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.1007d261
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.10077be0
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.10077be0
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 0x1001dad6
push dword [ebp - 0x74]
push str._08X
push dword [ebp - 0x78]
call fcn.100054f5
add esp, 0xc
jmp 0x1001dae5
push 0x1011e03c
push dword [ebp - 0x78]
call fcn.100780db
pop ecx
pop ecx
mov ecx, dword [ebp + 0x5bc]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x5c0
leave
ret 4

Function at 0x10023146
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x100230a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
pop esi
je 0x10023175
cmp eax, 0xffffffff
je 0x10023175
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret