joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4356a0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x43570b
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp ecx, 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret

Function at 0x435950
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43598f
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4359bf
cmp eax, 2
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 0x20d], 0
lea edi, [ebx + eax*2]
cmp edi, ebx
jbe 0x4359f3
cmp word [edi - 2], 0x5c
je 0x4359f3
mov eax, 0x5c
mov byte [ebp - 0x20d], 1
mov word [edi], ax
add edi, 2
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x435ace
lea esi, [ebp - 0x20c]
sub esi, edi
jmp 0x435a40
mov edx, 0x208
mov eax, edi
jmp 0x435a50
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x435a6e
movzx ecx, word [esi + eax]
test cx, cx
je 0x435a6e
mov word [eax], cx
add eax, 2
dec edx
jne 0x435a50
jmp 0x435a72
test edx, edx
jne 0x435a75
sub eax, 2
push ebx
push dword [ebp - 0x21c]
xor ecx, ecx
mov word [eax], cx
call fcn.00435950
add esp, 8
test al, al
je 0x435ac8
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x435a40
mov esi, dword [ebp - 0x21c]
cmp byte [ebp - 0x20d], 0
je 0x435ada
sub edi, 2
xor eax, eax
mov word [edi], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x436710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48ed18
push 0x43ad00
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov esi, dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4367bc
cmp eax, 0x80
je 0x436828
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x436828
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
call edi
test eax, eax
je 0x436828
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 0xffffffff
je 0x436828
push dword [esi + 0x3c]
call ebx
test eax, eax
je 0x436800
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x436800
cmp dword [ebp - 0x30], 0x10
je 0x436828
jmp 0x436814
mov dword [ebp - 4], 0
push esi
push 0x436640
push 0
movzx eax, word [esi + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [esi + 0x3c], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.004367f6
jmp 0x43675d
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call edi
test eax, eax
jne 0x436791
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x436a40
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x436a83
push 0
push 0
push 0
mov dword [esi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x38], eax
test eax, eax
je 0x436a83
push 0
push 0
push esi
push 0x436620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
ret

Function at 0x436ea0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24c], 0
je 0x436ee9
mov eax, dword [esi + 0x248]
test eax, eax
je 0x436ee9
push edi
xor edi, edi
test eax, eax
je 0x436eda
lea ecx, [ecx]
mov eax, dword [esi + 0x24c]
push dword [eax + edi*4]
call fcn.0043acf3
inc edi
add esp, 4
cmp edi, dword [esi + 0x248]
jb 0x436ec0
push dword [esi + 0x24c]
call fcn.0043acf3
add esp, 4
pop edi
mov ecx, esi
call fcn.00436fb0
cmp byte [esi + 0x1290], 0
je 0x436f01
mov ecx, esi
pop esi
jmp fcn.00437040
pop esi
ret
Function at 0x437040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x149c], 0
je 0x4371a5
lea eax, [ebp - 0x434]
push eax
call fcn.0043b185
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0043af0b
push str._r_n_r_n
lea eax, [ebp - 0x404]
mov dword [ebp - 0x42c], 0
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0x18
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4370b0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x42c]
sub ecx, edx
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x404]
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push str._02d:_02d:_02d__Stopping_install_logging_r_n
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437116
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
push str._r_n_r_n_r_n
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437163
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
push dword [esi + 0x149c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x149c], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x437210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x1290], 0
jne 0x43724c
mov eax, dword [esi + 0x149c]
test eax, eax
je 0x437295
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x149c], 0
jmp 0x437295
cmp dword [esi + 0x149c], 0
jne 0x4372a2
cmp word [esi + 0x1292], 0
lea eax, [esi + 0x1292]
je 0x437295
push 0
push 0x80000080
push 4
push 0
push 3
push 0xc0000004
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x149c], eax
test eax, eax
je 0x437295
push 2
push 0
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esi + 0x149c], 0
je 0x43745f
lea eax, [ebp - 0x438]
push edi
push eax
call fcn.0043b185
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0043af0b
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x42c]
add esp, 0xc
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x430], 0xfeff
push 0
push eax
push 2
lea eax, [ebp - 0x430]
push eax
push dword [esi + 0x149c]
call edi
push str._r_n
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0xc
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437320
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
mov eax, dword [ebp - 0x414]
add eax, 0x76c
push eax
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
inc eax
push eax
push str.Install_Date:__02d__02d__04d_r_n
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437387
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x404]
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push str._02d:_02d:_02d__Started_logging_r_n
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4373e6
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
push 0x469890
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00402670
lea ecx, [ebp - 0x404]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437433
sub ecx, edx
lea eax, [ebp - 0x42c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x149c]
call edi
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x149c], eax
pop esi
setne al
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x438440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4034
call fcn.0043b1e0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x1290], 0
je 0x4385a1
cmp dword [esi + 0x149c], 0
je 0x4385a1
lea eax, [ebp - 0x4034]
mov dword [ebp - 0x402c], 0
push eax
call fcn.0043b185
lea eax, [ebp - 0x4034]
push eax
lea eax, [ebp - 0x4028]
push eax
call fcn.0043af0b
push dword [ebp - 0x4028]
lea eax, [ebp - 0x4004]
push dword [ebp - 0x4024]
push dword [ebp - 0x4020]
push str._02d:_02d:_02d
push 0x2000
push eax
call fcn.00402670
lea ecx, [ebp - 0x4004]
mov dword [ebp - 0x402c], 0
add esp, 0x24
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4384e0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x402c]
sub ecx, edx
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x4004]
push eax
push dword [esi + 0x149c]
call edi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x4004]
push 0x1fff
push eax
call fcn.0043975a
add esp, 0x10
test eax, eax
js 0x43853a
cmp eax, 0x1fff
ja 0x43853a
jne 0x438540
xor eax, eax
mov word [ebp - 6], ax
lea ecx, [ebp - 0x4004]
mov dword [ebp - 0x402c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438553
sub ecx, edx
lea eax, [ebp - 0x402c]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x4004]
push eax
push dword [esi + 0x149c]
call edi
push 0
lea eax, [ebp - 0x402c]
mov dword [ebp - 0x402c], 0
push eax
push 4
push 0x46973c
push dword [esi + 0x149c]
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret

