joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c2e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x47c30e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c32e
mov ecx, dword [esi + 0x214]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x9c], 0
je 0x47c341
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
movsx ecx, word [ebp + 0xc]
imul ecx, dword [esi + 0xf0]
mov eax, 0x88888889
imul ecx
mov eax, dword [esi + 4]
add edx, ecx
sar edx, 6
mov edi, edx
push 1
shr edi, 0x1f
push eax
add edi, edx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ebx, eax
test edi, edi
jle 0x47c388
mov ecx, dword [esi + 0xcc]
imul ecx, edi
sub ebx, ecx
xor edx, edx
test ebx, ebx
setle dl
dec edx
and ebx, edx
jmp 0x47c393
mov eax, dword [esi + 0xcc]
imul eax, edi
sub ebx, eax
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
xor edi, edi
cmp ebx, edi
setge al
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
lea eax, [eax*4 + 3]
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x84], edi
je 0x47c444
mov edx, dword [esi + 0x54]
cmp edx, edi
je 0x47c3d8
mov ecx, dword [esi + 0xd0]
jmp 0x47c3da
xor ecx, ecx
mov eax, dword [esi + 0x3a8]
imul eax, dword [esi + 0xcc]
add eax, ecx
mov dword [ebp - 0x20], eax
cmp edx, edi
je 0x47c3f8
mov ebx, dword [esi + 0xd0]
jmp 0x47c3fa
xor ebx, ebx
mov ecx, dword [ebp - 4]
sub ecx, ebx
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
cmp edx, edi
je 0x47c411
mov edx, dword [esi + 0xd0]
jmp 0x47c413
xor edx, edx
add edx, ecx
cmp eax, edx
ja 0x47c41c
mov dword [ebp - 0x20], edi
mov edx, dword [esi + 4]
push 1
lea ecx, [ebp - 0x2c]
push ecx
push 1
push edx
call dword [sym.imp.USER32.dll_SetScrollInfo]
test eax, eax
je 0x47c43c
xor eax, eax
cmp dword [ebp - 0x20], edi
setg al
jmp 0x47c43e
xor eax, eax
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 4]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47c6d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x47c6fa
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c71a
mov ecx, dword [esi + 0x214]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
push ebx
push 0
push edx
call edi
mov ebx, eax
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xb4]
add ecx, ebx
mov edi, edx
cmp edx, ecx
jl 0x47c746
mov edi, ecx
lea ebx, [esi + 0xbc]
mov dword [ebx], edi
cmp edx, ecx
jle 0x47c754
mov ecx, edx
add eax, dword [ebp + 0xc]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esi + 0xb8]
mov edx, ecx
cmp ecx, eax
jl 0x47c76b
mov edx, eax
mov dword [esi + 0xc0], edx
cmp ecx, eax
jle 0x47c777
mov eax, ecx
push ebx
mov dword [esi + 0xc8], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
pop ebx
test eax, eax
je 0x47c791
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0047ab00
mov edx, dword [esi + 4]
push 0
push 0x14
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub eax, dword [esi + 0x12c]
cmp eax, 0xa
jbe 0x47c7df
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, esi
call fcn.00477a80
test eax, eax
je 0x47c7df
mov dword [esi + 0x12c], edi
mov eax, dword [esi + 4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebp
ret 8
Function at 0x47d5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x47d5dd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d5fd
mov ecx, dword [esi + 0x214]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetMessagePos]
lea edx, [ebp - 0x14]
movsx edi, ax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xf4]
sub ecx, dword [ebp - 0xc]
cmp dword [ebp + 8], 0
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx - 1]
mov dword [ebp - 4], eax
je 0x47d6ef
cmp dword [esi + 0x6c], 0
je 0x47d6c8
cmp dword [esi + 0x88], 0
je 0x47d6c8
mov ecx, edi
sub ecx, dword [esi + 0x11c]
test ecx, ecx
jg 0x47d6c8
cmp edi, dword [esi + 0x124]
jge 0x47d782
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, dword [ebp - 4]
jl 0x47d782
mov eax, dword [esi + 0x10c]
push eax
mov ecx, esi
call fcn.00475d70
mov ecx, edi
sub ecx, dword [esi + 0x11c]
add eax, ecx
test eax, eax
jle 0x47d6a9
mov edx, dword [esi + 0x10c]
push edx
mov ecx, esi
call fcn.00475d70
sub edi, dword [esi + 0x11c]
add eax, edi
jmp 0x47d6ab
xor eax, eax
push eax
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x10c]
push eax
mov ecx, esi
call fcn.0047c990
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x124], edi
pop edi
mov dword [esi + 0x90], 0
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x120]
sub eax, dword [esi + 0x124]
push ebx
add eax, edi
xor ebx, ebx
test eax, eax
setle bl
dec ebx
and ebx, eax
cmp dword [esi + 0x88], 0
je 0x47d769
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, dword [ebp - 4]
jl 0x47d769
mov ecx, dword [esi + 0x10c]
push ecx
mov ecx, esi
call fcn.00475d70
cmp ebx, eax
jge 0x47d769
cmp dword [esi + 0x90], 0
jne 0x47d781
mov edx, dword [esi + 4]
push 0
push 0x14
push 0x3e9
push edx
mov dword [esi + 0x90], 1
mov dword [esi + 0x11c], edi
call dword [sym.imp.USER32.dll_SetTimer]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x90], 0
jne 0x47d781
mov eax, dword [esi + 0x10c]
push ebx
push eax
mov ecx, esi
call fcn.0047c990
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4823d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x4823ee
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48240e
mov ecx, dword [esi + 0x214]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
movzx edx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x201
push ecx
call edi
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push ecx
push edx
mov ecx, esi
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
call fcn.00476250
test eax, eax
je 0x482469
test byte [ebp - 4], 1
je 0x482469
mov eax, dword [ebp - 8]
push eax
mov ecx, esi
call fcn.0047fb40
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 8]
push edx
push eax
push ecx
mov ecx, esi
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
call fcn.00478dd0
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 0x20], 0xfffffa20
mov dword [ebp - 0x1c], edx
call fcn.00479f40
mov edx, dword [esi + 4]
mov dword [ebp - 0x18], eax
xor eax, eax
xor ecx, ecx
push edx
mov word [ebp - 0x14], cx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ecx
push edx
push 0x4e
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x482ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x9c], 0
push edi
je 0x48300e
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
or eax, 0xffffffff
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x483031
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483051
mov edx, dword [esi + 0x214]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x54], 0
je 0x483070
mov edx, dword [esi + 0xd0]
mov dword [ebp - 0xc], edx
jmp 0x483077
mov dword [ebp - 0xc], 0
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ebx, dword [esi + 0x98]
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, 8
ja case.default.0x483097
jmp dword [eax*4 + 0x4831bc]
xor edi, edi
jmp 0x483138
sub edi, dword [esi + 0xcc]
xor ecx, ecx
test edi, edi
setle cl
dec ecx
and edi, ecx
jmp 0x48313a
sub edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [edi + edx]
xor ecx, ecx
test eax, eax
setle cl
lea edi, [ecx - 1]
and edi, eax
jmp 0x48313a
mov edi, dword [esi + 0x3a8]
imul edi, dword [esi + 0xcc]
jmp 0x483138
add edi, dword [esi + 0xcc]
jmp 0x48313a
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
add edi, edx
jmp 0x48313a
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ecx
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
je case.default.0x483097
mov eax, dword [ebp - 0x14]
cmp eax, edi
je case.default.0x483097
mov edi, eax
xor ebx, ebx
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetScrollPos]
cdq
idiv dword [esi + 0xcc]
push 0
push edi
push 1
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.0047bd00
test ebx, ebx
je 0x483197
cmp dword [esi + 0xa0], 0
jne 0x483197
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
cdq
idiv dword [esi + 0xcc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004826f0
pop edi
mov dword [esi + 0xa0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00477c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0xa0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x483650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3ec
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x134], 0
je 0x48368c
mov ecx, dword [esi + 0x134]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x48368c
mov dword [esi + 0x134], 0
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x4836b8
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4836d8
mov edx, dword [esi + 0x214]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 4]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00478dd0
test eax, eax
je 0x483732
push edi
mov edi, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
lea ecx, [esi + 0x388]
mov dword [ebp - 4], edi
call fcn.00470900
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x38c]
jne 0x483731
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00482dc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48f9a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
test ecx, ecx
je 0x48f9ae
lea edi, [ecx - 0x20]
jmp 0x48f9b0
xor edi, edi
cmp byte [ecx + 0x1c], 0
mov esi, dword [ebp + 0xc]
je 0x48f9e7
mov eax, dword [edi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x48f9d8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48f9ec
test esi, esi
jne 0x48f9e7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48f9ec
cmp esi, 1
je 0x48fa02
mov eax, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
cwde
push edx
push eax
lea ecx, [edi + 0x20]
call fcn.0048f760
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4954e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push ebx
push esi
push edi
movsx edi, ax
shr eax, 0x10
mov esi, ecx
movsx ebx, ax
mov eax, dword [esi + 0x28]
test al, 0x20
je 0x495556
test dword [esi + 0x64], 0x200
je 0x495556
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 4]
and dword [esi + 0x64], 0xfffffdff
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push ebx
push edi
lea ecx, [ebp - 0x10]
add edx, 0xfffffff0
add eax, 0x10
push ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x495594
mov ecx, esi
call fcn.004948a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test al, 1
je 0x495572
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, esi
call fcn.004948a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x34]
cmp dword [edx - 0xc], 0
je 0x495594
call fcn.004948a0
mov eax, dword [esi + 0x34]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x495a90
Capabilities:
Log keystrokes via application hook

