joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ffd
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x52728b
call fcn.004e279e
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0xf
pop edx
xor ecx, ecx
mov dword [ebx + 0x14], edx
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], ecx
jb 0x412023
mov eax, dword [ebx]
jmp 0x412025
mov eax, ebx
mov byte [eax], cl
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x18]
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], ecx
cmp edx, 0x10
jb 0x41203a
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [ebx + 0x30]
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], ecx
cmp edx, 0x10
jb 0x41204c
mov eax, dword [eax]
mov byte [eax], cl
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 2
call fcn.00411e46
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
lea ecx, [ebx + 0xb0]
push esi
push dword [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00412f21
push esi
lea ecx, [ebx + 0x138]
mov byte [ebp - 4], 4
call fcn.00411a00
push dword [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00402ce5
pop ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040c552
push esi
call fcn.00402ce5
pop ecx
push eax
push esi
lea ecx, [ebx + 0x18]
call fcn.0040c552
push dword [ebp + 0x10]
call fcn.00402ce5
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x30]
call fcn.0040c552
mov eax, dword [ebp + 0x14]
mov byte [ebx + 0x54], 0
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], 2
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebx + 0x58], eax
xor eax, eax
push eax
push eax
push ebx
push 0x4124d6
push eax
push eax
call fcn.004fe593
mov dword [ebx + 0x50], eax
add esp, 0x18
mov eax, ebx
call fcn.004e2767
ret 0x10
Function at 0x41ab14
Capabilities:
Get disk size

