joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446fdc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447187
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x447168
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.00402d3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004039f4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x447157
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00435564
test al, al
je 0x44714a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x447198
lea eax, [ebp - 0x254]
call fcn.00408924
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44714a
xor eax, eax
push ebp
push 0x447143
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4471d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44712c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c24
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44712c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44714a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44704d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410d70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44718e
lea eax, [ebp - 0x260]
call fcn.004039f4
ret

Function at 0x4479d4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4707cc]
cmp byte [eax + 0x95], 0
jne 0x447a45
cmp dword [0x4707e8], 0
jne 0x447a06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x447990
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4707e8], eax
cmp dword [0x4707e4], 0
jne 0x447a21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4707e4], eax
cmp dword [0x4707ec], 0
jne 0x447a45
push esp
push 0
push 0
push 0x447934
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4707ec], eax
pop edx
ret
Function at 0x447b3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x447b53
add esp, 0xfffffff0
call fcn.0040306c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413cdc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ddd4]
call fcn.00402d3c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40ddd4]
call fcn.00402d3c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x415b34]
call fcn.0041d0f4
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x447cc8
mov eax, dword [0x46f698]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041d4c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4496f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46f698]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040b8a8
test eax, eax
je 0x447c46
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b8d0
test eax, eax
je 0x447c5a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c24
mov eax, dword [0x46f568]
cmp byte [eax], 0
jne 0x447c8b
mov eax, ebx
call fcn.00447db4
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x447cbd
call fcn.004030c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448024
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4707cc]
cmp dword [eax + 0x24], 0
je 0x4480c7
cmp dword [ebx + 0x84], 0
jne 0x4480c1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x447fb4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4480c1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44808a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4480c1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040f498
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x448099
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x448ad4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x448b09
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403adc
jmp 0x448b13
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403a48
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x449a6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x449aa4
mov eax, esi
call fcn.004312d8
test al, al
je 0x449aa4
mov eax, dword [ebx + 0x74]
call fcn.00430fdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x449aa4
push 0
mov eax, dword [ebx + 0x74]
call fcn.00430fdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4509e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x450a0e
mov eax, ebx
call fcn.00451484
cmp dword [ebx + 0x3c], 0
je 0x450a07
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x450a7f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x450a71
cmp dword [ebx + 8], 0
je 0x450a30
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x450a42
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x450a71
cmp dword [ebx + 8], 0
je 0x450a23
cmp eax, 3
je 0x450a55
dec eax
jne 0x450a23
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x450a23
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x450a23
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x450a9d
cmp dword [ebx + 0x10], 0xcc
je 0x450a9d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00450aa8
pop ebx
ret

