joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x4724fb
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x4723f8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x4724dc
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x4724dc
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4724fb
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.0046d080
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x4724e7
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482b30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x482b59
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18c], 1
push eax
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482bad
test dx, dx
je 0x482ba9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482bad
add eax, 4
add ecx, 4
test dx, dx
jne 0x482b87
xor eax, eax
jmp 0x482bb2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482bcd
push 0x5894e4
push dword [esi + 0x16c]
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
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.0050f7b9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x484940
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 0x4849bc
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 0x484975
push edi
mov ecx, esi
call fcn.00409225
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 0x48499d
mov ecx, dword [esi]
test ecx, ecx
je 0x4849a1
push dword [ecx - 8]
push ecx
call fcn.0053e88d
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4849bc
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4849bc
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.0040b4a2
int3
Function at 0x48ed30
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5b3074]
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 + 0x1a0], 0
push eax
je 0x48ee2a
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004636c0
mov ecx, dword [esi + 0x1a4]
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 + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x48edc0
mov ecx, dword [esi + 0x188]
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x198]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x48edd6
mov dword [esi + 0x198], ecx
jmp 0x48ee04
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x194]
jne 0x48edf6
sub eax, edi
add eax, edx
jmp 0x48edfe
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x198], 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.0050f7b9
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 + 0x184]
movaps xmmword [esp + 0x34], xmm0
call fcn.004636c0
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 0x48eec6
cmp dword [ecx + 0x170], 1
je 0x48eee1
mov dword [ecx + 0x170], 1
jmp 0x48eed9
cmp dword [ecx + 0x170], 0
je 0x48eee1
mov dword [ecx + 0x170], 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x494810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00463760
mov eax, dword [esi]
mov eax, dword [eax + 0xd8]
cmp eax, method.CXStatic.virtual_216
jne 0x4948a9
cmp dword [esi + 0x84], 0
je 0x49483f
cmp dword [esi + 0x88], 0
jne 0x494864
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x4948b9
mov eax, dword [esi + 0x160]
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 + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x4948b3
mov eax, dword [esi + 0x160]
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 0x49483f
jmp 0x494864
mov ecx, esi
call eax
jmp 0x494889
mov ecx, esi
call eax
jmp 0x494899