Function at 0x4389a0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00436fb0
cmp byte [esi + 0x1290], 0
je 0x4389b9
mov ecx, esi
pop esi
jmp fcn.00437040
pop esi
ret

Function at 0x4389c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x14a0], 0xffffffff
je 0x438a8f
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0043a7a0
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x14a4], eax
cmp dword [esi + 0x14a4], 0x64
jle 0x438a19
mov dword [esi + 0x14a4], 0x64
push edi
push dword [esi + 0x14a4]
lea eax, [ebp - 0x204]
push str._d_t_s
push 0x100
push eax
call fcn.0043aeca
lea ecx, [ebp - 0x204]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438a42
sub ecx, edx
lea eax, [ebp - 0x208]
push 0
sar ecx, 1
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [esi + 0x14a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x438a8f
push dword [esi + 0x14a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14a0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret 8
Function at 0x446511
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0043d12e
mov dword [ebp - 0x14], eax
cmp dword [0x493904], esi
jne 0x446604
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x446591
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4466e4
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4466e4
push 0x46e424
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4466e4
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x493904], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x493908], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49390c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x493914], eax
test eax, eax
je 0x446601
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x493910], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x446629
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44661c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x44663e
push 4
pop eax
jmp 0x4466e6
cmp dword [ebp - 0x14], esi
je 0x44663e
push dword [0x493904]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x446623
mov eax, dword [0x493910]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x44669c
cmp dword [0x493914], edi
je 0x44669c
push eax
call ebx
push dword [0x493914]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44669c
test eax, eax
je 0x44669c
call ecx
test eax, eax
je 0x446691
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x446691
test byte [ebp - 8], 1
jne 0x44669c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4466cc
mov eax, dword [0x493908]
cmp eax, edi
je 0x4466c9
push eax
call ebx
test eax, eax
je 0x4466c9
call eax
mov esi, eax
test esi, esi
je 0x4466c9
mov eax, dword [0x49390c]
cmp eax, edi
je 0x4466c9
push eax
call ebx
test eax, eax
je 0x4466c9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x493904]
call ebx
test eax, eax
je 0x4466e4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4466e6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x452e70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x452e9f
mov eax, 0x80070057
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [0x471c00]
push edi
push esi
movdqu xmmword [ebp - 0x914], xmm0
call fcn.004534c0
mov edi, eax
add esp, 4
test edi, edi
js 0x452f82
lea eax, [ebp - 0x914]
push eax
push esi
call fcn.004536b0
mov edi, eax
add esp, 8
test edi, edi
js 0x452f82
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call fcn.0043a7a0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x452f82
lea eax, [ebp - 0x104]
push eax
push str.SoftwareClassesSoftwareMicrosoftWindowsCurrentVersionGameUXGamesToFindOnWindowsUpgrade_s
lea eax, [ebp - 0x904]
push 0x400
push eax
call fcn.00402670
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x10
test eax, eax
js 0x452f50
lea eax, [ebp - 0x904]
push eax
push SysReAllocString
call esi
lea eax, [ebp - 0x104]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionGameUXGamesToFindOnWindowsUpgrade_s
lea eax, [ebp - 0x904]
push 0x400
push eax
call fcn.00402670
add esp, 0x10
test eax, eax
js 0x452f82
lea eax, [ebp - 0x904]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x4534c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4534ef
mov eax, 0x80070057
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
push edi
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x604], ax
lea eax, [ebp - 0x602]
push eax
call fcn.0043a7a0
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x80c]
add esp, 0xc
push eax
push 0
push 0
push 0x1c
push 0
call edi
test eax, eax
js 0x45369f
lea eax, [ebp - 0xa14]
push eax
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
js 0x45369f
movdqu xmm0, xmmword [0x471c00]
lea eax, [ebp - 0xa24]
push eax
push esi
movdqu xmmword [ebp - 0xa24], xmm0
call fcn.004536b0
add esp, 8
test eax, eax
js 0x45369f
push 0x100
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0xa24]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x4535a0
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x80c]
push eax
push str._sMicrosoftWindowsGameExplorer_s
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.00402670
add esp, 0x14
test eax, eax
js 0x45369f
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea eax, [ebp - 0x604]
xorps xmm0, xmm0
mov dword [ebp - 0xa2c], 0
movdqu xmmword [ebp - 0xa44], xmm0
mov dword [ebp - 0xa3c], eax
mov edi, 0x414
lea eax, [ebp - 0xa44]
movq qword [ebp - 0xa34], xmm0
push eax
mov word [ebp - 0xa28], 0
mov dword [ebp - 0xa40], 3
mov word [ebp - 0xa34], di
call esi
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0xa14]
push eax
push str._sMicrosoftWindowsGameExplorer_s
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.00402670
add esp, 0x14
test eax, eax
js 0x45369f
xorps xmm0, xmm0
mov dword [ebp - 0xa2c], 0
movdqu xmmword [ebp - 0xa44], xmm0
lea eax, [ebp - 0x604]
mov word [ebp - 0xa28], 0
movq qword [ebp - 0xa34], xmm0
mov dword [ebp - 0xa3c], eax
lea eax, [ebp - 0xa44]
push eax
mov dword [ebp - 0xa40], 3
mov word [ebp - 0xa34], di
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x453a70
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x204]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor bl, bl
push edi
push 0x100
push ecx
xor edi, edi
mov dword [ebp - 0x43c], eax
push edi
push eax
mov dword [ebp - 0x438], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x453c7e
jmp 0x453ac0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0x20019
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x453c5c
lea eax, [ebp - 0x440]
mov dword [ebp - 0x440], 0x208
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.GDFBinaryPath
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x453c4c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x453b66
test dx, dx
je 0x453b62
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x453b66
add ecx, 4
add eax, 4
test dx, dx
jne 0x453b40
xor eax, eax
jmp 0x453b6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x453c4c
mov bl, 1
test esi, esi
je 0x453c4c
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push esi
lea eax, [ebp - 0x204]
push str._8X__4X__4X__2X_2X__2X_2X_2X_2X_2X_2X
push eax
call fcn.004545ff
add esp, 0x34
cmp eax, 0xb
je 0x453be6
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
jmp 0x453c4c
movzx eax, word [ebp - 0x434]
mov word [esi + 4], ax
movzx eax, word [ebp - 0x430]
mov word [esi + 6], ax
movzx eax, byte [ebp - 0x42c]
mov byte [esi + 8], al
movzx eax, byte [ebp - 0x428]
mov byte [esi + 9], al
movzx eax, byte [ebp - 0x424]
mov byte [esi + 0xa], al
movzx eax, byte [ebp - 0x420]
mov byte [esi + 0xb], al
movzx eax, byte [ebp - 0x41c]
mov byte [esi + 0xc], al
movzx eax, byte [ebp - 0x418]
mov byte [esi + 0xd], al
movzx eax, byte [ebp - 0x414]
mov byte [esi + 0xe], al
movzx eax, byte [ebp - 0x410]
mov byte [esi + 0xf], al
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x453c7e
push 0x100
lea eax, [ebp - 0x204]
inc edi
push eax
push edi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x453ac0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret