joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442340
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f5d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00477ac2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441ce0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004779f0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004742b4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004742b4
push 1
push 0
push 0
mov ecx, esi
call fcn.0047425c
push 1
push 0
push 1
mov ecx, esi
call fcn.0047425c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00477b34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4424c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00477ac2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441ce0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004779f0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x442584
cmp dword [esp + 0x40], 1
jne 0x442582
cmp ecx, eax
jge 0x442584
mov eax, ecx
cmp eax, 0xc8
jge 0x442590
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442340
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00477b34
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442d10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004726d4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00477d6a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004792c9
test eax, eax
je 0x442e2c
mov ecx, dword [esp + 0x3c]
call fcn.00477d97
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442df0
push edi
mov ecx, esi
call fcn.004753fe
mov ecx, esi
call fcn.00442f90
cmp dword [esp + 0x38], 1
jne 0x442e25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00475539
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445850
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445883
push esi
call fcn.00448960
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44587c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445909
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4458f2
mov eax, dword [esi + 8]
test eax, eax
je 0x4458a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4458ee
cmp eax, 2
je 0x4458f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44589a
cmp eax, 3
je 0x4458cd
cmp eax, 1
jne 0x44589a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44589a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44589a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445930
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445918
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445930
add esp, 4
pop esi
ret

Function at 0x451450
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4514f3
test eax, eax
jbe 0x4514f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4514f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45149e
xor esi, esi
jmp 0x4514a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4514cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00453410
add esi, eax
push esi
mov ebx, esi
call fcn.00453410
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4514b0
pop ebp
test edi, edi
pop edi
jne 0x4514f3
test ebx, ebx
je 0x4514f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004620a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x451615
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45172d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45172d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00472b26
mov esi, eax
test esi, esi
je 0x45172d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45172d
mov ecx, esi
call fcn.004515a0
cmp edi, eax
jge 0x45172d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4516b3
mov dword [esp + 0x34], 1
jmp 0x45170e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45172d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00450b90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x45a840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x45a88c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x45a88c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x45a876
push eax
call ebp
test ax, ax
jl 0x45a884
inc esi
add edi, 4
cmp esi, 6
jb 0x45a868
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0045a540
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45e610
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45e670
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45e670
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45e670
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45e670
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45e680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4734ca
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473502
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047157e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471556
jmp 0x47350e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x474bb8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x474bfa
call fcn.0047a83a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x474bfa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x474bf1
xor eax, eax
jmp 0x474c02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00474c08
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ad6a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47ad98
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47adb6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047acd0
jmp 0x47adb6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47adb6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047acd0
test edi, edi
mov eax, edi
jne 0x47ada0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x406f82
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
mov esi, ecx
call fcn.00432fa6
call fcn.004e2afa
call fcn.004e2afa
mov eax, dword [eax + 0xc]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004ddbf2
push 1
pop edi
push edi
push 0xf060
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x46
and dword [esi + 0x170], 0
pop eax
lea ecx, [esi + 0xc8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x510bac
push eax
lea eax, [ebp - 0x40]
push eax
push 2
push edi
push edi
push 8
push edi
mov dword [ebp - 0x1c], 0x510ba0
mov dword [ebp - 0x18], 0x510b90
mov dword [ebp - 0x14], 0x510b80
mov dword [ebp - 0x10], 0x510b78
mov dword [ebp - 0xc], 0x510b6c
mov dword [ebp - 8], 0x510b5c
mov dword [ebp - 4], 0x510b54
mov dword [ebp - 0x40], 0x1e
mov dword [ebp - 0x3c], 0x73
call fcn.004312fc
test esi, esi
jne 0x40705f
xor eax, eax
jmp 0x407062
mov eax, dword [esi + 0x1c]
push dword [0x52aa14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [0x52aa10]
push dword [0x52aa24]
push dword [0x52aa20]
push 0x3f5
push eax
call edi
push eax
mov ecx, esi
call fcn.0043313c
test esi, esi
jne 0x407098
xor eax, eax
jmp 0x40709b
mov eax, dword [esi + 0x1c]
push dword [0x52a9fc]
push dword [0x52a9f8]
push dword [0x52aa3c]
push dword [0x52aa38]
push 1
push eax
call edi
push eax
mov ecx, esi
call fcn.0043313c
test esi, esi
jne 0x4070c8
xor eax, eax
jmp 0x4070cb
mov eax, dword [esi + 0x1c]
push dword [0x52a9fc]
push dword [0x52a9f8]
push dword [0x52aa14]
push dword [0x52aa10]
push 2
push eax
call edi
push eax
mov ecx, esi
call fcn.0043313c
test esi, esi
jne 0x4070f8
xor eax, eax
jmp 0x4070fb
mov eax, dword [esi + 0x1c]
push dword [0x52a9fc]
push dword [0x52a9f8]
push dword [0x52aa3c]
push dword [0x52aa38]
push 0x40f
push eax
call edi
push eax
mov ecx, esi
call fcn.0043313c
lea eax, [esi + 0xc8]
push eax
call fcn.00439196
pop ecx
push 0
mov ecx, esi
call fcn.004dc0b0
mov ecx, dword [esi + 0x480]
test ecx, ecx
jne 0x407147
xor eax, eax
jmp 0x407155
mov eax, dword [esi + 0x484]
push 0x68
sub eax, ecx
pop ecx
cdq
idiv ecx
test eax, eax
mov dword [esi + 0x48c], eax
jle 0x407166
mov ecx, esi
call fcn.0040747c
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x40a32f
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
je 0x40a38d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40a38d
cmp byte [eax], 0
je 0x40a38d
cmp word [ecx], 0x5a4d
jne 0x40a38d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40a38d
movzx ecx, word [eax + 0x14]
mov bx, word [eax + 6]
xor edi, edi
test bx, bx
lea esi, [ecx + eax + 0x18]
jbe 0x40a38d
push dword [ebp + 0xc]
movzx eax, di
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
push eax
call fcn.00447ef0
pop ecx
test eax, eax
pop ecx
je 0x40a396
inc edi
cmp di, bx
jb 0x40a36f
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40a3a9
movzx eax, di
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*8 + 8]
mov dword [ecx], eax
movzx eax, di
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*8 + 0xc]
add eax, dword [ebp + 8]
jmp 0x40a38f

Function at 0x411885
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
call fcn.004d9a17
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004da0ad
push eax
mov ecx, esi
call fcn.004dc0b0
call fcn.004e2afa
call fcn.004e2afa
mov eax, dword [eax + 0xc]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004ddbf2
push 1
pop edi
push edi
push 0xf060
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x46
lea ecx, [esi + 0x5c]
pop eax
mov dword [ebp - 0xc], 0x510bac
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x511690
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push edi
push edi
push 3
push edi
mov dword [ebp - 4], 0x511680
mov dword [ebp - 0x18], 0x1e
call fcn.004312fc
mov ecx, dword [esi + 0x414]
test ecx, ecx
jne 0x41193f
xor eax, eax
jmp 0x41194a
mov eax, dword [esi + 0x418]
sub eax, ecx
sar eax, 4
test eax, eax
mov dword [esi + 0x420], eax
jle 0x41195b
mov ecx, esi
call fcn.00411aae
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x420731
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.004d9a17
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004da0ad
push eax
mov ecx, esi
call fcn.004dc0b0
call fcn.004e2afa
call fcn.004e2afa
mov eax, dword [eax + 0xc]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004ddbf2
push 1
pop edi
push edi
push 0xf060
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea eax, [ebp - 8]
lea ecx, [esi + 0x5c]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
push edi
push edi
push 2
push 0xa
mov dword [ebp - 8], 0x510bac
mov dword [ebp - 4], 0x513c48
mov dword [ebp - 0x10], 0x1e
mov dword [ebp - 0xc], 0x6e
call fcn.004312fc
mov eax, dword [esi + 0x414]
test eax, eax
je 0x4207f3
mov ecx, dword [esi + 0x418]
sub ecx, eax
sar ecx, 3
je 0x4207f3
mov ecx, esi
call fcn.00420904
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x425fed
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4e963c
call fcn.00446890
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0x18]
mov byte [esi], al
mov al, byte [edi + 1]
mov byte [esi + 1], al
mov al, byte [edi + 2]
mov byte [esi + 2], al
mov al, byte [edi + 3]
mov byte [esi + 3], al
lea eax, [edi + 0x18]
fld qword [edi + 8]
push eax
fstp qword [esi + 8]
fld qword [edi + 0x10]
fstp qword [esi + 0x10]
call fcn.004261a4
mov al, byte [edi + 0x28]
and dword [ebp - 4], 0
mov byte [esi + 0x28], al
lea eax, [edi + 0x78]
fld qword [edi + 0x30]
lea ecx, [esi + 0x78]
push eax
fstp qword [esi + 0x30]
fld qword [edi + 0x38]
fstp qword [esi + 0x38]
fld qword [edi + 0x40]
fstp qword [esi + 0x40]
fld qword [edi + 0x48]
fstp qword [esi + 0x48]
fld qword [edi + 0x50]
fstp qword [esi + 0x50]
fld qword [edi + 0x58]
fstp qword [esi + 0x58]
fld qword [edi + 0x60]
fstp qword [esi + 0x60]
fld qword [edi + 0x68]
fstp qword [esi + 0x68]
fld qword [edi + 0x70]
fstp qword [esi + 0x70]
call fcn.00403ebc
fld qword [edi + 0x88]
lea eax, [edi + 0x98]
lea ecx, [esi + 0x98]
fstp qword [esi + 0x88]
fld qword [edi + 0x90]
push eax
mov byte [ebp - 4], 1
fstp qword [esi + 0x90]
call fcn.00403ebc
add edi, 0xa8
lea ecx, [esi + 0xa8]
push edi
mov byte [ebp - 4], 2
call fcn.00403ebc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x426a45
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
lea eax, [ebp - 0x124]
push esi
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
test eax, eax
je 0x426a94
cmp dword [ebp - 0x114], 1
jne 0x426a84
cmp dword [ebp - 0x11c], esi
je 0x426a94
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x426af6
lea eax, [ebp - 8]
push eax
push 1
push esi
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426af6
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x100
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.WheelScrollLines
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426aed
push 0xa
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.00448ee2
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x4327e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x432841
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x208]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0x10]
call fcn.00448a15
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x43296e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 0xc]
mov ebx, ecx
push esi
push esi
push dword [ebp + 8]
push 0x514450
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov dword [ebp + 0xc], eax
ja 0x432a87
mov eax, dword [ebx]
lea ecx, [ebp - 0x464]
push ecx
push str..htm
push SysReAllocString
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test eax, eax
jne 0x432a87
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x464]
push str._shellopencommand
push eax
call edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x464]
push ecx
push SysReAllocString
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test eax, eax
jne 0x432a87
lea eax, [ebp - 0x464]
push 0x514be4
push eax
call fcn.00448a3a
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
jne 0x432a42
lea eax, [ebp - 0x464]
push 0x514bdc
push eax
call fcn.00448a3a
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
jne 0x432a42
lea eax, [ebp - 0x464]
push eax
call fcn.00447e90
pop ecx
lea ebx, [ebp + eax*2 - 0x466]
jmp 0x432a45
mov word [ebx], si
push 0x5145c0
push ebx
call edi
push dword [ebp + 8]
push ebx
call edi
push 0x44
lea eax, [ebp - 0x54]
pop edi
push edi
push esi
push eax
call fcn.00447300
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], edi
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x432a8a
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8