Disassembly:
push 0x124
mov eax, 0x528177
call fcn.004e27d2
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x94]
and dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0x100000
call fcn.0044de23
and dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
setne bl
test bl, bl
je 0x41ac11
lea esi, [edi + 0x4f8]
cmp dword [esi + 0x14], 8
jb 0x41ab7f
mov esi, dword [esi]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
call fcn.004e2d20
movss xmm1, dword [0x560bc8]
lea eax, [ebp - 0x94]
cvtsd2ss xmm0, xmm0
push ecx
push ecx
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push esi
push eax
call fcn.0044e3dd
mov edx, dword [ebp - 0x11c]
add esp, 0x10
mov ecx, dword [ebp - 0x120]
call fcn.004e2d20
movss xmm1, dword [0x560bc8]
lea ecx, [ebp - 0x94]
mov eax, dword [edi + 0x37c]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [edi + 0x4d8], xmm0
mov esi, dword [eax]
call fcn.0044e46d
mov ecx, dword [edi + 0x37c]
push eax
call dword [esi + 0x2c]
push str.ProductSize
lea ecx, [edi + 0x2c]
call fcn.004483c9
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
lea esi, [edi + 0x4e0]
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x41ac3e
mov esi, dword [esi]
mov ecx, eax
call fcn.0044e46d
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0044e3dd
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.0044df15
mov ecx, dword [edi + 0x378]
mov esi, dword [ecx]
lea ecx, [ebp - 0x94]
call fcn.0044e46d
mov ecx, dword [edi + 0x378]
push eax
call dword [esi + 0x2c]
lea ecx, [ebp - 0x94]
call fcn.0044df15
mov al, bl
call fcn.004e277c
ret 4
Function at 0x41b194
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x4ec
mov eax, 0x528264
call fcn.004e27d2
mov esi, ecx
mov dword [ebp - 0x4f0], esi
mov eax, dword [ebp + 8]
mov edi, 0x104
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x4f4], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004fb430
push edi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004fb430
add esp, 0x18
lea edi, [esi + 0x2c]
mov ecx, edi
push str.Software_name
call fcn.004483c9
lea ecx, [ebp - 0x4ec]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0044e46d
mov esi, eax
push esi
call fcn.00401963
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00402310
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.0044df15
push str.Extra_download_url
mov ecx, edi
call fcn.004483c9
lea ecx, [ebp - 0x4ec]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
xor edi, edi
mov ecx, eax
inc edi
mov dword [ebp - 4], edi
call fcn.0044e46d
push eax
lea ecx, [ebp - 0x450]
call fcn.004099b0
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 3
call fcn.0044df15
sub esp, 0x18
lea eax, [ebp - 0x450]
mov ecx, esp
push eax
call fcn.004021fe
call fcn.0042f45a
add esp, 0x18
test al, al
lea eax, [ebp - 0x218]
je 0x41b29b
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor ebx, ebx
jmp 0x41b2a8
xor ebx, ebx
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.004099b0
mov esi, 0x559cf0
mov byte [ebp - 4], 4
push esi
call fcn.00401963
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.004268f4
mov ecx, dword [ebp - 0x4f0]
lea eax, [ebp - 0x468]
push eax
call fcn.00423505
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 5
call fcn.00426998
push ebx
push edi
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 4
call fcn.00402226
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ebx
cmovae eax, dword [ebp - 0x438]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x4f4]
lea ecx, [ebp - 0x438]
cmp eax, ecx
je 0x41b35e
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.00402389
push ebx
push edi
lea ecx, [ebp - 0x438]
call fcn.00402226
push ebx
push edi
lea ecx, [ebp - 0x450]
call fcn.00402226
mov eax, edi
call fcn.004e277c
ret 8
Function at 0x41f956
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x528b52
call fcn.004e27d2
xor ecx, ecx
lea eax, [ebp - 0x44]
push eax
push 0xf003f
push ecx
push str.SYSTEMCurrentControlSetControlSession_Manager
mov dword [ebp - 4], ecx
mov ebx, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fa80
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x48]
push eax
xor eax, eax
push eax
push eax
push eax
push str.PendingFileRenameOperations
push dword [ebp - 0x44]
call esi
test eax, eax
jne 0x41fa71
push dword [ebp - 0x48]
call fcn.00504184
pop ecx
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
xor eax, eax
push eax
push eax
push str.PendingFileRenameOperations
push dword [ebp - 0x44]
call esi
test eax, eax
jne 0x41fa66
mov ebx, edi
cmp ax, word [edi]
je 0x41fa64
xor esi, esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004099b0
push 0x559cf0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042777e
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41fa12
mov eax, dword [eax]
push ecx
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0040227d
mov esi, eax
lea ecx, [ebp - 0x40]
xor eax, eax
push eax
push 1
call fcn.00402226
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push 1
cmp esi, 0xffffffff
jne 0x41fa97
mov byte [ebp - 4], al
call fcn.00402226
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x41fa48
sub ecx, edx
xor eax, eax
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
cmp ax, word [ebx]
jne 0x41f9e5
mov ebx, eax
test edi, edi
je 0x41fa71
push edi
call fcn.004fe626
pop ecx
cmp dword [ebp - 0x44], 0
je 0x41fa80
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea ecx, [ebp + 8]
push eax
push 1
call fcn.00402226
mov eax, ebx
call fcn.004e277c
ret 0x18
xor ebx, ebx
inc ebx
call fcn.00402226
jmp 0x41fa66
Function at 0x41fead
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x528c01
call fcn.004e27d2
mov ebx, ecx
mov eax, dword [ebx + 0x560]
lea ecx, [ebp - 0x28]
add eax, 0x88
push eax
call fcn.004021fe
and dword [ebp - 4], 0
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
mov edi, 0x22c
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], edi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x42003b
mov dword [ebp - 0x254], edi
mov edi, dword [sym.imp.KERNEL32.DLL_Process32NextW]
jmp 0x41ff5b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x28]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41ff48
test dx, dx
je 0x41ff44
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41ff48
add ecx, 4
add eax, 4
test dx, dx
jne 0x41ff22
xor eax, eax
jmp 0x41ff4d
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ff77
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push esi
call edi
test eax, eax
jne 0x41ff11
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bl, 1
jmp 0x42003d
push ecx
push ecx
push str.bool___thiscall_InstallUIMainWnd::AppIsRunning_void_
push 0x9af
push str........._srcCommoninstall_ui_mainwnd.cpp
push 0x80
lea ecx, [ebp - 0x28c]
call fcn.004064f1
push str.default
push 1
push eax
mov byte [ebp - 4], 1
call fcn.00406584
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x41ffd6
lea eax, [ebp - 0x230]
push eax
lea ecx, [esi + 0x20]
call fcn.00406470
cmp byte [esi + 0x1c], 0
je 0x41ffd6
push 0x55bac0
lea ecx, [esi + 0x20]
call fcn.00406419
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004278b7
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x42000a
push 0x55bcf8
lea ecx, [esi + 0x20]
call fcn.00406419
cmp byte [esi + 0x1c], 0
je 0x42000a
push dword [ebp - 0x24c]
lea ecx, [esi + 0x20]
call fcn.00406388
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
call fcn.004067e3
lea ecx, [ebp - 0x260]
call fcn.00409846
push 3
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0041f7ab
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402226
mov al, bl
call fcn.004e277c
ret
Function at 0x4204e4
Capabilities:
Query service status
Stop service

