joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.00468730
push 0xffffffffffffffff
push 0x481544
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4bb27c]
xor eax, ebp
mov dword [ebp + 0x8000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x800c]
mov eax, dword [ebp + 0x8010]
xor esi, esi
mov dword [ebp - 0x38], esi
mov edx, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 3
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], edx
call fcn.004031f0
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 4
call fcn.00436ed0
add esp, 0x18
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439b33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x439c15
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
jmp 0x439b50
test esi, esi
jne 0x439c0a
push esi
push esi
lea ecx, [ebp - 0x18]
push ecx
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp]
push ecx
push edi
push eax
mov dword [ebp - 0x1c], 0x4000
call ebx
mov esi, eax
test esi, esi
jne 0x439bff
mov eax, dword [ebp + 0x8014]
cmp eax, 0xffffffff
je 0x439b8c
cmp eax, dword [ebp - 0x18]
jne 0x439bff
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x20]
call fcn.004031f0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00436b40
mov ecx, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 8
call fcn.004399f0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439bff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add edi, 1
jmp 0x439b50
test eax, eax
je 0x439c15
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8000]
xor ecx, ebp
call fcn.0046605d
add ebp, 0x8004
mov esp, ebp
pop ebp
ret
Function at 0x43e6d0
Capabilities:
Access the windows event log
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
cmp dword [edi + 0xc], eax
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
jl 0x43e716
cmp dword [edi + 0x1c], 0
jne 0x43e720
cmp byte [ebp + 0x10], 0
je 0x43e80d
sub eax, 1
je 0x43e738
sub eax, 1
je 0x43e731
mov esi, 4
jmp 0x43e73d
mov esi, 2
jmp 0x43e73d
mov esi, 1
mov eax, dword [0x4be0cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4be0cc
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
push str.0.7.487
push ecx
push edx
lea eax, [ebp + 0x10]
push str._s__s__NLib__s__n_n_s
push eax
mov byte [ebp - 4], 2
call fcn.004035c0
mov edx, dword [edi + 0x1c]
mov ebx, dword [ebp + 0x10]
add esp, 0x18
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 1
push 0
push 1
push 0
push esi
push edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x43e7ed
push str.ReportEvent_failed__error:
lea ecx, [ebp + 8]
call fcn.004031f0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00434190
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e7ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e80d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4420a0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4bb27c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00441fdf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00467730
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4420ef
cmp dword [ebp - 0x1c], 5
jb 0x442107
jmp 0x442103
cmp dword [ebp - 0x10], 1
jne 0x442107
cmp dword [ebp - 0x1c], 4
ja 0x442103
jne 0x442107
cmp dword [ebp - 0x18], 0
jbe 0x442107
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x490ccc
call fcn.00418640
test eax, eax
jge 0x442128
mov byte [0x4c1464], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046605d
add ebp, 0x78
leave
ret

Function at 0x4425b2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4be0e8], 0
push esi
jne 0x442525
call fcn.00442450
test eax, eax
je 0x442568
mov eax, dword [0x4be0e8]
cmp eax, 1
jne 0x442546
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x442568
pop esi
ret
push eax
call dword [0x4be0f0]
test eax, eax
jne 0x4425b0
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44256c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4be0e8]
call dword [0x4be0f0]
mov edi, eax
test edi, edi
je 0x442593
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4425af
lea edi, [esi + 0xff0]
push esi
push dword [0x4be0e8]
call dword [fcn.004be0ec]
add esi, 0x10
cmp esi, edi
jb 0x442599
mov eax, esi
pop edi
pop esi
ret
jmp 0x442512
Function at 0x449770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483652
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CNMessageDialog.4.0
mov dword [esi + 0x20], vtable.CNMessageDialog.3.0
mov dword [esi + 0x24], vtable.CNMessageDialog.2.0
mov dword [esi + 0x30], vtable.CNMessageDialog.1.0
mov dword [esi + 0x34], vtable.CNMessageDialog.0
lea ecx, [esi + 0x3e0]
mov dword [esp + 0x14], 3
call fcn.00450e30
mov eax, dword [esi + 0x3d4]
sub eax, 0x10
mov byte [esp + 0x14], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4497f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x3d0]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44981b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x398]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00447ae0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x44cdf0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 8
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x10]
mov dword [edx], 0
xor eax, eax
ret 0x10
Function at 0x44fd50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x44fd6f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44fdf0
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [str.CNCustomCaptionBtnListener]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0x44fd00
call dword [sym.imp.USER32.dll_RegisterClassW]
mov edx, dword [str.CNCustomCaptionBtnListener]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x168], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x168]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x44fe34
push edi
mov edi, dword [esp + 0x34]
push edi
call fcn.0044e440
add esp, 4
push 0
push 6
push edi
mov ecx, esi
mov dword [esi + 0x170], eax
call fcn.0044f460
pop edi
pop esi
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x30]
push 0
push 5
push ecx
mov ecx, esi
mov dword [esi + 0x170], 0xffffffff
call fcn.0044f460
pop esi
add esp, 0x28
ret 4
Function at 0x450fa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48435c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
lea edi, [esi + 0x28]
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.00463b10
lea ebp, [esi + 0x40]
mov ecx, ebp
mov byte [esp + 0x20], 1
call fcn.0044c400
mov dword [esi], vtable.CNTransparentFrame.1.0
mov dword [edi], vtable.CNTransparentFrame.0
mov dword [ebp], 0x492860
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
mov byte [esp + 0x20], 2
call eax
add eax, 0x10
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x20], 3
call fcn.0041a340
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
mov byte [esp + 0x20], 4
call eax
add eax, 0x10
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
lea ecx, [esi + 0xac]
mov byte [esp + 0x20], 7
call fcn.004645b0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x30], 4
mov byte [esi + 0xa0], bl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x454a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x484cdc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov byte [eax + 0x18], cl
mov dword [eax + 0x1c], ecx
mov byte [eax + 0x64], cl
mov dword [eax + 0x20], 0x452960
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x457d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48507c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