Function at 0x4948c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00463820
mov eax, dword [esi]
mov eax, dword [eax + 0xd8]
cmp eax, method.CXStatic.virtual_216
jne 0x494959
cmp dword [esi + 0x84], 0
je 0x4948ef
cmp dword [esi + 0x88], 0
jne 0x494914
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494969
mov eax, dword [esi + 0x160]
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 + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494963
mov eax, dword [esi + 0x160]
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 0x4948ef
jmp 0x494914
mov ecx, esi
call eax
jmp 0x494939
mov ecx, esi
call eax
jmp 0x494949
Function at 0x49c680
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 + 0x258]
test eax, eax
je 0x49c781
cmp byte [eax + 0x220], 0
je 0x49c781
cmp byte [ebp + 0xc], 0
je 0x49c6c5
mov eax, edi
mov dword [ebx + 0x254], eax
mov eax, dword [ebx]
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov esi, dword [eax + 0x1e8]
lea ecx, [eax + 0x1e4]
mov eax, dword [ecx]
sub esi, eax
sar esi, 2
mov dword [ebp + 0xc], ecx
test esi, esi
je 0x49c781
cmp edi, 3
jne 0x49c757
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x49c781
cmp dword [ebx + 0x258], 0
je 0x49c781
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
cmp esi, edi
je 0x49c729
mov ecx, dword [esi]
cmp ecx, ebx
je 0x49c722
push 1
push 0
call fcn.0049c680
add esi, 4
cmp esi, edi
jne 0x49c713
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
push ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.004a0590
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x258]
mov dword [ebx + 0x254], 3
push 1
push ebx
jmp 0x49c7ba
test edi, edi
jne 0x49c781
xor ecx, ecx
test esi, esi
je 0x49c781
mov edx, eax
cmp dword [edx], ebx
je 0x49c771
inc ecx
add edx, 4
cmp ecx, esi
jb 0x49c763
jmp 0x49c781
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0049f9b0
mov eax, dword [ebx + 0x254]
cmp eax, edi
je 0x49c7c9
mov dword [ebx + 0x254], edi
cmp edi, 3
jne 0x49c7a5
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x49c7bf
push 0
push ebx
jmp 0x49c7ba
test edi, edi
jne 0x49c7bf
cmp eax, 3
jne 0x49c7bf
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x49c7bf
push edi
push edi
call fcn.00499d50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x4a1640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4a16a1
cmp dword [ebp + 8], 0
jne 0x4a1668
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 + 0xd8]
cmp eax, vtable.CXLayerEdit.0
jne 0x4a16a8
cmp dword [esi + 0x84], 0
je 0x4a16a1
cmp dword [esi + 0x88], 0
jne 0x4a1690
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x168]
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 0x4a16a1
jmp 0x4a1690
Function at 0x4aad90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x1a4], 0
push eax
je 0x4aae8a
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004636c0
mov ecx, dword [esi + 0x1a8]
mov eax, 0
mov edx, dword [esp + 0x4c]
sub ecx, edx
add ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
cmovs ecx, eax
mov eax, edi
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, dword [esi + 0x188]
cmp ecx, eax
jle 0x4aae20
mov ecx, edi
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, dword [esi + 0x188]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x4aae36
mov dword [esi + 0x19c], ecx
jmp 0x4aae64
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x198]
jne 0x4aae56
sub eax, edi
add eax, edx
jmp 0x4aae5e
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x19c], 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 + 0x54]
xor ecx, esp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, esi
movups xmm0, xmmword [esi + 0x188]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
movaps xmmword [esp + 0x34], xmm0
call fcn.004636c0
movaps xmm1, xmmword [esp + 0x30]
mov edx, dword [esp + 0x20]
movaps xmm0, xmm1
mov edi, dword [esp + 0x24]
push dword [esp + 0x18]
movd ecx, xmm1
push dword [esp + 0x20]
psrldq xmm0, 4
movd esi, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
lea eax, [ecx + edx]
mov dword [esp + 0x54], eax
lea eax, [esi + edi]
mov dword [esp + 0x58], eax
movd eax, xmm0
sub eax, ecx
add eax, edx
mov dword [esp + 0x5c], eax
movd eax, xmm1
sub eax, esi
add eax, edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4aaf38
cmp dword [ecx + 0x174], 1
je 0x4aaf53
mov dword [ecx + 0x174], 1
jmp 0x4aaf4b
cmp dword [ecx + 0x174], 0
je 0x4aaf53
mov dword [ecx + 0x174], 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b3e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571e58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5b3074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5cc9b4]
test eax, eax
je 0x4b3ecf
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b3ecf
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.00540898
add esp, 4
call fcn.00540877
mov esi, eax
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4b3efa
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b3f0f
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4b3f11
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.00418437
mov esi, dword [ebp - 0x10]
add esp, 8
push esi
push ecx
mov ecx, 0x5cc9c0
call fcn.0045a7a0
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.00516940
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5cc9c0
mov dword [ebp - 0x38], 0x4b3e60
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 [0x5cc9b4], 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 0x4b3ffd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b3ffb
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 0x4b74f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4b751f
call fcn.004b7630
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b7542
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.004c50c0
test eax, eax
je 0x4b752a
push esi
lea eax, [esp + 0x2c]
push 0x5914dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4b75a1
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 0x4b75a1
lea eax, [esp + 0x18]
push eax
push 0
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b7600
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.004b7c20
test eax, eax
je 0x4b7600
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x14]
jne 0x4b7600
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jne 0x4b7600
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jne 0x4b7600
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x4b7600
mov ecx, dword [edi + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004c5800
test al, al
jne 0x4b7610
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.004b7820
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret 8

Function at 0x4b76d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x4b76e1
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.0053f2cc
push esi
call fcn.0053f902
push 0
push 0
push esi
mov dword [edi], eax
call fcn.0053f2cc
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x4b76dc
push ebx
push eax
call fcn.0051de33
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b772e
push esi
push 1
push dword [edi]
push ebx
call fcn.0053fb1d
push 0
push 0
push esi
call fcn.0053f2cc
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x4b95a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x4b95c0
cmp dword [edi + 0xc], ebx
je 0x4b962e
cmp dword [edi + 0x10], ebx
je 0x4b962e
cmp dword [edi + 0x14], ebx
je 0x4b962e
pop edi
lea eax, [ebx + 1]
pop ebx
ret
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x4b962e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BeginBufferedPaint
push eax
call esi
push str.BufferedPaintSetAlpha
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.EndBufferedPaint
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.BufferedPaintUnInit
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.BufferedPaintInit
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
pop esi
cmp dword [edi + 0xc], ebx
je 0x4b962e
cmp dword [edi + 0x10], ebx
je 0x4b962e
cmp dword [edi + 0x14], ebx
mov eax, 1
cmovne ebx, eax
pop edi
mov eax, ebx
pop ebx
ret

Function at 0x4b9e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push 0x2c
lea eax, [esp + 8]
mov dword [esp + 4], 0x30
push 0
push eax
call fcn.00516940
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x14], eax
call fcn.004ba5c0
test eax, eax
mov dword [esp + 8], 0x4b9aa0
mov ecx, 0x5ccbd0
cmove ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x18]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x5916d0
push dword [esp + 0x50]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5cc9b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x5dd218]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5dd214]
imul ecx
mov dword [0x5c6ba4], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b9ef9
push 0
push 0x32
push 1
push dword [0x5cc9b8]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5c6ba4], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4be110
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x100]
mov dword [esi], vtable.CAnimateMgr.1.0
push edi
mov dword [esi + 0x34], vtable.CAnimateMgr.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf0]
push edi
mov dword [esi + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4be171
push 0
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xfc], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x4be1b2
mov eax, dword [esi + 0xf8]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.004beba0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.00433b30

Function at 0x4be220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x4be239
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
push ebx
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf4]
lea ecx, [edi + 0xf0]
mov edx, dword [ecx]
cmp edx, eax
je 0x4be26f
nop dword [eax]
cmp dword [edx], esi
je 0x4be26b
add edx, 4
cmp edx, eax
jne 0x4be260
cmp edx, eax
jne 0x4be27b
lea eax, [ebp + 8]
push eax
call fcn.004be5d0
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
pop ebx
cmp eax, vtable.CXAnimation.0
jne 0x4be2b7
cmp dword [edi + 0xfc], 0
jne 0x4be2af
push 0
push 0
push edi
push 0x4be1c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xfc], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, esi
call dword [eax + 4]
jmp 0x4be28c