Disassembly:
push 0x38
mov eax, 0x528ca7
call fcn.004e27d2
mov esi, ecx
push 0x554928
lea ecx, [ebp - 0x28]
call fcn.004099b0
and dword [ebp - 4], 0
mov eax, dword [esi + 0x560]
mov eax, dword [eax + 0x14]
cmp eax, 6
jne 0x420518
mov esi, str.TenorshareWinAdService
jmp 0x420522
cmp eax, 0x69
jne 0x420533
mov esi, str.TenorshareDataRecoveryService
push esi
call fcn.00401963
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402310
cmp dword [ebp - 0x18], 0
je 0x4205fd
push 0xf003f
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x42055d
xor edi, edi
inc edi
jmp 0x4205ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xf01ff
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x420586
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 2
jmp 0x4205a3
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4205a6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 3
pop edi
jmp 0x4205ff
push 4
pop edi
cmp dword [ebp - 0x40], edi
jne 0x4205fd
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4205cd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
jmp 0x4205ff
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x4205e4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 0x40], 1
je 0x4205f1
lea eax, [ebp - 0x44]
push eax
push esi
call edi
test eax, eax
jne 0x4205d5
jmp 0x4205fd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
xor edi, edi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402226
mov eax, edi
call fcn.004e277c
ret
Function at 0x420613
Capabilities:
Create thread

Disassembly:
push 0xb0
mov eax, 0x528cdf
call fcn.004e27d2
mov edi, ecx
call fcn.0041fead
test al, al
jne 0x420635
or eax, 0xffffffff
jmp 0x420776
mov ecx, edi
call fcn.0041faa1
test al, al
je 0x42062d
mov ecx, edi
call fcn.004204e4
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x168
push 0x28a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, edi
call fcn.0044eb47
lea ecx, [ebp - 0xbc]
call fcn.0044de23
xor ebx, ebx
lea eax, [edi + 0x448]
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x420694
mov eax, dword [eax]
push ecx
push ecx
xorps xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0044e3dd
mov eax, dword [edi + 0x374]
lea ecx, [ebp - 0xbc]
add esp, 0x10
mov esi, dword [eax]
call fcn.0044e46d
mov ecx, dword [edi + 0x374]
push eax
call dword [esi + 0x2c]
mov ecx, dword [edi + 0x494]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x498]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x4a0]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xcc]
push dword [edi + 0x4d0]
mov edx, str.install_page
lea ecx, [ebp - 0x38]
push str.start_app
call fcn.0042ebd4
pop ecx
pop ecx
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x420720
mov edx, dword [edx]
mov ecx, dword [edi + 0x4a4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00402226
mov ecx, dword [edi + 0x4bc]
push 0x55be20
call fcn.0044d695
mov ecx, edi
call fcn.0041f86f
push ebx
push ebx
push edi
push 0x41b473
push ebx
push ebx
call fcn.004fe593
add esp, 0x18
mov dword [edi + 0x5d8], eax
lea ecx, [ebp - 0xbc]
call fcn.0044df15
xor eax, eax
call fcn.004e277c
ret
Function at 0x42077c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x528d12
call fcn.004e27d2
mov esi, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x234]
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
call fcn.004099b0
xor ebx, ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x560]
push 0xffffffffffffffff
push ebx
add eax, 0x28
push eax
call fcn.00426998
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x238]
push ecx
push 0xf003f
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420866
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
push str.RequestTooMuchTimes
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42085a
lea eax, [ebp - 0x21c]
push eax
call fcn.00401963
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.00402310
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x420868
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.00402226
mov eax, esi
call fcn.004e277c
ret 8

