joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push str.YP_FOREXE_REG_PATH
call fcn.00438b10
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
push 0x20006
push 0
lea edx, [ebp - 0x210]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x444d9f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0x47543c
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push str.QQ1.83
push 1
push 0
push str.autotestVer
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x444de0
xor eax, eax
jmp 0x444f8c
push 0x475474
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push 0x475494
push 1
push 0
push 0x4754b4
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x444e21
xor eax, eax
jmp 0x444f8c
push 0x4880d0
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push 0x4880d0
push 1
push 0
push str.Install
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x444e62
xor eax, eax
jmp 0x444f8c
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [ebp - 0x428], 0
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call fcn.00415680
add esp, 0xc
push 0x4754d4
push 0x4880d0
push 0x4754e4
push 0x208
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.004157ac
add esp, 0x18
lea edx, [ebp - 0x218]
push edx
push 0x20006
push 0
push 0x4754f8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x444efa
lea eax, [ebp - 0x218]
push eax
push str.SoftwareTencentPlatForm_Type_List3
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0x4755a4
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push 0x4755b4
push 1
push 0
push str.TypeName
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x444f38
xor eax, eax
jmp 0x444f8c
lea edx, [ebp - 0x428]
push edx
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push str.TypePath
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x444f7a
xor eax, eax
jmp 0x444f8c
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x444fa0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], 0x104
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00415680
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x20006
push 0
push 0x475318
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x445010
xor eax, eax
jmp 0x44512b
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x475374
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x475384
push 0x4880d0
push str.__sBin_s___background
push 0x208
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.004159fc
add esp, 8
test eax, eax
je 0x445119
cmp dword [0x48a800], 0
jne 0x4450a1
cmp dword [ebp + 8], 0
je 0x4450f2
push 0x4753c4
lea edx, [ebp - 0x418]
push edx
call fcn.004159fc
add esp, 8
test eax, eax
je 0x4450f2
lea eax, [ebp - 0x210]
push eax
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
push 1
push 0
push 0x4753c8
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x4450f0
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x44512b
jmp 0x445119
cmp dword [0x48a800], 0
jne 0x445119
cmp dword [ebp + 8], 0
jne 0x445119
push str.QQ2009
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x424], eax
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x445150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4451b1
xor eax, eax
jmp 0x445212
push str.http:__www.qq.com_
push 0x208
lea edx, [ebp - 0x218]
push edx
call fcn.004167dc
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
push 1
push 0
push str.Start_Page
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x445203
xor eax, eax
jmp 0x445212
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x445e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x475640
push 0x7e2
mov eax, dword [0x4846d0]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445f5a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x4846d0]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4846d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415680
add esp, 0xc
push str.QQLicense.txt
push 0x4880d0
push 0x47566c
push 0x208
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004157ac
add esp, 0x18
push 1
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.00444b40
add esp, 0x10
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x445f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x475604
push 0x7fa
mov eax, dword [0x4846d0]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44605a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x4846d0]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4846d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415680
add esp, 0xc
push str.QQWhatsnew.txt
push 0x4880d0
push 0x475634
push 0x208
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004157ac
add esp, 0x18
push 1
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00444b40
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x446180
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468e77
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4ec5e4]
and eax, 1
jne 0x446205
mov ecx, dword [0x4ec5e4]
or ecx, 1
mov dword [0x4ec5e4], ecx
mov dword [ebp - 4], 0
push 0x476118
mov ecx, 0x4ec5dc
call fcn.00430de0
mov byte [ebp - 4], 1
push 0x476100
mov ecx, 0x4ec5e0
call fcn.00430de0
mov byte [ebp - 4], 0
push 0x46a550
call fcn.00416635
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x446217
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 2
jae 0x4462f9
mov eax, dword [ebp - 0x10]
lea ecx, [eax*4 + 0x4ec5dc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00431030
mov word [ebp - 0x424], 0
push 0x206
push 0
lea edx, [ebp - 0x422]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00415680
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.004312a0
push eax
push 0x4880d0
push 0x476134
push 0x208
push 0x104
lea ecx, [ebp - 0x424]
push ecx
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x428]
call fcn.004312a0
push eax
push 0x4880d0
push str._sBinArk_s
push 0x208
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.004157ac
add esp, 0x18
push 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x428]
call fcn.004310c0
jmp 0x44620e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x446320
Capabilities:
Create process on windows
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004447c0
add esp, 0xc
test eax, eax
jne 0x44637c
jmp 0x446508
cmp dword [ebp - 0x10], 5
jne 0x446391
cmp dword [ebp - 0x20], 1
jne 0x446391
movzx eax, word [ebp - 0x1c]
cmp eax, 3
je 0x446396
jmp 0x446508
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSideBySideInstallations
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446484
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0x104
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x44646e
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x238]
call fcn.00431060
mov dword [ebp - 4], 0
push 0
push str._Microsoft.Windows.GdiPlus_
lea ecx, [ebp - 0x238]
call fcn.004313b0
test eax, eax
jl 0x446451
push 0
push str._1.0.6002.22509_
lea ecx, [ebp - 0x238]
call fcn.004313b0
test eax, eax
jl 0x446451
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.004310c0
jmp 0x44647a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.004310c0
jmp 0x446470
jmp 0x44647a
cmp dword [ebp - 0x18], 0
je 0x4463ce
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
jne 0x446508
mov word [ebp - 0x444], 0
push 0x206
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x64c], 0
push 0x206
push 0
lea eax, [ebp - 0x64a]
push eax
call fcn.00415680
add esp, 0xc
push 0x4844c8
push str._sSysDirWindowsXP_KB2412687_x86_CHS.exe
push 0x208
push 0x104
lea ecx, [ebp - 0x444]
push ecx
call fcn.004157ac
add esp, 0x14
push 0
push 0x4844c8
push str._quiet__norestart
lea edx, [ebp - 0x444]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x448a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x488060], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x4489e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [0x48805c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44a7a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.00404e20
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00449c70
add esp, 8
test eax, eax
jne 0x44a7ea
jmp 0x44a8c1
lea ecx, [ebp - 0x10]
call fcn.00404dd0
mov ecx, dword [eax]
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 8]
call fcn.00404e20
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0xc
call fcn.00412c90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x44a835
push 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 8]
call fcn.00404e40
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0xc
call fcn.00404c90
push eax
lea ecx, [ebp - 8]
call fcn.00404df0
movzx edx, al
test edx, edx
je 0x44a8c1
lea ecx, [ebp - 8]
call fcn.00404dd0
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [ebp + 0xc]
jne 0x44a8bc
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x10], 0
je 0x44a8bc
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and eax, 0xffff
movzx edx, ax
push edx
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x44a8c1
jmp 0x44a824
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x44c7f0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x4846d0]
push eax
push 0x44c2c0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x488030], eax
cmp dword [0x488030], 0
jne 0x44c825
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x44e1e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x44de80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [0x487aec], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x44ed10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44ee10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004141a6
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x44ee10
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44edfe
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x478f0c
mov edx, dword [ebp - 8]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44edfe
mov dword [ebp - 0x18], 0x10000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
xor edx, edx
div dword [ebp - 0x18]
movzx ecx, al
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
xor edx, edx
div dword [ebp - 0x18]
movzx eax, dl
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
xor edx, edx
div dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
xor edx, edx
div dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x478f10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004157ac
add esp, 0x20
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00416122
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4506a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x414
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4506e8
xor eax, eax
jmp 0x45072c
lea edx, [ebp - 0x210]
push edx
call fcn.0044f960
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x45070a
xor eax, eax
jmp 0x45072c
lea eax, [ebp - 0x210]
push eax
push 0x414
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x450740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00415680
add esp, 0xc
push 0x104
push 0x4880d0
push 0x410
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x4507a8
xor eax, eax
jmp 0x4508cb
push 0x4880d0
call fcn.0044fca0
add esp, 4
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x4507cb
xor eax, eax
jmp 0x4508cb
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00415680
add esp, 0xc
push 0x4880d0
push 0x4781a4
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x14
mov word [ebp - 0x630], 0
push 0x206
push 0
lea ecx, [ebp - 0x62e]
push ecx
call fcn.00415680
add esp, 0xc
push 0x4880d0
push 0x4781ac
push 0x208
push 0x104
lea edx, [ebp - 0x630]
push edx
call fcn.004157ac
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea ecx, [ebp - 0x630]
push ecx
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x420], eax
lea edx, [ebp - 0x210]
push edx
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x41c]
je 0x4508ab
mov ecx, dword [ebp - 0x420]
movzx edx, word [ebp + ecx*2 - 0x212]
cmp edx, 0x5c
je 0x4508ab
xor eax, eax
jmp 0x4508cb
push 0x4880d0
push 0x410
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x450f10
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4688f5
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov word [ebp - 0x23c], 0
push 0x206
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.00415680
add esp, 0xc
push 0x4786d0
lea ecx, [ebp - 0x30]
call fcn.004011c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00403bf0
lea ecx, [ebp - 0x30]
call fcn.00402490
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x450faf
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401200
mov eax, dword [ebp - 0x244]
jmp 0x451044
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
lea ecx, [ebp - 0x30]
call fcn.00403c70
movzx eax, word [eax]
cmp eax, 0x5c
je 0x450fd3
push 0x4786d4
lea ecx, [ebp - 0x30]
call fcn.00403c10
push 0x4786d8
lea ecx, [ebp - 0x30]
call fcn.00403c10
lea ecx, [ebp - 0x30]
call fcn.00401220
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00414f38
add esp, 8
push 0
lea edx, [ebp - 0x23c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x248], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401200
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x451340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468edd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00403c30
push 1
push 0x2e
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x451391
xor eax, eax
jmp 0x451433
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403bf0
mov ecx, dword [ebp + 8]
call fcn.00402490
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
sub edx, 1
push edx
mov ecx, dword [ebp + 8]
call fcn.00403c70
movzx eax, word [eax]
cmp eax, 0x5c
je 0x4513cf
push 0x478728
mov ecx, dword [ebp + 8]
call fcn.00403c10
push 0x47872c
mov ecx, dword [ebp + 8]
call fcn.00403c10
push str.UserDataInfo.ini
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.00404060
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401200
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret