joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4559a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x647174
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x455a10
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x647190
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x455a80
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x6471ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret
Function at 0x455d80
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2848
call fcn.005b5230
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x2628], ax
push 0x206
push 0
lea ecx, [ebp - 0x2626]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x6471c8
lea edx, [ebp - 0x2628]
push edx
call fcn.005b4dbe
add esp, 8
mov dword [ebp - 0x283c], 0x1000
xor eax, eax
mov word [ebp - 0x2210], ax
push 0x1ffe
push 0
lea ecx, [ebp - 0x220e]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x2628]
push edx
push 0x6471d8
lea eax, [ebp - 0x2830]
push eax
call fcn.005b50ec
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.005b4de0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x2420], ax
push 0x206
push 0
lea ecx, [ebp - 0x241e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x2420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x2420]
push eax
call fcn.0040e2a0
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x2830]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x455e8c
jmp 0x45601d
lea eax, [ebp - 0x2420]
push eax
call fcn.005b50b1
add esp, 4
lea ecx, [ebp + eax*2 - 0x241e]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.005b4dbe
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x2628]
push ecx
push 0x6471f0
lea edx, [ebp - 0x2830]
push edx
call fcn.005b50ec
add esp, 0x10
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2834], eax
mov ecx, dword [ebp - 0x2834]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x283c]
sub eax, 1
push eax
lea ecx, [ebp - 0x2210]
push ecx
call fcn.005b53bd
add esp, 0x10
xor edx, edx
mov eax, dword [ebp - 0x283c]
mov word [ebp + eax*2 - 0x2212], dx
mov dword [ebp - 0x2838], 0
lea ecx, [ebp - 0x2830]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455f36
mov dword [ebp - 0x2838], 1
push 0x647204
lea edx, [ebp - 0x2830]
push edx
call fcn.005bbf86
add esp, 8
mov dword [ebp - 0x2214], eax
cmp dword [ebp - 0x2214], 0
je 0x45601d
cmp dword [ebp - 0x2838], 0
jne 0x455f8c
mov eax, 0xfeff
mov word [ebp - 0x2848], ax
mov ecx, dword [ebp - 0x2214]
push ecx
push 2
push 1
lea edx, [ebp - 0x2848]
push edx
call fcn.005b7f37
add esp, 0x10
lea eax, [ebp - 0x2210]
push eax
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0x2840], eax
mov ecx, dword [ebp - 0x2214]
push ecx
mov edx, dword [ebp - 0x2840]
shl edx, 1
push edx
push 1
lea eax, [ebp - 0x2210]
push eax
call fcn.005b7f37
add esp, 0x10
mov ecx, 0xd
mov word [ebp - 0x2844], cx
mov edx, dword [ebp - 0x2214]
push edx
push 2
push 1
lea eax, [ebp - 0x2844]
push eax
call fcn.005b7f37
add esp, 0x10
mov ecx, 0xa
mov word [ebp - 0x2844], cx
mov edx, dword [ebp - 0x2214]
push edx
push 2
push 1
lea eax, [ebp - 0x2844]
push eax
call fcn.005b7f37
add esp, 0x10
mov ecx, dword [ebp - 0x2214]
push ecx
call fcn.005b7a68
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x456980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.005b4de0
add esp, 0xc
push 0
push 0x17
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x456ac0
xor edx, edx
mov word [ebp - 0x828], dx
push 0x206
push 0
lea eax, [ebp - 0x826]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x620], cx
push 0x206
push 0
lea edx, [ebp - 0x61e]
push edx
call fcn.005b4de0
add esp, 0xc
push 0x647478
lea eax, [ebp - 0x210]
push eax
call fcn.005b4d90
add esp, 8
movzx ecx, byte [ebp + 0x10]
push ecx
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004564e0
add esp, 0x10
movzx edx, al
test edx, edx
je 0x456ac0
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00456bc0
add esp, 8
push 0x104
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x828]
push ecx
call fcn.005b50b1
add esp, 4
test eax, eax
je 0x456ac0
lea edx, [ebp - 0x620]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005b4dbe
add esp, 8
mov al, 1
jmp 0x456bae
push 0
push 2
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x456bac
xor edx, edx
mov word [ebp - 0xc38], dx
push 0x206
push 0
lea eax, [ebp - 0xc36]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa30], cx
push 0x206
push 0
lea edx, [ebp - 0xa2e]
push edx
call fcn.005b4de0
add esp, 0xc
push 0x64747c
lea eax, [ebp - 0x210]
push eax
call fcn.005b4d90
add esp, 8
movzx ecx, byte [ebp + 0x10]
push ecx
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004564e0
add esp, 0x10
movzx edx, al
test edx, edx
je 0x456bac
lea eax, [ebp - 0xc38]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.00456bc0
add esp, 8
push 0x104
lea edx, [ebp - 0xa30]
push edx
lea eax, [ebp - 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0xc38]
push ecx
call fcn.005b50b1
add esp, 4
test eax, eax
je 0x456bac
lea edx, [ebp - 0xa30]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005b4dbe
add esp, 8
mov al, 1
jmp 0x456bae
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x456d80
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x647480
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0xffffffff
jne 0x456e07
cmp dword [ebp - 0x218], 0
setne al
jmp 0x456f5d
mov eax, 1
test eax, eax
je 0x456f46
movzx ecx, word [ebp - 0x43c]
cmp ecx, 0x2e
je 0x456f1c
movzx edx, word [ebp - 0x43a]
test edx, edx
je 0x456f1c
movzx eax, word [ebp - 0x43a]
cmp eax, 0x2e
jne 0x456e4e
movzx ecx, word [ebp - 0x438]
test ecx, ecx
je 0x456f1c
mov edx, dword [ebp - 0x468]
and edx, 0x10
jne 0x456f1c
xor eax, eax
mov word [ebp - 0x880], ax
push 0x206
push 0
lea ecx, [ebp - 0x87e]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x678], dx
push 0x206
push 0
lea eax, [ebp - 0x676]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x647498
lea eax, [ebp - 0x880]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x6474a4
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x880]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456f1c
lea edx, [ebp - 0x880]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456f1c
mov dword [ebp - 0x218], 1
lea eax, [ebp - 0x880]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005b4dbe
add esp, 8
jmp 0x456f46
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x456f41
jmp 0x456f46
jmp 0x456e07
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x218], 0
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x456f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x6474c0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456fc5
xor al, al
jmp 0x45709b
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45708e
mov dword [ebp - 0x22c], 0x104
xor edx, edx
mov word [ebp - 0x438], dx
push 0x206
push 0
lea eax, [ebp - 0x436]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x224]
push eax
push 0
push 0x64752c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x457084
mov byte [ebp - 0x11], 1
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.005b4dbe
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x4570b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 1
push 0x1c
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x45710c
push 1
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45714b
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
push 0x64754c
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b50ec
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45714b
mov al, 1
jmp 0x45714d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x457d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x624], 0
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x620], dx
push 0x206
push 0
lea eax, [ebp - 0x61e]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.005b4de0
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x457e2d
lea ecx, [ebp - 0x418]
push ecx
push 0x647968
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.00456d80
add esp, 8
movzx edx, al
test edx, edx
je 0x457e2d
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov ecx, dword [ebp - 0x624]
or ecx, 1
mov dword [ebp - 0x624], ecx
mov eax, dword [ebp + 8]
jmp 0x457e4c
push 0x6479b0
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x624]
or edx, 1
mov dword [ebp - 0x624], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x457e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x624], 0
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x620], dx
push 0x206
push 0
lea eax, [ebp - 0x61e]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.005b4de0
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x457f4d
lea ecx, [ebp - 0x418]
push ecx
push 0x6479b8
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.00456d80
add esp, 8
movzx edx, al
test edx, edx
je 0x457f4d
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov ecx, dword [ebp - 0x624]
or ecx, 1
mov dword [ebp - 0x624], ecx
mov eax, dword [ebp + 8]
jmp 0x457f6c
push 0x6479f8
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x624]
or edx, 1
mov dword [ebp - 0x624], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x459050
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x64c], ecx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov dword [ebp - 0x222], ecx
mov dword [ebp - 0x21e], ecx
mov dword [ebp - 0x21a], ecx
mov dword [ebp - 0x216], ecx
mov word [ebp - 0x212], cx
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.005b4de0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x647ed8
call fcn.005b50b1
add esp, 4
push eax
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.005bcab6
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x648], cx
push 0x206
push 0
lea edx, [ebp - 0x646]
push edx
call fcn.005b4de0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x440], ax
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x104
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0x104
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4591a7
mov edx, dword [ebp - 0x234]
push edx
push str._08X
mov eax, dword [ebp + 8]
push eax
call fcn.005b50ec
add esp, 0xc
jmp 0x4591b8
push 0x647eec
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b4dbe
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4
Function at 0x45a690
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.005b4de0
add esp, 0xc
push 0
push 0x2b
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._shiqiang_
lea edx, [ebp - 0x210]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a72e
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.005b4dbe
add esp, 8
push str.wnsoft.ini
lea ecx, [ebp - 0x418]
push ecx
call fcn.005b4d90
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a7ff
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
push edx
push 0x648178
push 0x648198
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x208
push edx
push 0x6481a8
push 0x6481c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x410
push edx
push 0x6481d8
push 0x6481f8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x618
push edx
push 0x648208
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x45a810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45a842
jmp 0x45a917
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ShiQiang
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45a872
jmp 0x45a917
mov dword [ebp - 4], 0
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push 1
push 0
push str.OnlyIdentifier1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x208
push ecx
push 1
push 0
push str.OnlyIdentifier2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x410
push ecx
push 1
push 0
push str.OnlyIdentifier3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x618
push ecx
push 1
push 0
push str.OnlyIdentifier4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x45bcf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x54
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x45c010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
jne 0x45bd26
jmp 0x45bd50
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x58], 0xffffffff
jne 0x45bd31
jmp 0x45bd50
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret