joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce16d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00470210
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x45a087
xor edi, edi
jmp 0x45a14c
push str.config.ini
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.00452a10
add esp, 4
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a0da
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x45a1a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.004af317
cdq
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
call fcn.0045a1b0
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x1c]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45a12e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a14c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a16a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45a189
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 4
xor edi, edi
jmp 0x45a12e
Function at 0x45a530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
sub esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push edx
push ecx
lea ecx, [ebp - 0x10]
call fcn.0045a360
mov edi, dword [ebp - 0x10]
mov esi, eax
test esi, esi
jne 0x45a5ad
test ebx, ebx
jne 0x45a580
lea esi, [ebx + 0xd]
jmp 0x45a5ad
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a585
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x45a5b8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 8
Function at 0x45b850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce43c
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], edx
mov edi, ecx
mov edx, edi
lea ecx, [ebp - 0x128]
call fcn.0045c1c0
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea eax, [ebp - 0x118]
push 0x104
push 0
push eax
call fcn.0049edc0
add esp, 0xc
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push str.ProgId
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45ba86
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x124]
call fcn.004046b0
test al, al
jne 0x45b952
lea ecx, [ebp - 0x118]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b930
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x124]
call fcn.00404980
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x128]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b976
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45ba90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
push edi
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 4
call fcn.004046b0
test al, al
jne 0x45b9d0
test edi, edi
jne 0x45b9af
xor ecx, ecx
jmp 0x45b9c3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b9b4
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x11c]
call fcn.00404980
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 5
push eax
mov edx, str.XDCadViewer.
lea ecx, [ebp - 0x120]
call fcn.0045d080
mov esi, dword [ebp - 0x124]
add esp, 4
push dword [ebp - 0x120]
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edx, dword [ebp - 0x120]
neg eax
sbb edi, edi
add edx, 0xfffffff0
inc edi
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x11c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x12c]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edi
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45ba68
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3
Function at 0x45bfa0
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce568
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
mov edx, esi
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x4c]
call fcn.0045c1c0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0045c260
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
push ecx
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0045cf80
push fcn.004031f0
push 2
push 4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call fcn.0049ce22
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x45c132
nop dword [eax]
mov esi, dword [eax]
xorps xmm0, xmm0
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x40000
push esi
push SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0045a450
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x45c119
lea eax, [ebp - 0x40]
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x45c158
cmp dword [edi], 0
je 0x45c0f9
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45c10b
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c10b
push 0
push dword [edi]
push 0
push 0
push 0x4e2530
push esi
call eax
jmp 0x45c10b
cmp dword [edi + 4], 0
je 0x45c10b
push 0x4e2530
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x50]
jne 0x45c050
lea ecx, [ebp - 0x2c]
call fcn.00452b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [0x513580], 0
jne 0x45c198
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45c18a
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x513584], eax
mov byte [0x513580], 1
jmp 0x45c19d
mov eax, dword [0x513584]
mov byte [0x513580], 1
jmp 0x45c19d
mov eax, dword [0x513584]
test eax, eax
je 0x45c0ff
push 0
push dword [ebp - 0x1c]
push 0x4e2530
push esi
call eax
jmp 0x45c10b
Function at 0x45c300
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce5dd
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
lea eax, [ebp - 0x138]
push 0
push eax
call fcn.0049edc0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c371
lea ecx, [ebp - 0x13c]
push ecx
call eax
cmp dword [ebp - 0x138], 0xa
jb 0x45c43c
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45c457
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.sesAppX43hnxtbyyps62jhe9s
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.SoftwareClas_sqpdzxn1790zetc
push eax
call fcn.0041a070
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x2001f
push esi
push SysReAllocString
call fcn.0045a450
mov edi, dword [ebp - 0x20]
push 0
push 0
push 0
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x45c412
push eax
push 0x4e2530
push 1
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x45c41d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c43c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b30
int3
Function at 0x45d890
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
xor esi, esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x118
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.0049edc0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
jae 0x45d95b
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
je 0x45d95b
mov ecx, 0x2710
cmp dword [ebp + 0x10], eax
jne 0x45d973
cmp esi, 5
ja 0x45d973
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
shr edx, 1
cmp edx, 0x3e8
jae 0x45d936
mov edx, 0x3e8
jmp 0x45d93f
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
inc esi
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
mov ecx, 0x2710
cmp eax, dword [ebp + 0xc]
jne 0x45d913
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45e3a0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x4d6150
push 1
push 0
push 0x4d61a0
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45e49a
cmp dword [esi + 0x60], 8
lea edx, [esi + 0x4c]
mov dword [ebp - 0xc], 0
jb 0x45e3ed
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [esi + 0x48], 8
lea edx, [esi + 0x34]
jb 0x45e402
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [esi + 0x74], 0
je 0x45e427
cmp dword [esi + 0x78], 8
lea edx, [esi + 0x64]
jb 0x45e41d
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edi
push edx
push 0x4d6180
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
test edi, edi
js 0x45e48e
add esi, 0x7c
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45e44c
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e468
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45e461
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x45e470
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 4
Function at 0x45e4b0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4c4]
push edi
call fcn.00457e90
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0049edc0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x490]
add esp, 0xc
cmp dword [ebp - 0x47c], 8
cmovae eax, dword [ebp - 0x490]
push eax
lea eax, [ebp - 0x21c]
push 0x4e6358
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push 0
push eax
call fcn.0049edc0
add esp, 0xc
lea eax, [ebp - 0x4c0]
cmp dword [ebp - 0x4ac], 8
cmovae eax, dword [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x424]
push str._s.lnk
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e590
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.00426a30
lea eax, [ebp - 0x4c4]
push eax
call fcn.0045e3a0
test eax, eax
js 0x45e678
cmp dword [edi + 0x90], 8
lea eax, [edi + 0x7c]
jb 0x45e5d4
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45e6d9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
push str.barP
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 1
push str.Task_sin
push eax
call fcn.0041a070
add esp, 0xc
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 8
cmovae eax, dword [ebp - 0x448]
push 0
push 0
push 0
push eax
push 0x4e2530
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push eax
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e678
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x448]
call fcn.004269d0
lea ecx, [ebp - 0x460]
call fcn.004269d0
lea ecx, [ebp - 0x478]
call fcn.004269d0
lea ecx, [ebp - 0x490]
call fcn.004269d0
lea ecx, [ebp - 0x4a8]
call fcn.004269d0
lea ecx, [ebp - 0x4c0]
call fcn.004269d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b30
int3
Function at 0x45f230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x45f30c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x45f2f6
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0049edc0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x45f2da
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00426900
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x214], 0
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4e2530
mov word [esi], ax
call fcn.00426a30
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 8
Function at 0x45f350
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x20a
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0049edc0
add esp, 0xc
cmp dword [ebx + 0x10], 0
je 0x45f3e8
cmp dword [ebx + 0x14], 8
jb 0x45f3a2
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x45f3aa
mov edi, dword [edi]
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [ebp + 0x18], 0
je 0x45f3e0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f3e0
push eax
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esi + 0x10], 0
je 0x45f42e
jmp 0x45f40b
cmp dword [esi + 0x10], 0
je 0x45f42e
cmp dword [edi + 0x14], 8
jb 0x45f3f6
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004b065b
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
cmp dword [esi + 0x14], 8
jb 0x45f420
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..lnk
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004b1f40
mov ebx, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
add esp, 0xc
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f470
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00426a30
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x462030
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cedeb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0049edc0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x22c], eax
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x462278
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004046b0
test al, al
jne 0x462102
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4620e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404980
mov dword [ebp - 4], 1
mov edx, 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x46213a
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.004048e0
mov eax, dword [ebp - 0x21c]
push str._system32Shell32.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x21c]
push dword [eax - 8]
push eax
call fcn.004a6ca5
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46226e
mov eax, dword [ebp - 0x21c]
cmp ecx, dword [eax - 8]
jg 0x46226e
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
push ecx
push eax
mov dword [ebp - 0x228], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x46222b
push esi
call fcn.004a6e55
mov edi, eax
add esp, 4
test edi, edi
je 0x46222b
push edi
push esi
push 0
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x462222
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x4e71e4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x462222
mov eax, dword [ebp - 0x228]
push edi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x22c], eax
call fcn.004a1bcc
add esp, 4
cmp esi, 0x60002
jb 0x46222b
cmp dword [ebp - 0x22c], 0x295a01c8
mov eax, 1
cmovae ebx, eax
jmp 0x46222b
push edi
call fcn.004a1bcc
add esp, 4
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x462250
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3