joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b80
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 0x449d2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x449d0c
mov dl, 1
mov eax, dword [0x40e6d8]
call fcn.00402e50
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b48
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449cfb
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.0043804c
test al, al
je 0x449cee
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, 0x449d3c
lea eax, [ebp - 0x254]
call fcn.004095ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449cee
xor eax, eax
push ebp
push 0x449ce7
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 0x449d74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449cd0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d78
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 0x449cd0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449cee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449bf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411d5c
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 0x449d32
lea eax, [ebp - 0x260]
call fcn.00403b48
ret

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

Disassembly:
push ecx
mov eax, dword [0x48a7d4]
cmp byte [eax + 0x95], 0
jne 0x44a5e9
cmp dword [0x48a7f0], 0
jne 0x44a5aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a534
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48a7f0], eax
cmp dword [0x48a7ec], 0
jne 0x44a5c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48a7ec], eax
cmp dword [0x48a7f4], 0
jne 0x44a5e9
push esp
push 0
push 0
push 0x44a4d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48a7f4], eax
pop edx
ret
Function at 0x44a6e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a6f7
add esp, 0xfffffff0
call fcn.004031c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004166f8
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e1ac]
call fcn.00402e50
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e1ac]
call fcn.00402e50
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 [0x4185f0]
call fcn.00420088
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44a86c
mov eax, dword [0x489ca8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00420458
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c1fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489ca8]
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.0040b630
test eax, eax
je 0x44a7ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f4c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b658
test eax, eax
je 0x44a7fe
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.00403d78
mov eax, dword [0x489b68]
cmp byte [eax], 0
jne 0x44a82f
mov eax, ebx
call fcn.0044a958
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 0x44a861
call fcn.00403218
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44abc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48a7d4]
cmp dword [eax + 0x24], 0
je 0x44ac6b
cmp dword [ebx + 0x84], 0
jne 0x44ac65
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ab58
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44ac65
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 0x44ac2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ac65
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.0040fd08
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ac3d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44b678
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 0x44b6ad
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.00403c30
jmp 0x44b6b7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b9c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c570
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44c5a8
mov eax, esi
call fcn.00433db0
test al, al
je 0x44c5a8
mov eax, dword [ebx + 0x74]
call fcn.00433ab4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c5a8
push 0
mov eax, dword [ebx + 0x74]
call fcn.00433ab4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45271c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45274a
mov eax, ebx
call fcn.004531c0
cmp dword [ebx + 0x3c], 0
je 0x452743
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4527bb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4527ad
cmp dword [ebx + 8], 0
je 0x45276c
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 0x45277e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4527ad
cmp dword [ebx + 8], 0
je 0x45275f
cmp eax, 3
je 0x452791
dec eax
jne 0x45275f
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 0x45275f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x45275f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4527d9
cmp dword [ebx + 0x10], 0xcc
je 0x4527d9
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.004527e4
pop ebx
ret
Function at 0x46c3c8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c531
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403be0
mov eax, dword [ebp - 0x10]
call fcn.0046c054
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46c41a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046c994
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46c4ef
xor eax, eax
push ebp
push 0x46c4e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046c1c4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046c560
test al, al
je 0x46c4c6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c30
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46c4c6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403f8c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46c4c0
mov eax, dword [ebp - 0x14]
call fcn.00403f8c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d00
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046c3c8
dec ebx
cmp ebx, 0xffffffff
jne 0x46c479
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c4ef
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046c1c4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403f8c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046c1b0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c538
lea eax, [ebp - 0x3c]
call fcn.00403b48
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b6c
ret
Function at 0x46c4ef
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c531
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403be0
mov eax, dword [ebp - 0x10]
call fcn.0046c054
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46c41a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046c994
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46c4ef
xor eax, eax
push ebp
push 0x46c4e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046c1c4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046c560
test al, al
je 0x46c4c6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c30
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46c4c6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403f8c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46c4c0
mov eax, dword [ebp - 0x14]
call fcn.00403f8c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d00
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046c3c8
dec ebx
cmp ebx, 0xffffffff
jne 0x46c479
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c4ef
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046c1c4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403f8c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046c1b0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c538
lea eax, [ebp - 0x3c]
call fcn.00403b48
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b6c
ret

