joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477340
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
test ebx, ebx
jne 0x47735e
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0043ef80
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [edi]
mov dword [edi + 4], eax
call fcn.004774c0
test edx, edx
jne 0x477394
test eax, eax
je 0x47739c
push eax
mov ecx, edi
call fcn.0043ef80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 8], eax
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
je 0x4773d2
cmp dword [ecx], 0
je 0x4773d2
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 4]
push ecx
push ebx
mov ebx, dword [ebp - 0x24]
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x47748f
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4774a4
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov ebx, ecx
add ebx, esi
adc eax, dword [ebp + 8]
test eax, eax
jb 0x477436
ja 0x477428
cmp ebx, edx
jbe 0x477436
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.0043ef80
mov ecx, dword [ebp - 4]
mov eax, dword [edi]
mov ebx, dword [ebp - 0x24]
add eax, esi
push ecx
push ebx
push eax
call fcn.00523ac0
add esp, 0xc
add esi, dword [ebp - 4]
adc dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x477463
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x47748f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x10]
push ebx
mov dword [ebp - 0xc], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x477405
lea ecx, [ebp - 0x24]
xor esi, esi
call fcn.0041d110
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x24]
mov esi, 1
call fcn.0041d110
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47a6b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5832b9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5ca104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CMessageCallbackSink_class_CHttpDownloader_.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047d620
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 4], edi
mov dword [edi + 0x10], 0
call fcn.0047d820
lea eax, [edi + 0x14]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x47a74b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x47a743
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x47a74b
push eax
call fcn.004071e0
mov byte [ebp - 4], 1
lea esi, [edi + 0x2c]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047c930
mov dword [esi], eax
mov dword [edi + 0x34], vtable.ATL::CThreadPool_class_CHttpDownloader::CDownloadWorker__class_ATL::CRTThreadTraits__class_ATL::Win32WaitTraits_.0
xorps xmm0, xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
movups xmmword [edi + 0x48], xmm0
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0x8ca0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov dword [edi + 0x78], 0
push eax
lea ecx, [edi + 8]
mov dword [ebp - 0x10], 0x547
call fcn.0047dd50
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 8]
mov dword [eax + 0x14], 0x47aea0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x548
push eax
call fcn.0047dd50
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [eax + 0x14], 0x47aea0
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x2c]
mov ecx, 1
test eax, eax
cmove eax, ecx
sub esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [edi + 0x34]
add eax, 2
push eax
push edi
call fcn.0047b5c0
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 0x47b500
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x47b5a0
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x47b52a
mov eax, dword [edi + 0x30]
push eax
push 0
mov ecx, edi
call fcn.0047bc70
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x47b57e
test esi, esi
js 0x47b5a9
cmp esi, dword [edi + 0xc]
jge 0x47b5a9
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x47b570
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub esi, 1
jns 0x47b542
push dword [edi + 0x40]
call ebx
lea esi, [edi + 0x14]
mov dword [edi + 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x47d820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x5ca104]
xor eax, esp
mov dword [esp + 0x838], eax
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47d8ff
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00524040
push 0x800
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x30
push 0
push eax
mov dword [esp + 0x34], 0x400000
call fcn.00524040
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Q360SoftMgrMsgDelegateWnd_d
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.0044f880
add esp, 0x10
mov dword [esp + 0x10], 0x47dc30
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d917
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0051fefc
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0051fefc
mov esp, ebp
pop ebp
ret
Function at 0x4847e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583d96
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ca104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x484827
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x48483c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x48483e
call edx
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x484860
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x484875
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x484877
call edx
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00486d90
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x5d0a94]
cmp eax, dword [ecx + 4]
jle 0x48491f
push 0x5d0a94
call fcn.0051fd81
add esp, 4
cmp dword [0x5d0a94], 0xffffffff
jne 0x48491f
push 0x58dd70
mov dword [0x5cacc8], 0x64
mov dword [0x5caccc], 0x64
mov byte [0x5cacd0], 0
call fcn.0051fbd6
push 0x5d0a94
call fcn.0051fd42
add esp, 8
mov dword [edi + 0x30], 0x5cacc8
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x485080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x497570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
cmp eax, vtable.CXStatic.0
jne 0x4976d8
mov eax, dword [eax + 0x9c]
cmp eax, method.CPageInstalling.virtual_156
jne 0x4975d6
cmp dword [esi + 0x44], 0
jne 0x4975d1
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4975d1
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
jmp 0x4975da
mov ecx, esi
call eax
test eax, eax
je 0x4975e6
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x38]
jmp 0x4975e8
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
xor ecx, ecx
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x168]
sub ecx, dword [esi + 0x164]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4976c0
xor edi, edi
nop
mov eax, dword [esi + 0x164]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x49768b
mov eax, dword [esi + 0x164]
cmp dword [eax + edi + 0x20], 0
je 0x49768b
push 1
mov dword [ebx], 1
mov eax, dword [esi + 0x164]
push 0
push 0
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x168]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x164]
add edi, 0x2c
inc dword [esp + 0xc]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc], eax
jae 0x4976bb
mov ebx, dword [esp + 0x10]
jmp 0x497640
cmp dword [ebx], 0
jne 0x4976cd
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call edx
jmp 0x4975e8
Function at 0x4a14d0
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 0x4a164b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x4a1548
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 0x4a162c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x4a162c
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 0x4a164b
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.0049c400
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x4a1637
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 0x4a72d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4a72ea
mov eax, dword [ecx]
push edi
call dword [eax + 0x104]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x4a735d
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4a735d
test edi, edi
je 0x4a731d
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, eax
test ebx, ebx
je 0x4a735c
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a735c
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a735c
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4a7370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ca104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4a7393
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x4a7449
cmp dword [esi + 0xe0], 0
je 0x4a7449
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a7425
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a7425
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a7449
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.004ab4c0
jmp 0x4a7449
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a7449
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
cmp eax, method.CMainFrame.virtual_88
jne 0x4a746b
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
call fcn.0051fefc
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call eax
jmp 0x4a7455
Function at 0x4b96b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5868c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x5ca104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5cf93c]
test eax, eax
je 0x4b9701
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b9701
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00558647
add esp, 4
call fcn.00558626
mov esi, eax
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4b972c
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b9741
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4b9743
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.00420660
mov esi, dword [ebp - 0x10]
mov ecx, 0x5cf940
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4b9791
movzx eax, word [edi + ecx]
test ax, ax
je 0x4b9791
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4b9773
lea eax, [ecx - 2]
mov dword [ebp - 0x40], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
call fcn.00524040
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5cf940
mov dword [ebp - 0x38], 0x4b9690
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 [0x5cf93c], 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 0x4b9868
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b9866
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4b9866
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
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 edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c27f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x2c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x30
push 0
push eax
call fcn.00524040
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
call fcn.004c2fe0
test eax, eax
mov dword [ebp - 0x28], 0x4c2480
mov ecx, 0x5cfbf0
cmove ecx, dword [ebp - 8]
push 0
mov dword [ebp - 8], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x1c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x5a99e4
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5cfbe4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x5cff7c]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5cff78]
imul ecx
mov dword [0x5caa94], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c28bd
push 0
push 0x32
push 1
push dword [0x5cfbe4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5caa94], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4c81b0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587758
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ca104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or ebx, 0xffffffff
cmp dword [0x5cacc4], ebx
jne 0x4c8240
push ecx
mov edx, 0x5a8060
lea ecx, [ebp - 0x10]
call fcn.00436af0
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov dword [0x5cacc4], eax
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c8240
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c823c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c823c
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c8240
mov ecx, edx
call esi
cmp dword [0x5cacc4], 1
mov edi, dword [ebp + 8]
jne 0x4c82e6
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4c8265
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c827a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4c827c
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str.ClientText:_s
push eax
call fcn.00420660
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4c82e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c82e4
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c82e4
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c82e6
call edx
mov esi, dword [0x5cffb0]
test esi, esi
je 0x4c8375
mov ebx, dword [0x5cffb8]
test ebx, ebx
je 0x4c8375
cmp ebx, esi
je 0x4c8375
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4c8310
mov ecx, edi
call fcn.004c8fd0
mov dword [ebp + 8], eax
lea ecx, [esi + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004c95a0
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x4c8375
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4c835e
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.004c9550
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 8]
je 0x4c8375
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x14]
push esi
lea ecx, [ecx + 8]
call fcn.004c96f0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
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 8