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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c270
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43c251
mov dl, 1
mov eax, dword [0x417ac8]
call fcn.00403544
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404468
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x43c240
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00457b70
test al, al
jne 0x43c13d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43c233
xor edx, edx
push ebp
push 0x43c22c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43c15d
mov ebx, dword [ebp - 0x10]
jmp 0x43c15f
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x43c280
lea eax, [ebp - 0x258]
call fcn.0040958c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43c215
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x43c2b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43c215
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43c215
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c233
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x43c11e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b62c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c277
lea eax, [ebp - 0x264]
call fcn.00404468
ret
Function at 0x43cbb8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x469ae0]
cmp byte [eax + 0xa5], 0
jne 0x43cc29
cmp dword [0x469af8], 0
jne 0x43cbea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43cb74
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x469af8], eax
cmp dword [0x469af4], 0
jne 0x43cc05
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x469af4], eax
cmp dword [0x469afc], 0
jne 0x43cc29
push esp
push 0
push 0
push 0x43cb18
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x469afc], eax
pop edx
ret

Function at 0x43d2bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469ae0]
cmp dword [eax + 0x30], 0
je 0x43d366
cmp dword [ebx + 0x94], 0
jne 0x43d360
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43d24c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43d360
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 0x43d326
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43d360
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419a28
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43d335
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43dec4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x43def9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404558
jmp 0x43df06
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43ee94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43eed5
mov eax, esi
call fcn.004531e0
test al, al
je 0x43eed5
mov eax, dword [ebx + 0x84]
call fcn.00452f08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43eed5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452f08
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x441e3c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404468
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441e8b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x469b60], 0
je 0x44a37f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46836c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44a37f
mov eax, dword [0x469b64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x469b60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44a34e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x469b60]
call fcn.00419a28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a346
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44a346
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44a346
mov eax, dword [ebp - 0x14]
call fcn.00452f08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a346
push ebp
call fcn.0044a1ec
pop ecx
test al, al
jne 0x44a346
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44a302
mov eax, dword [ebp - 0x14]
call fcn.00451a38
dec eax
jle 0x44a346
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040377c
cmp byte [ebp - 1], 0
je 0x44a346
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44a346
mov edx, dword [ebp - 0x14]
mov eax, dword [0x469b64]
call fcn.004499b8
inc edi
dec ebx
jne 0x44a295
mov eax, dword [0x469b64]
cmp dword [eax + 8], 0
jle 0x44a366
mov eax, dword [0x469b64]
call fcn.00449a48
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a37f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a054
pop ecx
test al, al
jne 0x44a37f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d964
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44d9b0
mov eax, esi
call fcn.004355cc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44d9b0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44d9b0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44daef
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44d9f0
cmp eax, 0x108
ja 0x44d9f0
mov eax, esi
call fcn.004355cc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dae6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44daef
jmp 0x44dae6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44dacf
cmp eax, 0x20a
ja 0x44dacf
test byte [esi + 0x50], 0x80
jne 0x44da22
sub eax, 0x203
je 0x44da1f
sub eax, 3
je 0x44da1f
sub eax, 3
jne 0x44da22
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44da36
dec eax
je 0x44da4b
dec eax
je 0x44da68
dec eax
je 0x44da4b
jmp 0x44da6f
mov ecx, ebx
mov eax, dword [0x46836c]
mov eax, dword [eax]
mov edx, esi
call fcn.0043ed4c
jmp 0x44dae6
cmp byte [esi + 0x5d], 1
jne 0x44da61
mov eax, esi
mov si, 0xffed
call fcn.0040377c
jmp 0x44daef
or word [esi + 0x54], 1
jmp 0x44dae6
and word [esi + 0x54], 0xfffe
jmp 0x44dae6
mov eax, dword [0x469b1c]
cmp byte [eax + 0x20], 0
je 0x44dae6
mov eax, dword [0x469b1c]
cmp dword [eax + 0x1c], 0
je 0x44dae6
mov eax, dword [ebx]
mov edx, dword [0x469b1c]
cmp eax, dword [edx + 0x1c]
jne 0x44dae6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00435510
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040377c
jmp 0x44daef
cmp eax, 0xb00b
jne 0x44dae6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044c294
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451070
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45108c
cmp dword [esi + 4], 0
je 0x4510b9
test byte [ebx + 0x55], 1
jne 0x4510ab
mov eax, ebx
call fcn.0044fc10
test eax, eax
jne 0x4510ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4511c9
mov edx, esi
mov eax, ebx
call fcn.00450b94
jmp 0x4511c9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4511c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00452f08
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044d898
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00451070
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00452f08
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4511c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457810
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4684f0]
cmp byte [eax + 0xc], 0
je 0x45797d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457976
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469b70], 0
jne 0x457864
push 0x457984
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x45798c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b70], eax
cmp dword [0x467e58], 0
jne 0x45795f
push 0x45799c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x467e58], eax
cmp dword [0x467e58], 0
je 0x45795f
push 0x4579a8
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b74], eax
push 0x4579b8
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b78], eax
push 0x4579cc
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b7c], eax
push 0x4579e4
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b80], eax
push 0x4579fc
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b84], eax
push 0x457a10
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b88], eax
push 0x457a28
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b8c], eax
push 0x457a40
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b90], eax
push 0x457a5c
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b94], eax
push 0x457a68
mov eax, dword [0x467e58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45797d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4013c5
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x506840
jmp 0x4013b9
mov eax, 0x4c6734
call fcn.00495c6c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014cb
mov eax, dword [0x502210]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x502210]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cd7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x50683c
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004b0f7d
push 0x50683c
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004b0f7d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40af1f
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c74e4
call fcn.00495c6c
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x506910
push str.DataFile_Types
mov ecx, esi
call fcn.004c3c32
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40af55
xor eax, eax
jmp 0x40b09d
mov eax, dword [0x502210]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40b06d
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ecdc0
push eax
call fcn.004ae717
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c3ce4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b0f2d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b0de6
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c3ce4
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b0f2d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b0de6
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c3c78
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40b046
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40b046
cmp eax, 0xffffffff
je 0x40b046
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b18a
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40af91
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0de6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b0de6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0de6
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c1d9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4cf880
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00495c90
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c567
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40cdea
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00495c90
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x4159f4
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c7d3b
call fcn.00495c6c
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b5073
mov eax, dword [0x502210]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4d0df0
jne 0x415a7a
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00495c90
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x415a73
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x415a7a
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.00496603
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x415a8f
call fcn.004aedf8
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.00415c54
push eax
call fcn.00495c90
push 0x200002
call fcn.004b13ba
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.00415c54
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.00415c54
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.00415c54
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.00415c54
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.00415c54
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.00415c54
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.00415c54
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x415b4c
mov ecx, esi
call fcn.00415c54
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c3a93
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.00415c54
mov ecx, esi
mov dword [eax + 8], edi
call fcn.00415c54
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41587d
je 0x415b85
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x415bc4
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004b0f7d
push ebx
mov ecx, edi
call fcn.004b122b
push 0x7c
push eax
call fcn.004965da
pop ecx
cmp eax, ebx
pop ecx
je 0x415bb7
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x415ba1
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.00415c54
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c