Function at 0x45bcf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4853d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi], vtable.CNCtlColorSet.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004356d0
mov dword [esi + 0x40], edi
mov dword [esi + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x45f5f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0x44
push 0xffffffffffffffff
push 0x485e99
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
push ebx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp + 0x20], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], 8
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
and dword [esi + 0x44], 0xfffffff8
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
lea edi, [esi + 0x48]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00463b10
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.0044c400
mov dword [esi], vtable.CNTransparentButton.2.0
mov dword [edi], vtable.CNTransparentButton.1.0
mov dword [esi + 0x60], vtable.CNTransparentButton.0
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
mov byte [ebp - 4], 2
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 4
call fcn.004645b0
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 5
call fcn.00454a00
push 0x333333
mov ecx, esi
mov byte [ebp - 4], 9
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x50], 2
mov byte [esi + 0xb4], bl
mov byte [esi + 0xc8], bl
call fcn.0045cbd0
mov edi, 1
push ebx
mov ecx, esi
mov dword [esi + 0x24], edi
mov dword [esi + 0xcc], ebx
mov byte [esi + 0x64], bl
mov byte [esi + 0x124], bl
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0xd8], bl
mov byte [esi + 0x78], bl
call fcn.0045ed80
mov byte [esi + 0x70], 1
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], edi
mov dword [esi + 0xac], SysStringLen
mov dword [esi + 0xb0], ebx
jmp 0x45fa97
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x44
mov esp, ebp
pop ebp
ret 4
Function at 0x4611d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486334
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x180]
mov dword [esp + 0x14], 7
call fcn.0041a390
lea ecx, [esi + 0x150]
mov byte [esp + 0x14], 6
call fcn.0041a390
lea ecx, [esi + 0x120]
mov byte [esp + 0x14], 5
call fcn.0041a390
lea ecx, [esi + 0xf0]
mov byte [esp + 0x14], 4
call fcn.0041a390
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 3
call fcn.0041a390
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 2
call fcn.0041a390
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 1
call fcn.0041a390
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0041a390
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0041a390
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x461e80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48641e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
lea edi, [esi + 0x28]
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.00463b10
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 1
mov dword [esi], vtable.CNBlendedWindow.1.0
mov dword [edi], vtable.CNBlendedWindow.0
call fcn.0041a340
mov dword [esi + 0x30], 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4649b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [esp + 0x10]
lea esi, [eax + 1]
mov eax, dword [ebx]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x4649e3
push esi
mov ecx, ebx
call fcn.00402ad0
mov eax, dword [ebx]
push esi
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x464a0f
mov ecx, dword [ebx]
test ecx, ecx
je 0x464a13
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x464a00
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x464a2b
mov edx, dword [ebx]
cmp ecx, dword [edx - 8]
jg 0x464a2b
pop edi
mov dword [edx - 0xc], ecx
mov edx, dword [ebx]
pop esi
mov word [edx + ecx*2], 0
pop ebx
ret 4
push 0x80070057
call fcn.004032e0
int3
Function at 0x465350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486a98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.00461a80
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x18]
push eax
push ecx
push 0x134
push eax
mov dword [esp + 0x98], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esi + 0x1c]
mov edi, eax
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test byte [esi + 0x10], 1
je 0x46548f
mov esi, dword [esp + 0xac]
test esi, esi
je 0x465450
cmp dword [esi + 4], 0
je 0x465450
mov eax, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
push 0
mov dword [esp + 0x28], ecx
push 0xff
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00463210
mov ecx, dword [esp + 0xa8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00461670
jmp 0x4654a0
mov ecx, dword [esp + 0xa4]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
mov eax, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
test esi, esi
je 0x46547c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0xa8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00461670
jmp 0x4654a0
mov eax, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xb0]
lea eax, [edx + ecx + 1]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xa0]
sub dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.00461af0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov edx, dword [ecx - 0xc]
and eax, 0x1000
or eax, 0x2000
push 0
shr eax, 0xb
push eax
lea eax, [esp + 0x14]
push eax
push edx
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004648e0
add esp, 0x18
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], 0xffffffff
call fcn.00461730
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x80
ret

Function at 0x46605d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bb27c]
jne 0x466067
repz ret
jmp fcn.0046d362
Function at 0x468bd8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x468c05
call fcn.00468ba7
mov dword [eax], esi
call fcn.00468b94
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00465e7e
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x468c23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00468bba
pop ecx
jmp 0x468c00
test byte [esp + 0xc], 0x80
je 0x468c2f
and eax, 0xfffffffe
jmp 0x468c32
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x468c14
xor eax, eax
pop esi
ret