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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x4a1139
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 1
mov dword [esi + 0x164], 1
call dword [eax + 0x138]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x144]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x170]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a1199
test dx, dx
je 0x4a1195
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a1199
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a1173
xor eax, eax
jmp 0x4a119e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a11d7
push 0x580ef8
push dword [esi + 0x144]
mov dword [esi + 0x16c], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x17c], 0
je 0x4a11d7
push 0
push 0x2a
push 0xcc
push dword [esi + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fc
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a2d50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x4a2dcc
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4a2d85
push edi
mov ecx, esi
call fcn.0040dc00
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x4a2dad
mov ecx, dword [esi]
test ecx, ecx
je 0x4a2db1
push dword [ecx - 8]
push ecx
call fcn.0051a0a0
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4a2dcc
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4a2dcc
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.0040e1d0
int3
Function at 0x4ac680
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b3da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5a7074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00480290
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
xorps xmm0, xmm0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0x1e
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
movq qword [edi + 0x19c], xmm0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x19c], edi
mov dword [edi + method.TXEventObserverObj_class_CXVScrollBar_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb4], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0x14
cmp byte [ebx + 8], 0
je 0x4ac84d
mov eax, dword [ebx]
cmp eax, 0x64
je 0x4ac84d
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xe0]
call esi
push 0x64
mov dword [edi + 0xe0], eax
push dword [ebx]
push dword [edi + 0xe4]
call esi
mov dword [edi + 0xe4], eax
push 0x2f8
call fcn.0050a09e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00473680
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x12c], esi
je 0x4ac896
test esi, esi
je 0x4ac880
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x12c]
mov dword [edi + 0x12c], esi
test eax, eax
je 0x4ac896
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x2f8
call fcn.0050a09e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00473680
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x130], esi
je 0x4ac8df
test esi, esi
je 0x4ac8c9
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x130]
mov dword [edi + 0x130], esi
test eax, eax
je 0x4ac8df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1a0], 0x4ae2e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ad4e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5a7074]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x17c], 0
push eax
je 0x4ad5da
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004816d0
mov ecx, dword [esi + 0x180]
mov eax, 0
mov edx, dword [esp + 0x50]
sub ecx, edx
add ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
cmovs ecx, eax
mov eax, dword [esi + 0x164]
sub eax, dword [esi + 0x16c]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x4ad570
mov ecx, dword [esi + 0x164]
sub ecx, dword [esi + 0x16c]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x4ad586
mov dword [esi + 0x174], ecx
jmp 0x4ad5b4
mov eax, dword [esi + 0x164]
sub eax, dword [esi + 0x16c]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x170]
jne 0x4ad5a6
sub eax, edi
add eax, edx
jmp 0x4ad5ae
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x174], eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x4b0
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
movups xmm0, xmmword [ecx + 0x160]
movaps xmmword [esp + 0x34], xmm0
call fcn.004816d0
movaps xmm1, xmmword [esp + 0x30]
movd eax, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
push esi
add eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
add eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
movd eax, xmm0
push edi
add eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
movd eax, xmm1
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4ad676
cmp dword [ecx + 0x14c], 1
je 0x4ad691
mov dword [ecx + 0x14c], 1
jmp 0x4ad689
cmp dword [ecx + 0x14c], 0
je 0x4ad691
mov dword [ecx + 0x14c], 0
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b34b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00481770
mov eax, dword [esi]
mov eax, dword [eax + 0xe0]
cmp eax, method.CXStatic.virtual_224
jne 0x4b3549
cmp dword [esi + 0x84], 0
je 0x4b34df
cmp dword [esi + 0x88], 0
jne 0x4b3504
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
cmp eax, method.CXChildWnd.virtual_328
jne 0x4b3559
mov eax, dword [esi + 0x13c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
cmp eax, method.CXChildWnd.virtual_328
jne 0x4b3553
mov eax, dword [esi + 0x13c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, esi
call eax
test eax, eax
je 0x4b34df
jmp 0x4b3504
mov ecx, esi
call eax
jmp 0x4b3529
mov ecx, esi
call eax
jmp 0x4b3539

Function at 0x4b3560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00481850
mov eax, dword [esi]
mov eax, dword [eax + 0xe0]
cmp eax, method.CXStatic.virtual_224
jne 0x4b35f9
cmp dword [esi + 0x84], 0
je 0x4b358f
cmp dword [esi + 0x88], 0
jne 0x4b35b4
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
cmp eax, method.CXChildWnd.virtual_328
jne 0x4b3609
mov eax, dword [esi + 0x13c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
cmp eax, method.CXChildWnd.virtual_328
jne 0x4b3603
mov eax, dword [esi + 0x13c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, esi
call eax
test eax, eax
je 0x4b358f
jmp 0x4b35b4
mov ecx, esi
call eax
jmp 0x4b35d9
mov ecx, esi
call eax
jmp 0x4b35e9
Function at 0x4baeb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x230]
test eax, eax
je 0x4bafb3
cmp byte [eax + 0x1fc], 0
je 0x4bafb3
cmp byte [ebp + 0xc], 0
je 0x4baef5
mov eax, edi
mov dword [ebx + 0x22c], eax
mov eax, dword [ebx]
call dword [eax + 0xd4]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov esi, dword [eax + 0x1c4]
lea ecx, [eax + 0x1c0]
mov eax, dword [ecx]
sub esi, eax
sar esi, 2
mov dword [ebp + 0xc], ecx
test esi, esi
je 0x4bafb3
cmp edi, 3
jne 0x4baf89
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x4bafb3
cmp dword [ebx + 0x230], 0
je 0x4bafb3
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
cmp esi, edi
je 0x4baf59
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4baf52
push 1
push 0
call fcn.004baeb0
add esi, 4
cmp esi, edi
jne 0x4baf43
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
push ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.004beed0
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x230]
mov dword [ebx + 0x22c], 3
push 0
push 1
push ebx
jmp 0x4bafef
test edi, edi
jne 0x4bafb3
xor ecx, ecx
test esi, esi
je 0x4bafb3
mov edx, eax
cmp dword [edx], ebx
je 0x4bafa3
inc ecx
add edx, 4
cmp ecx, esi
jb 0x4baf95
jmp 0x4bafb3
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004be2f0
mov eax, dword [ebx + 0x22c]
cmp eax, edi
je 0x4baffe
mov dword [ebx + 0x22c], edi
cmp edi, 3
jne 0x4bafd9
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4baff4
push 0
push 0
push ebx
jmp 0x4bafef
test edi, edi
jne 0x4baff4
cmp eax, 3
jne 0x4baff4
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4baff4
push edi
push edi
push edi
call fcn.004b86a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4bb010
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c108
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x22c], 3
je 0x4bb1f2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004816d0
mov esi, dword [edi + 0x238]
mov edx, dword [ebp - 0x3c]
add esi, edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
add ecx, 0xfffffff4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
call fcn.0040e640
mov ecx, eax
test ecx, ecx
jne 0x4bb0a2
push 0x80004005
call fcn.0040e1d0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4bb0b7
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4bb0b9
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00410bd0
push dword [edi + 0x90]
test eax, eax
lea eax, [ebp - 0x24]
je 0x4bb10b
push str.nIdx:_d_hover_r_n
push eax
call fcn.00408f20
add esp, 0xc
cmp dword [edi + 0x22c], 1
je 0x4bb1b0
mov dword [edi + 0x22c], 1
jmp 0x4bb1a6
push str.nIdx:_d_normal_r_n
push eax
call fcn.00408f20
mov ecx, dword [edi + 0x230]
add esp, 0xc
test ecx, ecx
je 0x4bb178
mov al, byte [ecx + 0x1fc]
test al, al
je 0x4bb178
mov esi, dword [ecx + 0x1c4]
lea ebx, [ecx + 0x1c0]
mov eax, dword [ebx]
mov ecx, esi
sub ecx, eax
cmp ecx, 4
jb 0x4bb178
sar ecx, 2
xor edx, edx
test ecx, ecx
je 0x4bb178
nop dword [eax]
cmp dword [eax + edx*4], edi
lea ecx, [edx*4]
je 0x4bb16a
mov ecx, esi
inc edx
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jb 0x4bb150
jmp 0x4bb178
add eax, ecx
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004be2f0
mov eax, dword [edi + 0x22c]
test eax, eax
je 0x4bb1b0
mov dword [edi + 0x22c], 0
cmp eax, 3
jne 0x4bb1a6
mov ecx, dword [edi + 0x230]
test ecx, ecx
je 0x4bb1a6
push 0
push 0
push 0
call fcn.004b86a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd4]
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4bb1f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4bb1f0
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4bb1f2
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a055
mov esp, ebp
pop ebp
ret
Function at 0x4bfdf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x140]
test eax, eax
je 0x4bfe51
cmp dword [ebp + 8], 0
jne 0x4bfe18
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0xe0]
cmp eax, vtable.CXLayerEdit.0
jne 0x4bfe58
cmp dword [esi + 0x84], 0
je 0x4bfe51
cmp dword [esi + 0x88], 0
jne 0x4bfe40
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x140]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
call edx
test eax, eax
je 0x4bfe51
jmp 0x4bfe40

Function at 0x4c8800
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x5a7074]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x180], 0
je 0x4c88f6
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004816d0
mov ecx, dword [esi + 0x184]
mov eax, 0
mov edx, dword [esp + 0x1c]
sub ecx, edx
add ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
cmovs ecx, eax
mov eax, dword [esi + 0x164]
sub eax, dword [esi + 0x16c]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x4c888c
mov ecx, edi
sub ecx, dword [esi + 0x16c]
sub ecx, edx
add ecx, dword [esi + 0x164]
mov eax, dword [esi + 0x178]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x4c88a2
mov dword [esi + 0x178], ecx
jmp 0x4c88d0
mov eax, dword [esi + 0x164]
sub eax, dword [esi + 0x16c]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x174]
jne 0x4c88c2
sub eax, edi
add eax, edx
jmp 0x4c88ca
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x178], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x164]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.004c8b20
test eax, eax
je 0x4c8948
cmp dword [esi + 0x150], 1
je 0x4c8965
mov dword [esi + 0x150], 1
jmp 0x4c895b
cmp dword [esi + 0x150], 0
je 0x4c8965
mov dword [esi + 0x150], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d10f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d358
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5a7074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5bfdc8]
test eax, eax
je 0x4d113f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d113f
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0053ce46
add esp, 4
call fcn.0053ce25
mov esi, eax
call fcn.0040e640
mov ecx, eax
test ecx, ecx
jne 0x4d116a
push 0x80004005
call fcn.0040e1d0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d117f
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d1181
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00408f20
mov esi, dword [ebp - 0x10]
add esp, 8
push esi
push ecx
mov ecx, 0x5bfdd0
call fcn.0047f080
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.005111c0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5bfdd0
mov dword [ebp - 0x38], 0x4d10d0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5bfdc8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d126d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d126b
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d6cd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4d6cf8
call fcn.004d6e20
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d6d17
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050a055
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.004e6080
test eax, eax
je 0x4d6d03
push esi
lea eax, [ebp - 0x210]
push 0x589a34
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4d6d7c
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d6d7c
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d6df5
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x210]
call fcn.004d7410
test eax, eax
je 0x4d6df5
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x4d6df5
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x220]
jne 0x4d6df5
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x4d6df5
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x230]
jne 0x4d6df5
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.004e67c0
test al, al
jne 0x4d6e05
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.004d7010
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050a055
mov esp, ebp
pop ebp
ret 8

Function at 0x4d6ec0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x4d6ed1
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.00539827
push esi
call fcn.00539e5d
push 0
push 0
push esi
mov dword [edi], eax
call fcn.00539827
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x4d6ecc
push ebx
push eax
call fcn.0052b94b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d6f1e
push esi
push 1
push dword [edi]
push ebx
call fcn.0053a078
push 0
push 0
push esi
call fcn.00539827
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret