joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4956a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
test ecx, ecx
je 0x4956b4
lea esi, [ecx - 0x54]
mov dword [ebp - 4], esi
jmp 0x4956be
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
cmp dword [ebp + 0x14], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 8], 1
je 0x495783
mov eax, dword [ebp + 8]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebx]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
mov dword [ebp - 0xc], 0xffffffff
jge 0x49570e
push esi
mov ecx, ebx
call fcn.00403ca0
mov eax, dword [ebx]
test esi, esi
js 0x495779
cmp esi, dword [eax - 8]
jg 0x495779
mov dword [eax - 0xc], esi
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + esi*2], dx
test eax, eax
je 0x495767
lea ecx, [esi + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebx]
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x495741
xor eax, eax
jmp 0x495757
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x495746
sub eax, edi
sar eax, 1
js 0x495779
cmp eax, dword [edx - 8]
jg 0x495779
mov dword [edx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
pop edi
cmp dword [ebp - 0xc], esi
jge 0x4957cf
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0
jmp 0x49579b
push 0x80070057
call fcn.00401150
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4957fd
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x54
je 0x4957ad
lea eax, [esi - 0x54]
jmp 0x4957af
xor eax, eax
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x18], 0
je 0x4957fd
mov ecx, dword [ebx]
mov edx, dword [ecx - 0xc]
cmp edx, dword [ebp + 0x1c]
jle 0x4957fd
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push edx
add ecx, 0x54
push eax
call fcn.00425bc0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x496ec0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x496efe
call fcn.004969b0
test eax, eax
je 0x496f05
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x496c20
push 0
push 0
call fcn.00556b34
add esp, 0x18
mov dword [esi + 0x78], eax
test eax, eax
je 0x496efe
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x80]
test eax, eax
je 0x496efe
mov ecx, dword [eax]
push edi
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [ebp - 8]
push edi
push ecx
mov ecx, dword [esi + 0x38]
push 0
push ecx
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x496efe
push eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4979d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [0x5fd7c0]
push ebx
push esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x497a9b
mov eax, dword [0x5fd7c0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x497a9b
mov ecx, dword [0x5fd7c0]
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x497a89
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x497a82
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x497a82
push edi
push eax
push ecx
call fcn.00554470
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.00497660
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x498ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5914ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
xor ecx, ecx
lea edx, [eax + 8]
mov dword [eax + 4], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [edx + 0xc], ecx
mov dword [ebp - 4], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], 2
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov dword [ebp - 4], 4
mov edx, 3
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
movzx ecx, dl
and ecx, 1
or ecx, 6
mov dword [eax + 0x50], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x60], edx
mov dword [eax + 0x5c], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x499000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584450
push eax
mov eax, 0x1040
mov dword fs:[0], esp
call fcn.00555ae0
push ebx
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x499043
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.00403bd0
mov eax, dword [ebp + 8]
push esi
push edi
push 0x5a3548
push eax
call fcn.00558089
mov esi, eax
add esp, 8
mov edi, 0x10
test esi, esi
je 0x4991de
push esi
push 1
lea ecx, [ebp - 0x34]
push edi
push ecx
call fcn.005583d8
add esp, 0x10
test eax, eax
je 0x4991d5
cmp dword [ebp - 0x30], ebx
jbe 0x4991d5
push esi
call fcn.0055a842
mov edx, dword [ebp - 0x30]
add esp, 4
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4991c5
mov ecx, dword [ebp - 0x30]
push esi
push 1
push ecx
push eax
call fcn.005583d8
add esp, 0x10
test eax, eax
je 0x499109
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x104c]
push edx
push 0x400
push ecx
call fcn.00554e48
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x84c]
push edx
push 0x400
push ecx
call fcn.00554e48
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x104c]
push eax
push str._s_r_n__s
call fcn.0055a785
add esp, 0x24
push esi
push 1
lea ecx, [ebp - 0x20]
push 8
push ecx
call fcn.005583d8
add esp, 0x10
test eax, eax
je 0x4991c2
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
jne 0x499180
cmp dword [ebp - 0x1c], 0
lea edi, [eax - 0xb]
jbe 0x4991c2
lea edx, [ebp - 0x18]
push edx
push esi
call fcn.0055a72a
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], ecx
push eax
adc ecx, 0
push esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x14], ecx
call fcn.0055a6ef
add esp, 0x10
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x140
call fcn.004987d0
inc ebx
jmp 0x4991a9
cmp eax, 0xd
je 0x49918a
cmp eax, 0xe
jne 0x4991a9
cmp edi, 0xf
jge 0x4991a4
cmp edi, 1
jne 0x4991a4
push esi
push edi
lea edx, [ebp - 0x4c]
push 8
push edx
call fcn.005583d8
add esp, 0x10
mov edi, 0xf
push esi
push 1
lea eax, [ebp - 0x20]
push 8
push eax
call fcn.005583d8
add esp, 0x10
test eax, eax
jne 0x499122
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call fcn.00557d86
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x499206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x49b040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x138]
cmp dword [eax - 4], 1
push edi
jle 0x49b065
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esi + 0x138]
call fcn.00403bd0
mov edi, dword [esi + 0x138]
push 0x5a3548
push edi
call fcn.00558089
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [esi + 0x130]
add esp, 8
mov dword [ebp - 4], 0
cmp ecx, eax
jg 0x49b171
test ecx, ecx
jle 0x49b171
test eax, eax
jle 0x49b171
test edi, edi
je 0x49b171
lea eax, [ecx - 1]
cmp eax, dword [esi + 0x144]
jb 0x49b0c0
push 0x80070057
call fcn.00401150
shl eax, 4
add eax, dword [esi + 0x140]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 8], edx
call fcn.0055a6ef
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
je 0x49b168
push ebx
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x49b167
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x49b159
mov ecx, dword [ebp - 0xc]
push edi
push 1
push ecx
push eax
call fcn.005583d8
add esp, 0x10
test eax, eax
jle 0x49b159
lea edx, [ebp + 8]
push edx
push 0
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x49b159
mov eax, dword [ebp + 8]
push eax
lea ecx, [esi + 0x24]
call fcn.0049acd0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
push edi
call fcn.00557d86
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x49b510
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x49b559
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x49b6c4
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49b5d4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x49b5db
cmp eax, 4
jne 0x49b5d4
cmp dword [ebp - 0x14c], 0x5a
jae 0x49b5db
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x49b6b3
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x49b6b3
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0x30]
sub eax, 0x9cae
je 0x49b660
dec eax
je 0x49b657
dec eax
je 0x49b64e
mov dword [esi + 0xc], 0xffffffff
jmp 0x49b667
mov dword [esi + 0xc], 0x1d
jmp 0x49b667
mov dword [esi + 0xc], 0x1c
jmp 0x49b667
mov dword [esi + 0xc], 0x1b
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x49b6a2
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x49b576
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49d450
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x49d499
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x49d5e9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49d514
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x49d51b
cmp eax, 4
jne 0x49d514
cmp dword [ebp - 0x14c], 0x5a
jae 0x49d51b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x49d5d8
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x49d5d8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x49d580
add ecx, 0xfffffd94
jmp 0x49d582
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.0049c880
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x49d5c7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x49d4b6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a2ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
push esi
mov ecx, 0x5f5774
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0
push 0x258
call fcn.004013d0
add esp, 8
test eax, eax
je 0x4a2efa
push 0x258
push eax
lea ecx, [ebp - 0x10]
call fcn.00405fa0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
push 1
push 0
push 0
push esi
push 0x5a398c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
test edx, edx
jg 0x4a2f39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a9520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
push 0x30
lea eax, [ebp - 0x30]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x34], 0
call fcn.00555020
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x23c]
lea edx, [ebp - 0x34]
push edx
mov edx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0xc]
push ecx
push 0x1073
push edx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
push 0x5a3d18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a9c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.00452200
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.004f9d60
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 8
lea ecx, [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xb
mov dword [esi], vtable.CSearchQueriesView.1.0
mov dword [esi + 0x50], vtable.CSearchQueriesView.0
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov byte [ebp - 4], 0xc
mov dword [esi + 0x2a4], edi
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x2bc]
mov ecx, 0x5f5774
mov dword [ebp + 8], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x2e4]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x10
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x11
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x13
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x14
mov byte [esi + 0x32c], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa2c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 4]
push esi
push edi
push 0
push 0
lea esi, [ecx + 4]
push 0x1042
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4aa37c
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push 3
push edi
mov ecx, esi
call fcn.00432c50
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4aa359
cmp dword [esi - 4], 1
jle 0x4aa345
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
push 5
push 0
push 0
push esi
push 0x59bf70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aa37c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10