Function at 0x420880
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x528d4a
call fcn.004e27d2
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x28]
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 4], edi
call fcn.004099b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0x560]
push 0xffffffffffffffff
push edi
add eax, 0x28
push eax
call fcn.00426998
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x420913
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
add eax, eax
push eax
push ecx
push 1
push edi
push str.RequestTooMuchTimes
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
test eax, eax
jne 0x42090d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x420915
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402226
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.00402226
mov eax, esi
call fcn.004e277c
ret 0x1c
Function at 0x4232fb
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x478
mov eax, 0x529230
call fcn.004e27d2
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x424]
push 0x104
xor ebx, ebx
push ebx
push eax
call fcn.004fb430
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push ebx
push eax
call fcn.004fb430
add esp, 0xc
mov dword [ebp - 0x45c], ebx
xor eax, eax
mov word [ebp - 0x46c], ax
push 7
pop ecx
mov dword [ebp - 0x458], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov word [ebp - 0x43c], ax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x444], ebx
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00423492
push eax
lea ecx, [ebp - 0x43c]
call fcn.004021ad
push ebx
push 1
lea ecx, [ebp - 0x484]
call fcn.00402226
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x42345c
push 0x104
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea eax, [ebp - 0x21c]
push eax
call fcn.00401963
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00402310
lea eax, [ebp - 0x484]
mov ecx, edi
push eax
call fcn.00423505
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00426998
push ebx
push 1
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 2
call fcn.00402226
mov edi, 0x559cf0
push edi
call fcn.00401963
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004268f4
cmp dword [esi + 0x14], 8
jb 0x423443
mov esi, dword [esi]
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
sub eax, ebx
je 0x42345a
sub eax, 0x50
je 0x42345a
sub eax, 0x67
jne 0x42345c
mov bl, 1
xor esi, esi
lea ecx, [ebp - 0x454]
push esi
push 1
call fcn.00402226
push esi
push 1
lea ecx, [ebp - 0x43c]
call fcn.00402226
push esi
push 1
lea ecx, [ebp - 0x46c]
call fcn.00402226
mov al, bl
call fcn.004e277c
ret 4
Function at 0x42412b
Capabilities:
Delete file

Disassembly:
push 0x64
mov eax, 0x529410
call fcn.004e27d2
mov esi, ecx
push 7
pop ecx
xor ebx, ebx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004232fb
xor edi, edi
lea eax, [ebp - 0x70]
inc edi
mov ecx, esi
push edi
push eax
call fcn.0042363c
push eax
lea ecx, [ebp - 0x58]
call fcn.004021ad
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.00402226
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00426998
push 0x55b254
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042777e
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.004021ad
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.00402226
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00402226
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.00402226
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402226
call fcn.004e277c
ret

Function at 0x426ac1
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x526bd9
call fcn.004e27d2
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x426bc8
cmp byte [ebx + 0x3e], 0
je 0x426bc8
mov eax, dword [ebx]
mov esi, 0xffff
push esi
call dword [eax + 0xc]
movzx eax, ax
cmp si, ax
sete al
test al, al
je 0x426b02
xor al, al
jmp 0x426bca
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0040c504
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x426b60
sub eax, 1
je 0x426b64
dec eax
sub eax, 1
je 0x426bb6
xor bl, bl
jmp 0x426bb8
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x426b9c
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005032e0
add esp, 0x10
cmp esi, eax
jne 0x426b5c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3e], 0
je 0x426bb6
test esi, esi
jne 0x426b26
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040c661
jmp 0x426b20
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040c02b
mov al, bl
jmp 0x426bca
mov al, 1
call fcn.004e277c
ret
Function at 0x42c498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push str.Version
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c504
cmp dword [ebp + 0x10], 1
je 0x42c4dc
cmp dword [ebp + 0x10], 2
je 0x42c4dc
push 0xd
pop eax
jmp 0x42c504
mov ecx, dword [ebp - 4]
test esi, esi
je 0x42c4fe
test ecx, ecx
je 0x42c4f9
test cl, 1
jne 0x42c4d7
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x42c4fe
jmp 0x42c4d7
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc