joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f790
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d0c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x46f839
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x46f839
push edi
call esi
test eax, eax
je 0x46f839
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46f7f0
push edi
call ebx
test eax, eax
jne 0x46f839
lea ecx, [ebp - 0x10]
call fcn.00404f80
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x5a1eec
push eax
call fcn.0041f560
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
lea ecx, [ebp - 0x10]
call fcn.00404e00
mov eax, 1
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 0x4709d0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d300
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x470a1e
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x470a33
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x470a35
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x470b3b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x470b3b
push 0x59de0c
lea ecx, [ebp - 0x10]
call fcn.0041be80
mov byte [ebp - 4], 1
push 0
push dword [ebx]
mov dword [ebp - 0x20], 0x34
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x470abb
add esi, 0xfffffff0
push esi
call fcn.00405650
add esp, 4
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [edi], eax
call fcn.00404e00
lea ecx, [ebp - 0x14]
call fcn.00404e00
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
push eax
call fcn.0051b289
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x470a86
mov eax, dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x18]
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x470b1f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x5a023c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x470b1f
mov ecx, dword [ebp - 0x24]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.0041f560
add esp, 0x18
push 1
push ebx
call fcn.0051a57b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 0xc
jmp 0x470a92
add esi, 0xfffffff0
push esi
call fcn.00405650
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x470b9f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x470b9d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x470b9d
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
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
call edx
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 0x470d40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5c4104]
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
mov dword [ebp - 0x21c], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test ebx, ebx
je 0x470e74
push dword [ebp - 0x220]
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004217b0
mov eax, dword [edi]
lea esi, [ebp - 0x218]
add esp, 8
mov dword [edi + 4], eax
cmp word [ebp - 0x218], 0
je 0x470e6f
mov eax, esi
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
cmp eax, ebx
jae 0x470e6f
push esi
lea ecx, [ebp - 0x220]
call fcn.00404e80
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0043dec0
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 4], 0xffffffff
lea esi, [esi + ecx*2]
lea ecx, [eax - 0x10]
add esi, 2
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x470e65
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x470e5b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x470e5b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x470e5f
mov ecx, edx
call edi
mov edi, dword [ebp - 0x21c]
cmp word [esi], 0
jne 0x470dd5
mov eax, 1
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.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x470e90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x470ebc
push 0x5a1fa8
push eax
call fcn.0051ef2a
add esp, 8
test eax, eax
je 0x470ebc
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
je 0x470eeb
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x470f77
push 0x5a0b34
push eax
call fcn.0051ef2a
add esp, 8
test eax, eax
je 0x470f77
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
jne 0x470f77
push edi
xorps xmm0, xmm0
lea eax, [ebp - 4]
push 3
push eax
mov ecx, esi
movq qword [ebp - 0xc], xmm0
movq qword [ebp - 0x14], xmm0
call fcn.00404a00
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 4]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x470f56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x470f7e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x470f7e
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
pop edi
je 0x470f77
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x470f6d
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call esi
jmp 0x470f56
Function at 0x478280
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 0x47829e
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.0043ddc0
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [edi]
mov dword [edi + 4], eax
call fcn.00478400
test edx, edx
jne 0x4782d4
test eax, eax
je 0x4782dc
push eax
mov ecx, edi
call fcn.0043ddc0
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 0x478312
cmp dword [ecx], 0
je 0x478312
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 0x4783cf
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4783e4
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 0x478376
ja 0x478368
cmp ebx, edx
jbe 0x478376
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.0043ddc0
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.0051e850
add esp, 0xc
add esi, dword [ebp - 4]
adc dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x4783a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jae 0x4783cf
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 0x478345
lea ecx, [ebp - 0x24]
xor esi, esi
call fcn.0043e490
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.0043e490
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47b720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e009
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5c4104]
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.0047e6a0
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 4], edi
mov dword [edi + 0x10], 0
call fcn.0047e8a0
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 0x47b7bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x47b7b3
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x47b7bb
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.0047d9b0
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.0047edd0
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 8]
mov dword [eax + 0x14], 0x47bf10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x548
push eax
call fcn.0047edd0
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [eax + 0x14], 0x47bf10
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.0047c630
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 0x47c570
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 0x47c610
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x47c59a
mov eax, dword [edi + 0x30]
push eax
push 0
mov ecx, edi
call fcn.0047ccf0
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x47c5ee
test esi, esi
js 0x47c619
cmp esi, dword [edi + 0xc]
jge 0x47c619
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 0x47c5e0
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 0x47c5b2
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 0x47e8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x5c4104]
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 0x47e97f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0051edd0
push 0x800
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x30
push 0
push eax
mov dword [esp + 0x34], 0x400000
call fcn.0051edd0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x5a2324
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.0044ec60
add esp, 0x10
mov dword [esp + 0x10], 0x47ecb0
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 0x47e997
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.0051ac8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x480ac0
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x480c8a
push 0x5c78c0
push 0x100
call fcn.0051ac69
xor ebx, ebx
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x34], ebx
test eax, eax
je 0x480b26
mov ebx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x480b3b
mov esi, dword [edi + 4]
sub esi, dword [edi]
jmp 0x480b3d
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.00478400
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x480b5c
test eax, eax
je 0x480b68
test edi, edi
je 0x480b68
push eax
mov ecx, edi
call fcn.0043ddc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x100
push ebx
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x480c60
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x480c83
test edi, edi
je 0x480bef
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x18], esi
adc eax, dword [ebp - 0x1c]
test eax, eax
jb 0x480bda
ja 0x480bcc
cmp dword [ebp - 0x18], edx
jbe 0x480bda
lea eax, [esi + ecx]
mov ecx, edi
push eax
call fcn.0043ddc0
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, esi
push ebx
push eax
call fcn.0051e850
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add esi, ecx
adc eax, 0
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x480c1b
push ecx
push eax
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call edx
add esp, 0x24
test eax, eax
je 0x480c60
cmp dword [ebp + 0x18], 0xffffffff
je 0x480c2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x480c60
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x480ba2
xor esi, esi
test ebx, ebx
je 0x480c6f
push ebx
call fcn.0051acc9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x480c62
xor eax, eax
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 0x480ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e318
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x480d96
test esi, esi
je 0x480d96
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00480910
test eax, eax
je 0x480d58
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x480d58
mov ecx, ebx
call fcn.00477fd0
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
cmp edx, 3
je 0x480d2d
cmp edx, 4
je 0x480d58
cmp edx, 5
je 0x480d58
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x480d3d
lea eax, [ebp - 0x18]
push eax
call fcn.004810c0
push dword [ebp + 0x18]
mov edx, ebx
push ecx
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
push esi
call fcn.00480db0
add esp, 0x14
mov ebx, eax
jmp 0x480d5a
xor ebx, ebx
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x480d82
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x480d82
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x480d82
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
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 0x4824c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e5a6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c4104]
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 0x482507
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x48251c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x48251e
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 0x482540
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x482555
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x482557
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.00484a70
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 [0x5caaa4]
cmp eax, dword [ecx + 4]
jle 0x4825ff
push 0x5caaa4
call fcn.0051ab13
add esp, 4
cmp dword [0x5caaa4], 0xffffffff
jne 0x4825ff
push 0x587f40
mov dword [0x5c4cc8], 0x64
mov dword [0x5c4ccc], 0x64
mov byte [0x5c4cd0], 0
call fcn.0051a968
push 0x5caaa4
call fcn.0051aad4
add esp, 8
mov dword [edi + 0x30], 0x5c4cc8
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x482d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493ba0
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 0x493d08
mov eax, dword [eax + 0x9c]
cmp eax, method.CPageInstalling.virtual_156
jne 0x493c06
cmp dword [esi + 0x44], 0
jne 0x493c01
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x493c01
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
jmp 0x493c0a
mov ecx, esi
call eax
test eax, eax
je 0x493c16
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x38]
jmp 0x493c18
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 0x493cf0
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 0x493cbb
mov eax, dword [esi + 0x164]
cmp dword [eax + edi + 0x20], 0
je 0x493cbb
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 0x493ceb
mov ebx, dword [esp + 0x10]
jmp 0x493c70
cmp dword [ebx], 0
jne 0x493cfd
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 0x493c18