Function at 0x46c560
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b7c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x489f6c]
cmp byte [edx + 8], 0
je 0x46c5c4
mov edx, dword [0x489f68]
cmp dword [edx], 2
jne 0x46c5c4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x46c5c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46c680
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046c560
test al, al
je 0x46c662
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403c30
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x46c662
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f8c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403f8c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403d00
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x46c61b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c687
lea eax, [ebp - 0x2c]
call fcn.00403b48
lea eax, [ebp - 0xc]
call fcn.00403b48
ret

Function at 0x46c690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46c748
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046c560
test al, al
je 0x46c72a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403c30
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46c72a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f8c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00403f8c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403d00
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x46c6e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c74f
lea eax, [ebp - 0x2c]
call fcn.00403b48
lea eax, [ebp - 0xc]
call fcn.00403b48
ret
Function at 0x46c8b8
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.0046c068
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.00403f8c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46c916
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x489da0]
mov dl, 1
mov eax, dword [0x46bf60]
call fcn.0040ac7c
call fcn.00403618
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46c920
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.00403f8c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46c978
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x489f7c]
mov dl, 1
mov eax, dword [0x46bf60]
call fcn.0040ac7c
call fcn.00403618
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046c098
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 0x46cdc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f8c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46cddd
test al, 0x10
jne 0x46cde1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x46d718
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407494
ret
Function at 0x46da20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46dae7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
lea edx, [esi + 0x43]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00402a3c
mov edx, 0x46daf8
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.00402a0c
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00403d6c
mov eax, dword [ebp - 0x10]
call fcn.00403f8c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor ebx, ebx
cmp eax, 3
jne 0x46da88
mov ebx, esi
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
lea edx, [ebx + 0x43]
call fcn.00403cf0
lea eax, [ebp - 0x1c]
mov edx, 0x46db04
call fcn.00403dd0
mov eax, dword [ebp - 0x1c]
call fcn.00403f8c
push eax
call sub.kernel32.dll_GetVolumeInformationA
imul ebx, dword [ebp - 4], 0x7ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46daee
lea eax, [ebp - 0x1c]
call fcn.00403b48
lea eax, [ebp - 0x10]
call fcn.00403b48
ret
Function at 0x46db58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46db60
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46dd3d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0046dd50
mov ebx, eax
call fcn.0046dd7c
mov esi, eax
call fcn.0046ddac
mov edi, eax
lea eax, [esi + 0x123456]
lea edx, [ebx + 0x987654]
or eax, edx
imul eax, eax, 0x7ba
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.0040896c
lea eax, [esi + 0x1abc56]
lea edx, [ebx + 0xefa654]
or eax, edx
add eax, eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040896c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00403dd0
lea eax, [esi + 0xeabc56]
lea edx, [ebx + 0x3fa654]
or eax, edx
imul eax, eax, 0x1c
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.0040896c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00403dd0
add esi, 0x9abc56
lea eax, [ebx + 0x7fa654]
or esi, eax
mov eax, esi
shl eax, 5
add eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.0040896c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00403dd0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x10
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403fd0
push 0x46dd4c
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x46dc63
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00403e14
jmp 0x46dd22
lea eax, [edi + 0x123456]
lea edx, [ebx + 0x987654]
or eax, edx
imul eax, eax, 0x7ba
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.0040896c
lea eax, [edi + 0x1abc56]
lea edx, [ebx + 0xefa654]
or eax, edx
add eax, eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0040896c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00403dd0
lea eax, [edi + 0xeabc56]
lea edx, [ebx + 0x3fa654]
or eax, edx
imul eax, eax, 0x1c
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040896c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00403dd0
add edi, 0x9abc56
add ebx, 0x7fa654
or edi, ebx
mov eax, edi
shl eax, 5
add eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040896c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00403dd0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x10
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00403fd0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00403e14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd44
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00403b6c
ret

Function at 0x46dd7c
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x46dda8
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret