joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ee30
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x572ee0
push 0x4d9350
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.004b8600
mov eax, dword [0x589644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x44f004
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ee86
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x44f004
mov dword [ebp - 4], 0
call fcn.0044e520
mov dword [ebp - 4], 0xfffffffe
jmp 0x44eecc
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004d7bd0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004d7bd0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x44f004
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0050432c
lea eax, [ebp - 0x224]
push eax
call fcn.005023e5
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x44f004
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.0044e650
add esp, 0xc
test eax, eax
je 0x44eff7
lea eax, [ebp - 0xa24]
push eax
call fcn.005023e5
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44efb8
test dx, dx
je 0x44efb4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44efb8
add eax, 4
add ecx, 4
test dx, dx
jne 0x44ef92
xor eax, eax
jmp 0x44efbd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44eff7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44efe3
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.0045cb30
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x44ef54
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 4
Function at 0x44f030
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x572f20
push 0x4d9350
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x589644]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x44f1a4
cmp word [esi], 0
je 0x44f1a4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f090
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x44f1a4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44f1a4
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004d7bd0
push esi
push 0x54ed30
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0044f1d0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004d7bd0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x44f143
push esi
call fcn.00475130
add esp, 4
test eax, eax
je 0x44f1a4
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x44f16b
cmp dword [ebp + 0x18], 0
je 0x44f16b
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x44f180
test esi, esi
je 0x44f190
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x44f190
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x44f1ad
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44f250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44f26c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x450a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x58e828
mov dword [ebp - 0x84], 0x4f0053
lea esi, [ebp - 0x84]
mov dword [ebp - 0x80], 0x540046
push edi
mov dword [ebp - 0x7c], 0x410057
mov edx, 0x40
mov dword [ebp - 0x78], 0x450052
sub esi, eax
mov dword [ebp - 0x74], 0x4d005c
mov dword [ebp - 0x70], 0x630069
mov dword [ebp - 0x6c], 0x6f0072
mov dword [ebp - 0x68], 0x6f0073
mov dword [ebp - 0x64], 0x740066
mov dword [ebp - 0x60], 0x57005c
mov dword [ebp - 0x5c], 0x6e0069
mov dword [ebp - 0x58], 0x6f0064
mov dword [ebp - 0x54], 0x730077
mov dword [ebp - 0x50], 0x43005c
mov dword [ebp - 0x4c], 0x720075
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650056
mov dword [ebp - 0x3c], 0x730072
mov dword [ebp - 0x38], 0x6f0069
mov dword [ebp - 0x34], 0x5c006e
mov dword [ebp - 0x30], 0x700041
mov dword [ebp - 0x2c], 0x200070
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x730030
mov dword [ebp - 0x14], 0x660061
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x450b4e
movzx ecx, word [esi + eax]
test cx, cx
je 0x450b4e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x450b30
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x4510b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x98], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x98]
mov eax, 0x58e678
mov dword [ebp - 0x94], 0x540046
push edi
mov dword [ebp - 0x90], 0x410057
mov edx, 0x49
mov dword [ebp - 0x8c], 0x450052
sub esi, eax
mov dword [ebp - 0x88], 0x4d005c
mov dword [ebp - 0x84], 0x630069
mov dword [ebp - 0x80], 0x6f0072
mov dword [ebp - 0x7c], 0x6f0073
mov dword [ebp - 0x78], 0x740066
mov dword [ebp - 0x74], 0x57005c
mov dword [ebp - 0x70], 0x6e0069
mov dword [ebp - 0x6c], 0x6f0064
mov dword [ebp - 0x68], 0x730077
mov dword [ebp - 0x64], 0x43005c
mov dword [ebp - 0x60], 0x720075
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x74006e
mov dword [ebp - 0x54], 0x650056
mov dword [ebp - 0x50], 0x730072
mov dword [ebp - 0x4c], 0x6f0069
mov dword [ebp - 0x48], 0x5c006e
mov dword [ebp - 0x44], 0x700041
mov dword [ebp - 0x40], 0x200070
mov dword [ebp - 0x3c], 0x610050
mov dword [ebp - 0x38], 0x680074
mov dword [ebp - 0x34], 0x5c0073
mov dword [ebp - 0x30], 0x360033
mov dword [ebp - 0x2c], 0x770030
mov dword [ebp - 0x28], 0x610070
mov dword [ebp - 0x24], 0x700070
mov dword [ebp - 0x20], 0x65002e
mov dword [ebp - 0x1c], 0x650078
mov dword [ebp - 0x18], 0x66005c
mov dword [ebp - 0x14], 0x6c0069
mov dword [ebp - 0x10], 0x5f0065
mov dword [ebp - 0xc], 0x650070
nop dword [eax]
lea ecx, [edx + 0x7fffffb5]
test ecx, ecx
je 0x45120e
movzx ecx, word [esi + eax]
test cx, cx
je 0x45120e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4511f0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x451230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x98], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x98]
mov eax, 0x58e718
mov dword [ebp - 0x94], 0x540046
push edi
mov dword [ebp - 0x90], 0x410057
mov edx, 0x49
mov dword [ebp - 0x8c], 0x450052
sub esi, eax
mov dword [ebp - 0x88], 0x4d005c
mov dword [ebp - 0x84], 0x630069
mov dword [ebp - 0x80], 0x6f0072
mov dword [ebp - 0x7c], 0x6f0073
mov dword [ebp - 0x78], 0x740066
mov dword [ebp - 0x74], 0x57005c
mov dword [ebp - 0x70], 0x6e0069
mov dword [ebp - 0x6c], 0x6f0064
mov dword [ebp - 0x68], 0x730077
mov dword [ebp - 0x64], 0x43005c
mov dword [ebp - 0x60], 0x720075
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x74006e
mov dword [ebp - 0x54], 0x650056
mov dword [ebp - 0x50], 0x730072
mov dword [ebp - 0x4c], 0x6f0069
mov dword [ebp - 0x48], 0x5c006e
mov dword [ebp - 0x44], 0x700041
mov dword [ebp - 0x40], 0x200070
mov dword [ebp - 0x3c], 0x610050
mov dword [ebp - 0x38], 0x680074
mov dword [ebp - 0x34], 0x5c0073
mov dword [ebp - 0x30], 0x360033
mov dword [ebp - 0x2c], 0x770030
mov dword [ebp - 0x28], 0x610070
mov dword [ebp - 0x24], 0x700070
mov dword [ebp - 0x20], 0x65002e
mov dword [ebp - 0x1c], 0x650078
mov dword [ebp - 0x18], 0x66005c
mov dword [ebp - 0x14], 0x6c0069
mov dword [ebp - 0x10], 0x5f0065
mov dword [ebp - 0xc], 0x650070
nop dword [eax]
lea ecx, [edx + 0x7fffffb5]
test ecx, ecx
je 0x45138e
movzx ecx, word [esi + eax]
test cx, cx
je 0x45138e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x451370
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x4513b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x84], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x84]
mov eax, 0x58e558
mov dword [ebp - 0x80], 0x540046
push edi
mov dword [ebp - 0x7c], 0x410057
mov edx, 0x3f
mov dword [ebp - 0x78], 0x450052
sub esi, eax
mov dword [ebp - 0x74], 0x4d005c
mov dword [ebp - 0x70], 0x630069
mov dword [ebp - 0x6c], 0x6f0072
mov dword [ebp - 0x68], 0x6f0073
mov dword [ebp - 0x64], 0x740066
mov dword [ebp - 0x60], 0x57005c
mov dword [ebp - 0x5c], 0x6e0069
mov dword [ebp - 0x58], 0x6f0064
mov dword [ebp - 0x54], 0x730077
mov dword [ebp - 0x50], 0x43005c
mov dword [ebp - 0x4c], 0x720075
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650056
mov dword [ebp - 0x3c], 0x730072
mov dword [ebp - 0x38], 0x6f0069
mov dword [ebp - 0x34], 0x5c006e
mov dword [ebp - 0x30], 0x700041
mov dword [ebp - 0x2c], 0x200070
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x730030
mov dword [ebp - 0x14], 0x360065
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop word [eax + eax]
lea ecx, [edx + 0x7fffffbf]
test ecx, ecx
je 0x4514de
movzx ecx, word [esi + eax]
test cx, cx
je 0x4514de
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4514c0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x451500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x8c], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x8c]
mov eax, 0x58e938
mov dword [ebp - 0x88], 0x540046
push edi
mov dword [ebp - 0x84], 0x410057
mov edx, 0x43
mov dword [ebp - 0x80], 0x450052
sub esi, eax
mov dword [ebp - 0x7c], 0x4d005c
mov dword [ebp - 0x78], 0x630069
mov dword [ebp - 0x74], 0x6f0072
mov dword [ebp - 0x70], 0x6f0073
mov dword [ebp - 0x6c], 0x740066
mov dword [ebp - 0x68], 0x57005c
mov dword [ebp - 0x64], 0x6e0069
mov dword [ebp - 0x60], 0x6f0064
mov dword [ebp - 0x5c], 0x730077
mov dword [ebp - 0x58], 0x43005c
mov dword [ebp - 0x54], 0x720075
mov dword [ebp - 0x50], 0x650072
mov dword [ebp - 0x4c], 0x74006e
mov dword [ebp - 0x48], 0x650056
mov dword [ebp - 0x44], 0x730072
mov dword [ebp - 0x40], 0x6f0069
mov dword [ebp - 0x3c], 0x5c006e
mov dword [ebp - 0x38], 0x6e0055
mov dword [ebp - 0x34], 0x6e0069
mov dword [ebp - 0x30], 0x740073
mov dword [ebp - 0x2c], 0x6c0061
mov dword [ebp - 0x28], 0x5c006c
mov dword [ebp - 0x24], 0x750048
mov dword [ebp - 0x20], 0x72006f
mov dword [ebp - 0x1c], 0x6e006f
mov dword [ebp - 0x18], 0x530067
mov dword [ebp - 0x14], 0x730079
mov dword [ebp - 0x10], 0x690064
mov dword [ebp - 0xc], 0x670061
nop
lea ecx, [edx + 0x7fffffbb]
test ecx, ecx
je 0x45163e
movzx ecx, word [esi + eax]
test cx, cx
je 0x45163e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x451620
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x451ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x58e4a0
mov dword [ebp - 0x84], 0x4f0053
lea esi, [ebp - 0x84]
mov dword [ebp - 0x80], 0x540046
push edi
mov dword [ebp - 0x7c], 0x410057
mov edx, 0x40
mov dword [ebp - 0x78], 0x450052
sub esi, eax
mov dword [ebp - 0x74], 0x4d005c
mov dword [ebp - 0x70], 0x630069
mov dword [ebp - 0x6c], 0x6f0072
mov dword [ebp - 0x68], 0x6f0073
mov dword [ebp - 0x64], 0x740066
mov dword [ebp - 0x60], 0x57005c
mov dword [ebp - 0x5c], 0x6e0069
mov dword [ebp - 0x58], 0x6f0064
mov dword [ebp - 0x54], 0x730077
mov dword [ebp - 0x50], 0x43005c
mov dword [ebp - 0x4c], 0x720075
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650056
mov dword [ebp - 0x3c], 0x730072
mov dword [ebp - 0x38], 0x6f0069
mov dword [ebp - 0x34], 0x5c006e
mov dword [ebp - 0x30], 0x700041
mov dword [ebp - 0x2c], 0x200070
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x730030
mov dword [ebp - 0x14], 0x660061
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x451bee
movzx ecx, word [esi + eax]
test cx, cx
je 0x451bee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x451bd0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret

