joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2f8
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 0x43d344
mov eax, esi
call fcn.004531d8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d344
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43d344
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 0x43d488
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43d384
cmp eax, 0x108
ja 0x43d384
mov eax, esi
call fcn.004531d8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d47f
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43d488
jmp 0x43d47f
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43d466
cmp eax, 0x20a
ja 0x43d466
test byte [esi + 0x50], 0x80
jne 0x43d3b6
sub eax, 0x203
je 0x43d3b3
sub eax, 3
je 0x43d3b3
sub eax, 3
jne 0x43d3b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43d3ca
dec eax
je 0x43d3df
dec eax
je 0x43d3ff
dec eax
je 0x43d3df
jmp 0x43d406
mov ecx, ebx
mov eax, dword [0x476950]
mov eax, dword [eax]
mov edx, esi
call fcn.0045c80c
jmp 0x43d47f
cmp byte [esi + 0x5d], 1
jne 0x43d3f5
mov eax, esi
mov si, 0xffed
call fcn.004036d8
jmp 0x43d488
or word [esi + 0x54], 1
jmp 0x43d47f
and word [esi + 0x54], 0xfffe
jmp 0x43d47f
mov eax, dword [0x477b90]
cmp byte [eax + 0x20], 0
je 0x43d47f
mov eax, dword [0x477b90]
cmp dword [eax + 0x1c], 0
je 0x43d47f
mov eax, dword [ebx]
mov edx, dword [0x477b90]
cmp eax, dword [edx + 0x1c]
jne 0x43d47f
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.0045311c
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.004036d8
jmp 0x43d488
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x43d47f
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043bc18
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 0x440928
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 0x440944
cmp dword [esi + 4], 0
je 0x440971
test byte [ebx + 0x55], 1
jne 0x440963
mov eax, ebx
call fcn.0043f580
test eax, eax
jne 0x440963
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x440a81
mov edx, esi
mov eax, ebx
call fcn.00440448
jmp 0x440a81
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 0x440a7a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004426f8
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.0043d22c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00440928
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.004426f8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440a81
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 0x446fa8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x476ab0]
cmp byte [eax + 0xc], 0
je 0x447115
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44710e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477be4], 0
jne 0x446ffc
push 0x44711c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x447124
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477be4], eax
cmp dword [0x475b08], 0
jne 0x4470f7
push 0x447134
call sub.kernel32.dll_LoadLibraryA
mov dword [0x475b08], eax
cmp dword [0x475b08], 0
je 0x4470f7
push 0x447140
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477be8], eax
push 0x447150
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bec], eax
push 0x447164
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bf0], eax
push 0x44717c
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bf4], eax
push 0x447194
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bf8], eax
push 0x4471a8
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bfc], eax
push 0x4471c0
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c00], eax
push 0x4471d8
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c04], eax
push 0x4471f4
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c08], eax
push 0x447200
mov eax, dword [0x475b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447115
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44b1fc
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.00404248
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b24b
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.004044b0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45308c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4530dc]
test si, 4
je 0x4530a0
or bl, 1
test si, 8
je 0x4530aa
or bl, 4
test si, 1
je 0x4530b4
or bl, 8
test si, 2
je 0x4530be
or bl, 0x10
test si, 0x10
je 0x4530c8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4530d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4530e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453118]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4530f9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453108
or bl, 4
test esi, 0x20000000
je 0x453113
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45971c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45972e
add esp, 0xfffffff0
call fcn.00403840
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cf64
mov eax, dword [0x4767a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x459ac0
mov eax, dword [0x4767ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x459acc
mov eax, ebx
call fcn.00459ad8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x455fa0
push eax
push 0
push 0
mov eax, dword [0x4768e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e99c]
call fcn.00420070
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e99c]
call fcn.00420070
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e99c]
call fcn.00420070
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459ef8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459dd4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459dd4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459dd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45986b
call fcn.00403898
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459bb8
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 0x459d63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459d44
mov dl, 1
mov eax, dword [0x41349c]
call fcn.004034ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404248
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459d33
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.00447308
test al, al
je 0x459d26
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, 0x459d74
lea eax, [ebp - 0x254]
call fcn.00409148
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459d26
xor eax, eax
push ebp
push 0x459d1f
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 0x459dac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459d08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044b0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
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 - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x459d08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459d26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459c29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004175fc
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 0x459d6a
lea eax, [ebp - 0x260]
call fcn.00404248
ret

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