Disassembly:
push edi
push 0x712ed8
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x712ed4], 0
jne 0x495ac2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4957c0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x712ed4], eax
push esi
mov esi, dword [0x712ef4]
cmp esi, dword [0x712ef8]
jb 0x495aed
lea eax, [esi + 1]
push eax
mov ecx, 0x712ef0
call fcn.00496540
test al, al
jne 0x495aed
push 0x8007000e
call fcn.004011d0
mov ecx, dword [0x712ef0]
lea eax, [ecx + esi*4]
pop esi
test eax, eax
je 0x495b00
mov edx, dword [edi + 4]
mov dword [eax], edx
inc dword [0x712ef4]
push 0x712ed8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
ret
Function at 0x495b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64df14
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
push 0x66f16a
lea ecx, [esi + 0x30]
mov dword [esi], vtable.CBalloonWnd.0
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.0040aab0
mov byte [ebp - 4], 5
push 0x66f16a
lea ecx, [esi + 0x34]
call fcn.0040aab0
mov byte [ebp - 4], 6
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call ebx
push 0x17
mov dword [esi + 0x4c], eax
call ebx
mov ecx, 0x712ed8
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0xff
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 3
call fcn.00488550
push str.USER32.DLL
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x673814
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
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
Function at 0x4978d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e09c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
fldz
push ebx
push esi
mov esi, ecx
fst qword [esi + 0x18]
xor ebx, ebx
fst qword [esi + 0x20]
push str.Microsoft_Sans_Serif
fst qword [esi + 0x28]
lea ecx, [esi + 0x58]
fstp qword [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CChartAxis.0
mov dword [esi + 8], ebx
mov word [esi + 0xc], 1
mov dword [esi + 0x10], ebx
mov word [esi + 0x14], 1
mov word [esi + 0x38], 1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], 0x50
call fcn.0040bea0
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x6c]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
call fcn.00425980
mov byte [ebp - 4], 1
fld qword [0x673890]
push 0x24
fstp qword [esi + 0x88]
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ebx
mov byte [esi + 0x84], 1
mov dword [esi + 0x90], ebx
call fcn.00611c8b
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x497990
mov ecx, eax
call fcn.0049d930
jmp 0x497992
xor eax, eax
mov byte [ebp - 4], 1
push 0x40
mov dword [esi + 0x64], eax
call fcn.00611c8b
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4979b7
mov ecx, eax
call fcn.00497c60
jmp 0x4979b9
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x68], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x49dd80
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e9a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esi], vtable.CChartLegend.0
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push edi
lea edi, [esi + 0x18]
mov ecx, 0x700724
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push 0xf
push 0x673a38
mov ecx, edi
mov dword [esi + 4], eax
mov dword [esi + 0x38], 0xffffff
mov dword [esi + 0x1c], 0x64
call fcn.00401670
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov eax, 0x10
mov byte [esi + 0x20], 1
mov dword [esi + 0x30], 0x1000000
mov dword [esi + 0x34], 3
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x49ed40
Capabilities:
Hide graphical window

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x49ed57
cmp byte [ecx + 0xd], 0
je 0x49ed57
mov eax, dword [ecx]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4a0f20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push esi
mov esi, ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x318]
push edi
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x318]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x318]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov edx, dword [esi + 0x328]
mov edi, eax
push edx
sar edi, 1
call ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x328]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x328]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x71476c], 0
jne 0x4a10d3
mov edx, dword [esi + 0x324]
push edx
call ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x324]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x324]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x19
push eax
sub eax, edi
add edx, 0xffffffe7
push edx
sub eax, 0xa
push eax
mov eax, dword [esi + 0x324]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x31c]
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x31c]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x31c]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0x40
push 0x17
lea edx, [eax - 1]
push edx
mov edx, dword [esi + 0x31c]
add ecx, 0xffffffe8
push ecx
sub eax, edi
add eax, 0xa
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a1230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
lea eax, [ebp - 8]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x31c]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
pop esi
test eax, eax
je 0x4a12b7
mov ecx, dword [0x716738]
push 0x80
lea eax, [ebp - 0x118]
push eax
push 0x258
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x118]
push edx
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10