Function at 0x451d50
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x451e51
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451e51
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
mov dword [ebp - 0x218], 0x208
lea eax, [ebp - 0x210]
lea ecx, [ebp - 0x211]
push eax
push 0xf003f
push 0
call fcn.00451660
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451e45
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x21c]
push esi
xor esi, esi
push esi
push esi
push eax
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x451e43
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0x208
push eax
push edi
inc esi
call fcn.00451e60
add esp, 8
lea eax, [ebp - 0x21c]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x451e00
pop esi
pop ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x4526b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452703
push edi
push ebx
call fcn.0044ee30
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.0045cb30
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.0044f030
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.0045cb30
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x4527c0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
je 0x452961
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x452961
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452955
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x452955
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
inc ebx
call fcn.004d7bd0
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00508485
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x452925
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x452925
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x452915
sub esp, 0x28
mov eax, esp
push esi
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00455a20
add esp, 0x30
jmp 0x452925
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004558e0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x452880
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x452980
Capabilities:
Check if file exists
Delete directory
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x20d]
call fcn.00450e10
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea ecx, [ebp - 0x20d]
call fcn.00451740
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x549ce4
lea eax, [ebp - 0x20c]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x452a1e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x452a47
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x452a6a
lea eax, [ebp - 0x20c]
push eax
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b85ea
mov esp, ebp
pop ebp
ret

Function at 0x453240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535b42
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x22c], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
call fcn.004d7bd0
add esp, 0xc
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0x104
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45335e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x228]
push eax
push 0x547a10
lea ecx, [ebp - 0x219]
call fcn.00450b70
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453314
sub eax, edx
sar eax, 1
je 0x453342
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00412460
mov ecx, esi
call fcn.0043c3f0
mov ecx, esi
call fcn.0043c2f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408f30
int3