Disassembly:
push ecx
mov eax, dword [0x477c28]
cmp byte [eax + 0xa5], 0
jne 0x45a709
cmp dword [0x477c40], 0
jne 0x45a6ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a654
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x477c40], eax
cmp dword [0x477c3c], 0
jne 0x45a6e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x477c3c], eax
cmp dword [0x477c44], 0
jne 0x45a709
push esp
push 0
push 0
push 0x45a5f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x477c44], eax
pop edx
ret
Function at 0x45a800
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a817
add esp, 0xfffffff0
call fcn.00403840
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cf64
mov eax, dword [0x4768d0]
cmp word [eax + 2], 0
jne 0x45a83f
mov eax, dword [0x4768d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045be34
mov eax, dword [0x476964]
cmp word [eax + 2], 0
jne 0x45a859
mov eax, dword [0x476964]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c02c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412fac]
call fcn.004034ac
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f41c]
call fcn.00426c3c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a9e0
mov eax, dword [0x476804]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042700c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c59c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x476804]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040c1b8
test eax, eax
je 0x45a94e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408aa4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c1e0
test eax, eax
je 0x45a962
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044b0
mov eax, dword [0x4766f8]
cmp byte [eax], 0
jne 0x45a996
mov eax, ebx
call fcn.0045ab08
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045c778
mov eax, ebx
call fcn.0045d0b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a9d6
call fcn.00403898
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477c28]
cmp dword [eax + 0x30], 0
je 0x45ae26
cmp dword [ebx + 0x94], 0
jne 0x45ae20
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ad0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ae20
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 0x45ade6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ae20
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.0041564c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45adf5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b904
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 0x45b939
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.00404338
jmp 0x45b946
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040429c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c954
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c995
mov eax, esi
call fcn.004429fc
test al, al
je 0x45c995
mov eax, dword [ebx + 0x84]
call fcn.004426f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c995
push 0
mov eax, dword [ebx + 0x84]
call fcn.004426f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463320
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46334e
mov eax, ebx
call fcn.00463dd8
cmp dword [ebx + 0x3c], 0
je 0x463347
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4633bf
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4633b1
cmp dword [ebx + 8], 0
je 0x463370
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x463382
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4633b1
cmp dword [ebx + 8], 0
je 0x463363
cmp eax, 3
je 0x463395
dec eax
jne 0x463363
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 0x463363
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x463363
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4633dd
cmp dword [ebx + 0x10], 0xcc
je 0x4633dd
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.004633e8
pop ebx
ret
Function at 0x4029fe
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0x20
mov ecx, eax
shl ecx, 4
add ecx, ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
add ecx, eax
shr eax, 5
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp - 4]
xor edx, edx
xor eax, dword [ebp + 8]
mov dword [0xac1fc4], edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004029a1
mov edi, dword [ebp - 0xc]
mov eax, edi
shl eax, 4
cmp dword [0xacf704], 0x78c
mov dword [ebp + 8], eax
jne 0x402aba
push edx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push edx
lea eax, [ebp - 0x82c]
push eax
push 0x4012b0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
or dword [0xac1fcc], 0xffffffff
mov eax, edi
shr eax, 5
mov dword [0xac1fc8], 0xff6b3619
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
xor dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
xor dword [ebp + 8], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004029b0
add dword [ebp - 8], 0x61c88647
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
jne 0x402a3d
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8

Function at 0x402b1f
Capabilities:
Copy file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
xor esi, esi
cmp dword [0xacf704], 0x516
push edi
jne 0x402b59
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x404]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [ebp + 0xc]
shr eax, 3
cmp eax, esi
jbe 0x402bc6
mov edi, dword [ebp + 8]
push ebx
mov ebx, eax
cmp dword [0xacf704], 0xb7d
jne 0x402b8f
push esi
push esi
push esi
push esi
push 0x4012d0
push 0x401310
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
cmp dword [0xacf704], 0x1c
jne 0x402bb6
push 0x401334
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push dword [ebp + 0x10]
push edi
call fcn.004029fe
add edi, 8
dec ebx
jne 0x402b69
pop ebx
pop edi
pop esi
leave
ret 0xc