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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp + 0x14]
push esi
push eax
call fcn.004e8530
mov esi, eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004e8530
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
je 0x4cd988
movd xmm0, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cvtdq2pd xmm0, xmm0
nop
xor eax, eax
test edi, edi
je 0x4cd86e
mov ecx, dword [edi]
test ecx, ecx
je 0x4cd86e
mov eax, dword [ecx]
dec ebx
test eax, eax
je 0x4cd875
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov eax, dword [eax + ecx*4]
xor ecx, ecx
addsd xmm0, qword [eax]
movsd qword [eax], xmm0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cd89a
mov eax, dword [eax]
test eax, eax
je 0x4cd89a
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
dec edx
test ecx, ecx
jne 0x4cd8a6
xor eax, eax
jmp 0x4cd8a8
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov dword [ebp - 4], 0xd
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
push ecx
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 0x20]
mov ecx, 0xfffffffb
mov edi, dword [ebp + 8]
sub ecx, eax
add esi, ecx
xor ecx, ecx
mov dword [ebp + 0x20], esi
test edi, edi
je 0x4cd8fd
mov eax, dword [edi]
test eax, eax
je 0x4cd8fd
mov ecx, dword [eax]
mov ebx, dword [ebp + 0x10]
lea edx, [ebx - 1]
test ecx, ecx
jne 0x4cd90b
xor eax, eax
jmp 0x4cd90d
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cvttsd2si eax, qword [eax]
cmp eax, esi
jge 0x4cd953
xor eax, eax
test edi, edi
je 0x4cd92f
mov ecx, dword [edi]
test ecx, ecx
je 0x4cd92f
mov eax, dword [ecx]
test eax, eax
je 0x4cd935
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
movd xmm0, esi
and ecx, edx
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + ecx*4]
movsd qword [eax], xmm0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
dec ebx
push eax
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x10], ebx
call fcn.004e8530
mov esi, eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004e8530
movd xmm0, dword [ebp + 0x24]
cvtdq2pd xmm0, xmm0
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x4cd860
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4ce330
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5409cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea esi, [ebx + 0x38]
mov dword [ebp - 4], 0
push 0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004ce7b0
push esi
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea esi, [ebx + 0x6c]
mov byte [ebp - 4], 1
push 1
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004ce7b0
push esi
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [ebx + 0xb0]
mov byte [ebp - 4], 2
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
call fcn.004ce1f0
lea ecx, [ebx + 0x1f0]
mov byte [ebp - 4], 3
call fcn.004ce960
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ceca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540b45
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebx], vtable.dockwins::CMultyPinnedLabel.0
mov edx, 0x10
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x18]
mov eax, esi
mul edx
mov dword [ebx + 4], esi
mov dword [ebp - 0x1c], esi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.005137cb
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4ced3f
push 0x40df00
push 0x4ceee0
push esi
mov dword [eax], esi
add eax, 4
push 0x10
push eax
mov dword [ebp - 0x10], eax
call fcn.00513e18
mov eax, dword [ebp - 0x10]
jmp 0x4ced41
xor eax, eax
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebx + 8], eax
mov dword [ebp - 0x10], 0
cmp dword [ebx + 4], esi
jbe 0x4cee1d
movzx eax, byte [ebp + 0xc]
shl eax, 0x10
or eax, 1
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xc], edx
nop dword [eax]
mov eax, dword [edi + 0x1c]
push dword [edi + 0x10]
mov ecx, dword [ebx + 8]
add ecx, edx
push dword [eax + esi*4]
call fcn.004d1820
mov ebx, dword [ebx + 8]
add ebx, dword [ebp + 0xc]
mov edi, dword [edi + 4]
push 0
mov dword [ebp - 0x1c], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x3f3fffff
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 1
push 0x86
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push dword [ebp - 0x18]
push 0x400
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x4cedfa
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x18], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + esi*4]
cmp eax, dword [edi]
jne 0x4cee0a
mov dword [ebx + 0x14], esi
mov edx, dword [ebp + 0xc]
inc esi
add edx, 0x10
mov dword [ebp + 0xc], edx
cmp esi, dword [ebx + 4]
jb 0x4ced70
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d0d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x170], 0
je 0x4d0dc6
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [edi + 0x16c]
push 0xfffffffffffffff0
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, al
jns 0x4d0d87
test al, 2
je 0x4d0d82
sub dword [ebp - 0xc], esi
jmp 0x4d0d93
add dword [ebp - 0x14], esi
jmp 0x4d0d93
test al, 2
je 0x4d0d90
sub dword [ebp - 8], esi
jmp 0x4d0d93
add dword [ebp - 0x10], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 0x170]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 0x170]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00513512
mov esp, ebp
pop ebp
ret

