joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546f5c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x58a710]
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.004d2da0
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.004d2da0
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.004d26e0
lea ecx, [ebx + 0x1f0]
mov byte [ebp - 4], 3
call fcn.004d2f50
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 0x4d3290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5470d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58a710]
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.00519bec
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4d332f
push 0x40cf10
push 0x4d34d0
push esi
mov dword [eax], esi
add eax, 4
push 0x10
push eax
mov dword [ebp - 0x10], eax
call fcn.00519ca8
mov eax, dword [ebp - 0x10]
jmp 0x4d3331
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 0x4d340d
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.004d5dd0
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 0x4d33ea
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 0x4d33fa
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 0x4d3360
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 0x4d52e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x170], 0
je 0x4d5376
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 0x4d5337
test al, 2
je 0x4d5332
sub dword [ebp - 0xc], esi
jmp 0x4d5343
add dword [ebp - 0x14], esi
jmp 0x4d5343
test al, 2
je 0x4d5340
sub dword [ebp - 8], esi
jmp 0x4d5343
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.005193a0
mov esp, ebp
pop ebp
ret

Function at 0x4d5dd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547260
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58a710]
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 0x4d5e2b
push 0xffffffffffffffde
push ebx
call dword [sym.imp.USER32.dll_GetClassLongA]
mov dword [edi + 8], eax
push dword [edi + 0xc]
call fcn.005199a4
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.00519bec
add esp, 4
mov dword [edi + 0xc], eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4d5e74
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 0x4d6740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58a710]
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 0x4d6804
cmp edi, 2
setl bl
cmp edi, 2
jge 0x4d687c
test edi, edi
je 0x4d687c
ja 0x4d6782
xor edi, edi
jmp 0x4d678a
mov eax, dword [esi + 0xdc]
mov edi, dword [eax]
mov edi, dword [edi + 0x24]
test edi, edi
je 0x4d687c
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.004e80d0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4d67ce
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.004e8270
jmp 0x4d687c
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4d687c
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 0x4d687c
cmp edi, 2
setl bl
cmp edi, 2
jl 0x4d687c
mov ebx, dword [esi + 0xd0]
lea eax, [esi + 0xac]
mov dword [ebp - 0x18], eax
cmp ebx, dword [eax + 0x34]
jb 0x4d6827
xor eax, eax
jmp 0x4d682d
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x24]
push 0
test eax, eax
je 0x4d6875
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [edi - 1]
cmp ebx, eax
jge 0x4d685a
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 1]
push 1
push eax
call fcn.004e8860
xor bl, bl
jmp 0x4d687c
test ebx, ebx
jle 0x4d6871
cmp edi, 1
jle 0x4d6871
mov ecx, dword [ebp - 0x18]
lea eax, [ebx - 1]
push 1
push eax
call fcn.004e8860
xor bl, bl
jmp 0x4d687c
call fcn.004d68a0
mov bl, al
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
Function at 0x4d81a0
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 [0x594054]
mov dword [ebp - 0xc], 9
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
je 0x4d831e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0xe0]
test ecx, ecx
jle 0x4d82e8
lea edi, [eax + 0xac]
nop dword [eax]
dec ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [edi + 0x34]
jb 0x4d820d
xor esi, esi
jmp 0x4d8216
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 0x4d82d6
mov edx, dword [eax + 0xe0]
xor eax, eax
test edx, edx
jle 0x4d82bb
cmp eax, dword [edi + 0x34]
jb 0x4d823c
xor ecx, ecx
jmp 0x4d8242
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + eax*4]
cmp dword [ecx + 0x24], esi
je 0x4d824e
inc eax
cmp eax, edx
jl 0x4d8233
jmp 0x4d82bb
cmp eax, 0xffffffff
je 0x4d82bb
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x170], esi
jne 0x4d8268
mov dword [ecx + 0x170], 0
push 0
push 1
push eax
mov ecx, edi
call fcn.004d72e0
test eax, eax
je 0x4d82bb
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 0x4d82e2
mov eax, dword [ebp - 4]
jmp 0x4d8200
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 0x4d8bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x58a710]
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 [0x5940cc]
push eax
mov dword [ebp - 0x20], eax
call fcn.004d5250
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.00519bec
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 0x4d8d20
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 0x4d8c7d
mov eax, dword [ebx + 0x20]
add dword [ebp - 0x14], 0xc
sub eax, 3
mov edi, dword [0x593ee8]
mov dword [ebp - 0xc], eax
jmp 0x4d8c90
mov eax, dword [ebx + 0x2c]
sub dword [ebp - 8], 8
add eax, 3
mov edi, dword [0x593ee4]
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 0x4d8d15
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x4d8d15
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8cf5
movzx eax, byte [ebx + 0x14]
sub ecx, edx
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
push edi
push esi
call fcn.0043d700
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4d8d26
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.005199a4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 8
Function at 0x4dc0d0
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 0x4dc103
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dc121
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 0x4dc199
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.004d5e90
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 0x4dc1e4
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004669e0
test eax, eax
je 0x4dc1e4
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 0x4dc200
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
je 0x4dc233
lea eax, [esi + 0x84]
push eax
call fcn.004db870
test al, al
je 0x4dc22f
push 0
push 0x80
lea eax, [esi + 0x2c]
mov ecx, esi
push eax
call fcn.004db350
test al, al
jne 0x4dc23d
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 0x4dc22f
mov al, 1
pop esi
ret
Function at 0x4dcf10
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.00519bec
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 0x4dcf5f
push 0xffffffffffffffde
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, eax
je 0x4dcf70
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.004dce20
push ebx
mov esi, eax
call fcn.005199a4
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4dfd50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x58a710]
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 0x4dfd95
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4dfd95
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 0x4dfdb1
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 0x4dfdd9
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dfdf7
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.0x4dfe24
jmp dword [eax*4 + 0x4dfee4]
xor edx, edx
jmp 0x4dfeb9
lea edx, [edi - 5]
xor eax, eax
test edx, edx
cmovle edx, eax
jmp 0x4dfeb9
mov eax, dword [ebp - 0x14]
xor edx, edx
sub eax, dword [ebp - 0xc]
add eax, edi
test eax, eax
cmovg edx, eax
jmp 0x4dfeb9
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
jmp 0x4dfeb9
mov edx, dword [esi + 0xc4]
lea eax, [edi + 5]
dec edx
cmp eax, edx
cmovl edx, eax
jmp 0x4dfeb9
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 0x4dfeb9
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.0x4dfe24
mov edx, dword [ebp - 0x18]
cmp edx, edi
je case.default.0x4dfe24
push 0
push edx
push 0
mov ecx, esi
call fcn.004cc990
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.005193a0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e05a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x4e05bd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e05db
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00509680
test eax, eax
je 0x4e0630
test byte [ebp - 4], 1
je 0x4e0630
push dword [ebp - 8]
mov ecx, esi
call fcn.004d5fb0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004dc370
cmp eax, 4
jl 0x4e06ac
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
push eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0x1c], 0xfffffa84
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov esp, ebp
pop ebp
ret 0xc