joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3190
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
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x4b31cd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b31eb
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx edi, ax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xc4]
mov ebx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
dec ebx
add ebx, ecx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], ebx
je 0x4b32d3
cmp dword [esi + 0x3c], 0
je 0x4b32a5
cmp dword [esi + 0x58], 0
je 0x4b32a5
mov eax, edi
sub eax, dword [esi + 0xec]
test eax, eax
jg 0x4b32a5
cmp edi, dword [esi + 0xf4]
jge 0x4b335b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, ebx
jl 0x4b335b
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
mov ecx, edi
sub ecx, dword [esi + 0xec]
add eax, ecx
test eax, eax
jle 0x4b3297
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
sub edi, dword [esi + 0xec]
add eax, edi
mov dword [esi + 0xf0], eax
push eax
jmp 0x4b334e
xor eax, eax
mov dword [esi + 0xf0], eax
push eax
jmp 0x4b334e
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xf4], edi
pop edi
mov dword [esi + 0x60], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xf0]
xor ebx, ebx
sub eax, dword [esi + 0xf4]
add eax, edi
test eax, eax
cmovg ebx, eax
cmp dword [esi + 0x58], 0
je 0x4b3347
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, dword [ebp - 0x18]
jl 0x4b3347
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
cmp ebx, eax
jge 0x4b3347
cmp dword [esi + 0x60], 0
jne 0x4b335b
push 0
push 0x14
push 0x3e9
push dword [esi + 4]
mov dword [esi + 0x60], 1
mov dword [esi + 0xec], edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x60], 0
jne 0x4b335b
push ebx
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004b3640
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4

Function at 0x4b36c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.004ae370
Function at 0x4b5230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x108]
cmp dword [eax - 0xc], 0
jne 0x4b524c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push 0x11c
call fcn.00519368
mov edi, eax
add esp, 4
mov eax, dword [esi + 0x110]
cmp eax, 0xffffffff
jne 0x4b528b
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
cdq
idiv dword [esi + 0x9c]
mov dword [edi + 4], 0
mov dword [edi], eax
mov dword [edi + 8], 0
jmp 0x4b529f
mov dword [edi], eax
mov eax, dword [esi + 0x114]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x118]
mov dword [edi + 8], eax
push dword [esi + 0x108]
lea eax, [edi + 0x14]
push 0x54db80
push 0x104
push eax
call fcn.0043a320
mov eax, dword [esi + 0x35c]
add esp, 0x10
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x4b5e20
push 0
push 0
mov dword [edi + 0x118], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b9cf1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4b9ccd
cmp eax, 2
jne 0x4b9cdf
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x4b9ced
test eax, eax
je 0x4b9cea
cmp byte [eax + esi - 1], 0
je 0x4b9ced
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4bb860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xf8c]
test eax, eax
je 0x4bb894
cmp dword [ebp + 0xc], 0
jne 0x4bb894
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bb894
mov eax, dword [esi + 0xf8c]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4bb8a0
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 ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [edi + 0x24]
mov ebx, edi
test eax, eax
cmove ebx, ecx
cmp byte [eax + 0x1c], cl
je 0x4bb8f6
push 0xe801
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4bb8e7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bb8fb
test esi, esi
jne 0x4bb8f6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bb8fb
cmp esi, 1
je 0x4bb911
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [ebx + 0x24]
push eax
call fcn.004bb130
push 0
push 0
push 0x130b
push dword [edi + 0xf78]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0xf78]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
push dword [edi + 0xf78]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub eax, 3
add ebx, dword [edi + 0xf7c]
sub ecx, 2
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [edi + 0xf84], esi
jle 0x4bb9e7
mov edx, dword [ebp - 0x14]
test esi, esi
js 0x4bb9d6
cmp esi, dword [edi + 0xf84]
jge 0x4bb9d6
push 0x10
sub ecx, ebx
sub eax, edx
push ecx
push eax
mov eax, dword [edi + 0xf80]
push ebx
push edx
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, dword [edi + 0xf84]
jge 0x4bb9d6
mov eax, dword [edi + 0xf80]
push 1
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc esi
cmp esi, dword [edi + 0xf84]
jge 0x4bb9e7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x4bb97d
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4bba90
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0xf78]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, dword [esi + 0xf84]
jge 0x4bbae9
test edi, edi
js 0x4bbae9
push 0
cmp edi, dword [esi + 0xf84]
jge 0x4bbaf0
mov eax, dword [esi + 0xf80]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
cmp edi, dword [esi + 0xf84]
jge 0x4bbaf0
mov eax, dword [esi + 0xf80]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
xor eax, eax
pop esi
ret 0xc
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x4bbd0c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x4bbcf3
jmp dword [eax*4 + 0x4bbe2c]
xor esi, esi
jmp 0x4bbd11
mov esi, 1
jmp 0x4bbd11
mov esi, 2
jmp 0x4bbd11
mov esi, 3
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [edi + 0xf78]
call ebx
mov ecx, eax
test ecx, ecx
js 0x4bbe11
cmp ecx, dword [edi + 0xf84]
jge 0x4bbe11
mov eax, dword [edi + 0xf80]
push 0
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x130b
push dword [edi + 0xf78]
call ebx
test eax, eax
js 0x4bbe11
cmp eax, dword [edi + 0xf84]
jge 0x4bbe11
mov ecx, dword [edi + 0xf80]
push 0
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
push 0x130c
push dword [edi + 0xf78]
call ebx
pop ebx
cmp esi, dword [edi + 0xf84]
jge 0x4bbe11
mov eax, dword [edi + 0xf80]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [edi + 0xf84]
jge 0x4bbe11
mov eax, dword [edi + 0xf80]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, dword [edi + 0xf84]
jge 0x4bbe11
mov eax, dword [edi + 0xf80]
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0xf84]
jge 0x4bbe11
mov eax, dword [edi + 0xf80]
push 1
push 0
push dword [eax + esi*4]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
call esi
push 1
push 0
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4bf6e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4bf70c
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x4bf729
sub eax, 1
jne 0x4bf721
mov esi, 0x111
jmp 0x4bf72e
mov esi, dword [ebp - 0x168]
jmp 0x4bf72e
mov esi, 0x110
push edi
call fcn.0044ef60
add esp, 4
test eax, eax
je 0x4bf750
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x80
push edi
jmp 0x4bf785
push 0x2e
push edi
call fcn.0051c900
add esp, 8
push esi
push 0x160
test eax, eax
jne 0x4bf778
lea eax, [ebp - 0x164]
push eax
push 0x80
push str..exe
jmp 0x4bf785
lea ecx, [ebp - 0x164]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x164]
xor ecx, ebp
pop esi
pop edi
call fcn.005193a0
mov esp, ebp
pop ebp
ret

