joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fe8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42febd
je 0x42ff17
sub eax, 7
je 0x42fede
dec eax
je 0x42ff08
sub eax, 0x17
je 0x42ffbc
jmp 0x42fffa
add eax, 0xffffff00
sub eax, 9
jb 0x42ffa8
add eax, 0xffffff09
sub eax, 0xb
jb 0x42ff70
jmp 0x42fffa
mov eax, ebx
call fcn.004420bc
mov edi, eax
test edi, edi
je 0x43005a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x430063
jmp 0x43005a
test byte [ebx + 0x44], 0x20
jne 0x430063
jmp 0x43005a
mov edx, esi
mov eax, ebx
call fcn.0042d48c
cmp dword [esi + 0xc], 0xffffffff
jne 0x430063
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406f84
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042bfc0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042fd64
test eax, eax
je 0x430063
mov dword [esi + 0xc], 1
jmp 0x430063
mov edx, esi
mov eax, ebx
call fcn.0042fdf8
test al, al
je 0x43005a
cmp dword [esi + 0xc], 0
jne 0x430063
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004324f4
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x430063
mov eax, ebx
call fcn.0042cb28
test al, al
jne 0x430063
jmp 0x43005a
mov eax, ebx
call fcn.004324f4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43005a
cmp dword [0x4717bc], 0
je 0x43005a
mov eax, dword [0x4717bc]
cmp ebx, dword [eax + 0x24]
jne 0x43005a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4717bc]
call fcn.0042d3c0
jmp 0x43005a
mov eax, dword [0x473744]
cmp byte [eax + 0x20], 0
je 0x43005a
mov eax, dword [0x473744]
cmp dword [eax + 0x1c], 0
je 0x43005a
mov eax, dword [esi]
mov edx, dword [0x473744]
cmp eax, dword [edx + 0x1c]
jne 0x43005a
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00442000
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403190
jmp 0x430063
mov edx, esi
mov eax, ebx
call fcn.0042d48c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430524
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 + 0x1e8], 0
je 0x430540
cmp dword [esi + 4], 0
je 0x43056d
test byte [ebx + 0x45], 1
jne 0x43055f
mov eax, ebx
call fcn.0042f45c
test eax, eax
jne 0x43055f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43067d
mov edx, esi
mov eax, ebx
call fcn.0043019c
jmp 0x43067d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x430676
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004324f4
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.0042d3c0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430524
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.004324f4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43067d
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 0x43a34c
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.00403c3c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43a39b
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.00403e6c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441dd8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4737dc
cmp dword [edi], 0
jne 0x441e54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4737d8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x471950
mov ecx, 2
call fcn.00402938
mov edx, 0x441db0
lea eax, [esi + 5]
call fcn.00441dd0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00441dd0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x441e29
mov dword [0x4737d8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x441f70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x441fc0]
test si, 4
je 0x441f84
or bl, 1
test si, 8
je 0x441f8e
or bl, 4
test si, 1
je 0x441f98
or bl, 8
test si, 2
je 0x441fa2
or bl, 0x10
test si, 0x10
je 0x441fac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441fbb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x441fc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x441ffc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441fdd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441fec
or bl, 4
test esi, 0x20000000
je 0x441ff7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44822c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44823e
add esp, 0xfffffff0
call fcn.004032b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414638
mov eax, ebx
call fcn.00448578
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x444d1c
push eax
push 0
push 0
mov eax, dword [0x472798]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x415b00]
call fcn.00417038
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x415b00]
call fcn.00417038
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x415b00]
call fcn.00417038
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00448958
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448874
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448874
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448874
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44834d
call fcn.0040330c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x448658
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 0x448803
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x4487e4
mov dl, 1
mov eax, dword [0x40e83c]
call fcn.00402f84
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4487d3
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.00436ac0
test al, al
je 0x4487c6
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, 0x448814
lea eax, [ebp - 0x254]
call fcn.00408fd4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4487c6
xor eax, eax
push ebp
push 0x4487bf
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 0x44884c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4487a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e6c
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 0x4487a8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4487c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4486c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004116cc
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 0x44880a
lea eax, [ebp - 0x260]
call fcn.00403c3c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4737cc]
cmp byte [eax + 0x95], 0
jne 0x4490c1
cmp dword [0x4737e8], 0
jne 0x449082
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44900c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4737e8], eax
cmp dword [0x4737e4], 0
jne 0x44909d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4737e4], eax
cmp dword [0x4737ec], 0
jne 0x4490c1
push esp
push 0
push 0
push 0x448fb0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4737ec], eax
pop edx
ret
Function at 0x4491b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4491cf
add esp, 0xfffffff0
call fcn.004032b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414638
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e53c]
call fcn.00402f84
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 [0x416490]
call fcn.0041e1f0
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x449344
mov eax, dword [0x4726b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041e5c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ad40
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4726b8]
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.0040bfb8
test eax, eax
je 0x4492c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408988
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bfe0
test eax, eax
je 0x4492d6
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.00403e6c
mov eax, dword [0x472570]
cmp byte [eax], 0
jne 0x449307
mov eax, ebx
call fcn.00449430
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 0x449339
call fcn.0040330c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4496a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4737cc]
cmp dword [eax + 0x24], 0
je 0x449743
cmp dword [ebx + 0x84], 0
jne 0x44973d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x449630
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44973d
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 0x449706
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44973d
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.0040fc00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x449715
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44a150
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 0x44a185
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403c90

Function at 0x44b0b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44b0ec
mov eax, esi
call fcn.004327f0
test al, al
je 0x44b0ec
mov eax, dword [ebx + 0x74]
call fcn.004324f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44b0ec
push 0
mov eax, dword [ebx + 0x74]
call fcn.004324f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4545a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4545d2
mov eax, ebx
call fcn.00455048
cmp dword [ebx + 0x3c], 0
je 0x4545cb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x454643
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x454635
cmp dword [ebx + 8], 0
je 0x4545f4
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 0x454606
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x454635
cmp dword [ebx + 8], 0
je 0x4545e7
cmp eax, 3
je 0x454619
dec eax
jne 0x4545e7
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 0x4545e7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4545e7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x454661
cmp dword [ebx + 0x10], 0xcc
je 0x454661
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.0045466c
pop ebx
ret

Function at 0x466420
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.00465fa4
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.00404080
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46647e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4727a0]
mov dl, 1
mov eax, dword [0x465e30]
call fcn.0040b330
call fcn.0040370c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x466488
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.00404080
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4664e0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47296c]
mov dl, 1
mov eax, dword [0x465e30]
call fcn.0040b330
call fcn.0040370c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00465fd4
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 0x469f5c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a0cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a0a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403de4
lea eax, [ebp - 0x118]
mov edx, 0x46a0e4
call fcn.00403ec4
mov eax, dword [ebp - 0x118]
call fcn.00404080
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46a01a
lea eax, [ebp - 0x111]
call fcn.00408920
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403d24
jmp 0x46a021
mov eax, esi
call fcn.00403c3c
cmp bl, 0x61
jae 0x46a042
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040be8c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403c90
jmp 0x46a05c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040be00
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403c90
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x46a0f0
call fcn.0040903c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a0af
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x46c844
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404080
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46c85d
test al, 0x10
jne 0x46c861
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x46e6f8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404070
xor eax, eax
push ebp
push 0x46e7b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403c3c
mov dl, 1
mov eax, dword [0x465e90]
call fcn.00465ffc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46e77f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0046609c
xor ecx, ecx
mov edx, 0x46e7c8
mov eax, dword [ebp - 0xc]
call fcn.004661e0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004663a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e786
mov eax, dword [ebp - 0xc]
call fcn.00402fb4
ret
Function at 0x401380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
mov esi, ecx
add ecx, 0x78
push dword [esi + 0x7c]
call fcn.00404520
mov edi, dword [esi + 0x60]
test edi, edi
je 0x4013d9
mov ebx, dword [esi + 0x64]
mov eax, edi
cmp ebx, edi
jne 0x4013b7
jmp 0x4013cd
add ebx, 0xfffffff0
cmp ebx, edi
je 0x4013ca
test byte [ebx - 0x10], 1
je 0x4013b0
push dword [ebx - 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4013b0
mov eax, dword [esi + 0x60]
mov dword [esi + 0x64], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esi + 0x54]
test edi, edi
je 0x401419
mov ebx, dword [esi + 0x58]
mov eax, edi
cmp ebx, edi
jne 0x4013f7
jmp 0x40140d
add ebx, 0xfffffff0
cmp ebx, edi
je 0x40140a
test byte [ebx - 0x10], 1
je 0x4013f0
push dword [ebx - 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4013f0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x58], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esi + 0x48]
test edi, edi
je 0x401459
mov ebx, dword [esi + 0x4c]
mov eax, edi
cmp ebx, edi
jne 0x401437
jmp 0x40144d
add ebx, 0xfffffff0
cmp ebx, edi
je 0x40144a
test byte [ebx - 0x10], 1
je 0x401430
push dword [ebx - 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x401430
mov eax, dword [esi + 0x48]
mov dword [esi + 0x4c], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esi + 0x3c], 1
jne 0x40147b
test byte [esi + 0x30], 1
jne 0x40148c
test byte [esi + 0x24], 1
jne 0x40149d
test byte [esi + 0x18], 1
jne 0x4014ae
mov edi, dword [esi]
test edi, edi
jne 0x4014bf
pop esi
pop edi
pop ebx
ret
push dword [esi + 0x44]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esi + 0x30], 1
je 0x401465
push dword [esi + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esi + 0x24], 1
je 0x40146b
push dword [esi + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esi + 0x18], 1
je 0x401471
push dword [esi + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edi, dword [esi]
test edi, edi
je 0x401477
mov ebx, dword [esi + 4]
mov eax, edi
cmp ebx, edi
jne 0x4014d7
jmp 0x4014ec
add ebx, 0xfffffff4
cmp ebx, edi
je 0x4014ea
test byte [ebx - 0xc], 1
je 0x4014d0
push dword [ebx - 4]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4014d0
mov eax, dword [esi]
mov dword [esi + 4], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
pop esi
pop edi
pop ebx
ret