Function at 0x4643bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00464000
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403e38
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46441a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46f78c]
mov dl, 1
mov eax, dword [0x463ef8]
call fcn.0040ad44
call fcn.004034c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x464424
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403e38
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46447c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46f95c]
mov dl, 1
mov eax, dword [0x463ef8]
call fcn.0040ad44
call fcn.004034c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00464030
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46521c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x465374
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.00408fa8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 6]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 6]
lea eax, [ebp - 6]
call fcn.00408be8
lea eax, [ebp - 0x110]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
cmp byte [ebp + eax - 0x111], 0x5c
jne 0x4652a0
mov byte [ebp + eax - 0x111], 0
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x110]
call fcn.00408444
push dword [ebp - 0x114]
push 0x46538c
lea edx, [ebp - 0x118]
movzx eax, word [ebp - 8]
call fcn.00407ed0
push dword [ebp - 0x118]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403d34
jmp 0x4652e1
inc ebx
push dword [ebp - 0xc]
lea edx, [ebp - 0x120]
mov eax, ebx
call fcn.00407ed0
push dword [ebp - 0x120]
push dword [esi + 0x2c]
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00403d34
mov eax, dword [ebp - 0x11c]
call fcn.0040808c
test al, al
jne 0x4652e0
push dword [ebp - 0xc]
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00407ed0
push dword [ebp - 0x124]
push dword [esi + 0x2c]
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00403d34
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407f94
call fcn.0040801c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46537b
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.00403a18
lea eax, [ebp - 0xc]
call fcn.004039f4
ret
Function at 0x465898
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00403e28
xor eax, eax
push ebp
push 0x465a1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00465ca8
test al, al
je 0x4659fd
mov dl, 1
mov eax, dword [0x463f58]
call fcn.00464058
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4659eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.004640f8
xor ecx, ecx
mov edx, 0x465a34
mov eax, dword [ebp - 0x10]
call fcn.0046415c
xor eax, eax
push ebp
push 0x465934
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00464280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46593e
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.004640f8
mov edx, 0x465a34
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.0046415c
xor eax, eax
push ebp
push 0x465980
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00464280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46598a
cmp byte [ebp - 5], 0
jne 0x46599f
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.004640f8
jmp 0x4659ac
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.004640f8
mov edx, 0x465a34
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.0046415c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25], 0
je 0x4659e1
lea edx, [ebp - 0x14]
mov eax, dword [0x46f7f8]
mov eax, dword [eax]
call fcn.00449478
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00464318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4659f5
mov eax, dword [ebp - 0x10]
call fcn.00402d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465a22
lea eax, [ebp - 0x14]
call fcn.004039f4
lea eax, [ebp - 0xc]
call fcn.004039f4
ret
Function at 0x465ab0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403e28
xor eax, eax
push ebp
push 0x465c61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 1
je 0x465c13
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp - 8]
call fcn.00403a48
lea eax, [ebp - 0x10]
call fcn.004039f4
mov dl, 1
mov eax, dword [0x463f58]
call fcn.00464058
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x465bf2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004640f8
xor ecx, ecx
mov edx, 0x465c78
mov eax, dword [ebp - 0xc]
call fcn.0046415c
xor eax, eax
push ebp
push 0x465b6c
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00464344
cmp dword [ebp - 0x10], 0
je 0x465b62
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465b7e
cmp dword [ebp - 0x10], 0
jne 0x465be8
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004640f8
mov edx, 0x465c78
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0046415c
xor eax, eax
push ebp
push 0x465bd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00464344
cmp dword [ebp - 0x10], 0
je 0x465bcc
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465be8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465bfc
cmp dword [ebp - 0x10], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x25], al
mov eax, dword [ebp - 0xc]
call fcn.00402d6c
jmp 0x465c43
mov eax, dword [ebp - 4]
call fcn.00465ca8
test al, al
jne 0x465c43
cmp dword [ebp - 8], 0
je 0x465c43
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
call fcn.00403d84
je 0x465c43
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp - 8]
call fcn.00403a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c68
lea eax, [ebp - 0x10]
call fcn.004039f4
lea eax, [ebp - 8]
call fcn.004039f4
ret
Function at 0x4683b4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e28
xor eax, eax
push ebp
push 0x4684a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004039f4
mov dl, 1
mov eax, dword [0x463f58]
call fcn.00464058
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004640f8
lea eax, [ebp - 0xc]
mov edx, 0x4684b8
call fcn.00403a8c
xor eax, eax
push ebp
push 0x46845c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00464530
test al, al
je 0x468452
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0046415c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407d50
mov edx, dword [ebp - 0x10]
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00464344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468475
mov eax, dword [ebp - 8]
call fcn.00402d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4684a7
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403a18
lea eax, [ebp - 4]
call fcn.004039f4
ret

Function at 0x46d234
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x46d2d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x46f7f8]
mov eax, dword [eax]
call fcn.00449478
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408134
mov eax, dword [ebp - 4]
call fcn.00403e38
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea edx, [ebp - 0x10]
mov eax, dword [0x46f7f8]
mov eax, dword [eax]
call fcn.00449478
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408134
mov edx, dword [ebp - 0xc]
mov eax, dword [0x46f7f8]
mov eax, dword [eax]
add eax, 0x40
mov ecx, 0x46d2e8
call fcn.00403cc0
mov eax, dword [0x46f7f8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 3
call fcn.00449470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d2d9
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403a18
ret
Function at 0x403599
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x420450]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x419d75
call fcn.0040e746
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.0040de20
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.00402495
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], ebx
jmp 0x403677
cmp byte [ebp - 0xd], bl
je 0x403631
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403363
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x40365c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403363
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x403611
mov eax, dword [ebp - 0x14]
cmp dword [0x4217ec], eax
jne 0x40369e
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x403694
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
push 1
lea ecx, [ebp]
call fcn.00402e7e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040de9a
add ebp, 0x124
leave
ret 4
Function at 0x40617f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4061d2
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4061e8
push 0x80004005
call fcn.00405edd
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4061eb
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40644a
Capabilities:
Create thread

Disassembly:
cmp byte [0x42182e], 1
jne 0x406497
push edi
xor edi, edi
cmp dword [0x421830], edi
jne 0x406496
push esi
push 0x421830
push edi
push edi
push 0x40628f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x406481
mov dword [0x421830], edi
jmp 0x406495
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406495
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
ret

Function at 0x406bfe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406c59
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.DCRotationCaps
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0xc], 1
pop esi
sete al
leave
ret