Function at 0x4c0d70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x18]
test edi, edi
jg 0x4c0d80
xor eax, eax
pop edi
pop ebp
ret
push ebx
call sub.usysdiag.dll_vif_iokit_get
push 0x8102
push dword [ebp + 0x1c]
mov eax, dword [eax + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jns 0x4c0da2
pop ebx
xor eax, eax
pop edi
pop ebp
ret
push esi
push edi
call fcn.00524eb3
add esp, 4
mov esi, eax
call sub.usysdiag.dll_vif_iokit_get
test esi, esi
jne 0x4c0dc7
mov eax, dword [eax + 0x20]
push ebx
call eax
add esp, 4
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
mov eax, dword [eax + 0x98]
push 0
push edi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov edi, eax
add esp, 0x1c
cmp edi, 0x40
jb 0x4c0e4b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4c0e4b
mov eax, dword [esi + 0x3c]
lea ecx, [eax + esi]
add eax, 0xf8
cmp edi, eax
jl 0x4c0e4b
cmp dword [ecx], 0x4550
jne 0x4c0e4b
cmp word [ecx + 6], 0
je 0x4c0e4b
movzx edx, word [ecx + 0x14]
add edx, ecx
lea eax, [edx + 0x18]
sub eax, esi
add eax, 0x28
cmp edi, eax
jl 0x4c0e4b
mov eax, 1
mov word [ecx + 6], ax
mov eax, dword [ecx + 0x3c]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x50]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x50]
mov dword [edx + 0x20], eax
mov dword [edx + 0x3c], 0xe0000040
call sub.usysdiag.dll_vif_iokit_get
push edi
push esi
push ebx
mov eax, dword [eax + 0x10]
call eax
call sub.usysdiag.dll_vif_iokit_get
push ebx
mov ecx, dword [eax + 0x20]
call ecx
push esi
call fcn.00524eae
add esp, 0x14
mov eax, 1
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x4c0f40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor esi, esi
nop
cmp eax, dword [esi + 0x5897d0]
jne 0x4c0f9a
mov eax, dword [ebp + 0xc]
test dword [esi + 0x5897d4], eax
je 0x4c0f97
mov edx, dword [esi + 0x5897d8]
cmp byte [edx], 0
jne 0x4c0f72
xor eax, eax
jmp 0x4c0f80
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0f77
sub eax, edi
push eax
push edx
mov ecx, ebx
call fcn.00422d00
push 1
push 0x54dba4
mov ecx, ebx
call fcn.00422d00
mov eax, dword [ebp + 8]
add esi, 0xc
cmp esi, 0xcc
jb 0x4c0f50
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret

Function at 0x4c80d0
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 0x4c8103
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c8121
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 0x4c8199
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.004c5da0
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 0x4c81e4
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.004669e0
test eax, eax
je 0x4c81e4
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 0x4c9190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547b48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4c91ca
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.004164e0
mov esi, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x4c924e
push 1
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c0e80
add esp, 0x1c
test eax, eax
je 0x4c9230
push 1
push 0
push esi
push str.notepad.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x4c9230
mov edi, 1
jmp 0x4c9250
push 1
push esi
call fcn.0044f470
push 0x10
push 0x86cd
push 0x8732
push 0
call fcn.004102a0
add esp, 0x18
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c926f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9eb0
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 0x4c9ecd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c9eeb
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 0x4c9f40
test byte [ebp - 4], 1
je 0x4c9f40
push dword [ebp - 8]
mov ecx, esi
call fcn.004c5ee0
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.00461ae0
cmp eax, 4
jl 0x4c9fbc
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
Function at 0x4cae50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x4cae8a
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4cae8a
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x4caeb4
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4caed2
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
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.00461ae0
test eax, eax
je 0x4caf36
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.004c9120
mov ecx, esi
test eax, eax
jne 0x4caf1f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.004ccc30
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.00460c40
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d1510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0xc
cmp edx, dword [ebp + 0x1c]
je 0x4d1600
movd xmm1, dword [ebp + 0x24]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push esi
push edi
mov edi, dword [ebp + 0x20]
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d1540
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
movsd xmm0, qword [eax]
addsd xmm0, xmm1
movsd qword [eax], xmm0
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4d1563
xor eax, eax
jmp 0x4d1565
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov esi, dword [ebp + 0x10]
dec ecx
mov eax, dword [eax + 4]
and ecx, esi
mov eax, dword [eax + ecx*4]
cvttsd2si eax, qword [eax]
cmp eax, edi
jle 0x4d15a4
test edx, edx
jne 0x4d1584
xor eax, eax
jmp 0x4d1586
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + ecx*4]
movsd qword [eax], xmm0
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4d15ac
xor eax, eax
jmp 0x4d15ae
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov dword [ebp - 4], 0xd
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0xc], eax
call ebx
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 edx, dword [ebp + 0x10]
add edi, 5
movd xmm1, dword [ebp + 0x24]
inc edx
add edi, eax
mov dword [ebp + 0x10], edx
cvtdq2pd xmm1, xmm1
cmp edx, dword [ebp + 0x1c]
jne 0x4d1537
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4d1d10
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.004ecad0
mov esi, eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004ecad0
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
je 0x4d1e78
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 0x4d1d5e
mov ecx, dword [edi]
test ecx, ecx
je 0x4d1d5e
mov eax, dword [ecx]
dec ebx
test eax, eax
je 0x4d1d65
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 0x4d1d8a
mov eax, dword [eax]
test eax, eax
je 0x4d1d8a
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
dec edx
test ecx, ecx
jne 0x4d1d96
xor eax, eax
jmp 0x4d1d98
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 0x4d1ded
mov eax, dword [edi]
test eax, eax
je 0x4d1ded
mov ecx, dword [eax]
mov ebx, dword [ebp + 0x10]
lea edx, [ebx - 1]
test ecx, ecx
jne 0x4d1dfb
xor eax, eax
jmp 0x4d1dfd
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 0x4d1e43
xor eax, eax
test edi, edi
je 0x4d1e1f
mov ecx, dword [edi]
test ecx, ecx
je 0x4d1e1f
mov eax, dword [ecx]
test eax, eax
je 0x4d1e25
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.004ecad0
mov esi, eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004ecad0
movd xmm0, dword [ebp + 0x24]
cvtdq2pd xmm0, xmm0
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 8]
jne 0x4d1d50
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x20