Function at 0x4d1820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540cd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0x7f
push ebx
mov dword [edi + 4], ebx
mov dword [edi], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 8], eax
test eax, eax
jne 0x4d187b
push 0xffffffffffffffde
push ebx
call dword [sym.imp.USER32.dll_GetClassLongA]
mov dword [edi + 8], eax
push dword [edi + 0xc]
call fcn.005137d4
add esp, 4
mov dword [ebp - 4], 0
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
push esi
mov dword [ebp + 8], esi
call fcn.005137cb
add esp, 4
mov dword [edi + 0xc], eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4d18c4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1d90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cmp eax, 0xf
jge 0x4d1dd3
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [ebx]
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
lea edi, [esi + 0x80]
movups xmmword [edi], xmm0
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 2
je 0x4d1dff
add dword [esi + 0x84], 3
add dword [esi + 0x88], 0xfffffffd
jmp 0x4d1e13
inc dword [esi + 0x84]
add dword [esi + 0x8c], 0xfffffffe
add dword [esi + 0x88], 0xfffffffe
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x84]
add ecx, 0xfffffff1
push dword [esi + 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x84], eax
add eax, 0xf
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x88]
sub eax, 0xf
mov dword [edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d1eff
mov eax, dword [esi + 4]
push 0x30
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00517590
push 0x90
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], 0x94
push 0
push eax
call fcn.00517590
add esp, 0x18
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4d1ea4
cmp dword [ebp - 0xc4], 6
jae 0x4d1eab
mov eax, 0x2c
jmp 0x4d1eb0
mov eax, 0x30
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffff0
test edi, edi
je 0x4d1ed5
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [0x58d488]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x406
push dword [esi + 0x4c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 8], eax
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 4
Function at 0x4d2320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xe0]
je 0x4d23e4
cmp edi, 2
setl bl
cmp edi, 2
jge 0x4d245c
test edi, edi
je 0x4d245c
ja 0x4d2362
xor edi, edi
jmp 0x4d236a
mov eax, dword [esi + 0xdc]
mov edi, dword [eax]
mov edi, dword [edi + 0x24]
test edi, edi
je 0x4d245c
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], edi
call fcn.004e3a00
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4d23ae
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0x24]
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], edi
call fcn.004e3ba0
jmp 0x4d245c
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4d245c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x40
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d245c
cmp edi, 2
setl bl
cmp edi, 2
jl 0x4d245c
mov ebx, dword [esi + 0xd0]
lea eax, [esi + 0xac]
mov dword [ebp - 0x18], eax
cmp ebx, dword [eax + 0x34]
jb 0x4d2407
xor eax, eax
jmp 0x4d240d
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x24]
push 0
test eax, eax
je 0x4d2455
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [edi - 1]
cmp ebx, eax
jge 0x4d243a
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 1]
push 1
push eax
call fcn.004e4190
xor bl, bl
jmp 0x4d245c
test ebx, ebx
jle 0x4d2451
cmp edi, 1
jle 0x4d2451
mov ecx, dword [ebp - 0x18]
lea eax, [ebx - 1]
push 1
push eax
call fcn.004e4190
xor bl, bl
jmp 0x4d245c
call fcn.004d2480
mov bl, al
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [0x58ca1c]
mov dword [ebp - 0xc], 9
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
je 0x4d417e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0xe0]
test ecx, ecx
jle 0x4d4148
lea edi, [eax + 0xac]
nop dword [eax]
dec ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [edi + 0x34]
jb 0x4d406d
xor esi, esi
jmp 0x4d4076
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 4]
mov esi, dword [esi + 0x24]
mov dword [ebx], esi
test esi, esi
je 0x4d4136
mov edx, dword [eax + 0xe0]
xor eax, eax
test edx, edx
jle 0x4d411b
cmp eax, dword [edi + 0x34]
jb 0x4d409c
xor ecx, ecx
jmp 0x4d40a2
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x24], esi
je 0x4d40ae
inc eax
cmp eax, edx
jl 0x4d4093
jmp 0x4d411b
cmp eax, 0xffffffff
je 0x4d411b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x170], esi
jne 0x4d40c8
mov dword [ecx + 0x170], 0
push 0
push 1
push eax
mov ecx, edi
call fcn.004d3130
test eax, eax
je 0x4d411b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x3f3fffff
or eax, 0x80c00000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp - 4]
push dword [eax + 4]
push 0
push 0x400
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x401
push dword [ebx + 4]
mov dword [ebx + 8], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4d4142
mov eax, dword [ebp - 4]
jmp 0x4d4060
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 8]
push ebx
push 0
mov dword [ebx], eax
push 0x401
push dword [ebx + 4]
mov dword [ebx + 8], 0xa
call edi
mov eax, dword [ebp - 4]
push 0
push 0
push 0x10
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push 0
push 0x401
push dword [ebx + 4]
mov dword [ebx + 8], 2
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4a10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
push dword [esi]
call dword [sym.imp.USER32.dll_WindowFromDC]
mov ecx, dword [0x58ca94]
push eax
mov dword [ebp - 0x20], eax
call fcn.004d0ca0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
mov edx, 2
mov ecx, 0xf
setne al
test al, al
cmovne ecx, edx
push ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, ebx
neg ecx
push eax
lea eax, [ebx + 4]
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
push esi
call fcn.005137cb
add esp, 4
mov dword [ebp - 0x18], eax
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d4b80
mov edx, ebx
lea ecx, [ebx + 4]
neg edx
lea eax, [ebp - 0x14]
sbb edx, edx
and edx, ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp byte [ebx + 0x14], 0
je 0x4d4add
mov eax, dword [ebx + 0x20]
add dword [ebp - 0x14], 0xc
sub eax, 3
mov edi, dword [0x58c8b0]
mov dword [ebp - 0xc], eax
jmp 0x4d4af0
mov eax, dword [ebx + 0x2c]
sub dword [ebp - 8], 8
add eax, 3
mov edi, dword [0x58c8ac]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
mov edx, 9
mov ecx, 0x12
setne al
test al, al
cmovne ecx, edx
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [ebp - 0x1c]
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp ecx, dword [ebp - 0xc]
jge 0x4d4b75
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x4d4b75
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d4b55
movzx eax, byte [ebx + 0x14]
sub ecx, edx
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
push edi
push esi
call fcn.0043d4d0
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4d4b86
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
push esi
call dword [eax + 4]
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
push esi
call dword [eax + 4]
lea eax, [ebx + 4]
neg ebx
push 0xf
sbb ebx, ebx
push 6
and ebx, eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_DrawEdge]
push edi
call fcn.005137d4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 8
Function at 0x4d7920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
mov dword [ebx + 0xb8], 0xffffffff
mov dword [ebx + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x1e8]
jne 0x4d7953
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d7971
push 0
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetScrollPos]
push edi
push 0
push dword [ebx + 4]
call esi
push 1
push dword [ebx + 4]
mov edi, eax
call esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
add esi, edi
mov ecx, esi
lea edi, [eax + 0x8c]
push edi
mov edx, dword [eax + 0x84]
cmp edx, esi
cmovl ecx, edx
cmovg esi, edx
mov edx, dword [ebp + 0xc]
add edx, ebx
mov dword [edi], ecx
mov ebx, eax
mov dword [eax + 0x94], esi
mov eax, edx
mov ecx, dword [ebx + 0x88]
cmp ecx, edx
cmovl eax, ecx
cmovg edx, ecx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x98], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
pop edi
test eax, eax
je 0x4d79e9
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004d18e0
push 0
push 0x14
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, esi
sub ecx, dword [ebx + 0xfc]
cmp ecx, 0xa
jbe 0x4d7a34
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00491880
test eax, eax
je 0x4d7a34
mov dword [ebx + 0xfc], esi
push 0x105
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d7a50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
je 0x4d7a83
lea eax, [esi + 0x84]
push eax
call fcn.004d70a0
test al, al
je 0x4d7a7f
push 0
push 0x80
lea eax, [esi + 0x2c]
mov ecx, esi
push eax
call fcn.004d6c60
test al, al
jne 0x4d7a8d
xor al, al
pop esi
ret
mov dword [esi + 0x88], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4d7a7f
mov al, 1
pop esi
ret
Function at 0x4d84f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
push esi
call fcn.005137cb
add esp, 4
mov ebx, eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0x7f
push dword [ebp + 0xc]
or esi, 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4d853f
push 0xffffffffffffffde
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, eax
je 0x4d8550
push eax
push 0xffffffffffffffff
push dword [edi + 0xa8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov esi, eax
push dword [ebp + 0x10]
lea ecx, [edi + 0xac]
push esi
push ebx
push dword [ebp + 8]
call fcn.004d8400
push ebx
mov esi, eax
call fcn.005137d4
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4db350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x4db395
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4db395
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 0x6c], 0
je 0x4db3b1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x4db3d9
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4db3f7
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, 7
ja case.default.0x4db424
jmp dword [eax*4 + 0x4db4e4]
xor edx, edx
jmp 0x4db4b9
lea edx, [edi - 5]
xor eax, eax
test edx, edx
cmovle edx, eax
jmp 0x4db4b9
mov eax, dword [ebp - 0x14]
xor edx, edx
sub eax, dword [ebp - 0xc]
add eax, edi
test eax, eax
cmovg edx, eax
jmp 0x4db4b9
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
jmp 0x4db4b9
mov edx, dword [esi + 0xc4]
lea eax, [edi + 5]
dec edx
cmp eax, edx
cmovl edx, eax
jmp 0x4db4b9
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0xc4]
add ecx, edi
dec edx
cmp ecx, edx
cmovl edx, ecx
jmp 0x4db4b9
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 0
push eax
xorps xmm0, xmm0
push 0
push dword [esi + 4]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0x1c
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
je case.default.0x4db424
mov edx, dword [ebp - 0x18]
cmp edx, edi
je case.default.0x4db424
push 0
push edx
push 0
mov ecx, esi
call fcn.004c8750
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00513512
mov esp, ebp
pop ebp
ret 0xc