joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e090
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b059
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea esi, [edi + 8]
mov dword [edi], vtable.CMessageCallbackSink_class_CHttpDownloader_.0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004339d0
mov dword [esi], eax
mov ecx, edi
mov dword [edi + 4], edi
mov dword [edi + 0x10], 0
call fcn.0048fad0
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 0x48e13f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x48e137
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x48e13f
push eax
call fcn.00403d40
mov byte [ebp - 4], 1
lea esi, [edi + 0x2c]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004339d0
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 - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x20]
mov dword [edi + 0x78], 0
push eax
lea ecx, [edi + 8]
mov dword [ebp - 0x14], 0x547
call fcn.0048fcc0
mov eax, dword [ebp - 0x20]
lea ecx, [edi + 8]
mov dword [eax + 0x14], 0x48e5f0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x548
push eax
call fcn.0048fcc0
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [eax + 0x14], 0x48e5f0
lea eax, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x30]
mov ecx, 1
test eax, eax
cmove eax, ecx
sub esp, 8
mov dword [ebp - 0x30], eax
lea ecx, [edi + 0x34]
add eax, 2
push eax
push edi
call fcn.0048eca0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x48ebe0
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 0x48ec7e
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x30]
mov ecx, edi
push 0
call fcn.0048f160
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x48ec5c
nop word [eax + eax]
test esi, esi
js 0x48ec87
cmp esi, dword [edi + 0xc]
jge 0x48ec87
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 0x48ec4e
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 0x48ec20
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 0x48fad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x6b1a94]
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 0x48fbaf
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.005e27b0
push 0x800
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x30
push 0
push eax
mov dword [esp + 0x34], 0x400000
call fcn.005e27b0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x682718
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.00485d10
add esp, 0x10
mov dword [esp + 0x10], 0x48fc70
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 0x48fbc7
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.005c8db3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
Function at 0x490bf0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.005c98e0
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x490d56
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00490760
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x490d39
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.005e27b0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x490d2e
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.005e27b0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.00495450
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
push SysReAllocString
push eax
push ecx
mov ecx, dword [ebp - 0x2d10]
call fcn.0047f780
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x490d43
inc esi
cmp esi, 0x10
jl 0x490c20
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
Function at 0x491020
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x4911f3
push ebx
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.005e27b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x4911c2
push edi
xor esi, esi
mov dword [ebp - 0x4e4], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4911b3
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call ebx
test eax, eax
jne 0x49117d
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x491175
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.005e27b0
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.00490f00
add esp, 4
test eax, eax
je 0x491175
cmp byte [ebp - 0x68], 0
je 0x49115b
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x491175
push SysReAllocString
lea eax, [ebp - 0xcc]
mov edx, 0x64
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.0047f780
push dword [ebp - 0x4e8]
call edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc esi
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4910b4
push dword [ebp - 0x4e0]
call edi
mov esi, dword [ebp - 0x4f4]
pop edi
cmp byte [ebp - 0x68], 0
pop ebx
je 0x4911f3
push SysReAllocString
lea eax, [ebp - 0x68]
mov edx, 0x64
push eax
push ecx
mov ecx, esi
call fcn.0047f780
not eax
shr eax, 0x1f
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
Function at 0x491ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b3de
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6b1a94]
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 ebx, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.004924c0
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49206a
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.00478b00
mov eax, dword [ebp - 0x70]
test al, al
je 0x4920ac
cmp al, 7
je 0x4920ac
lea ecx, [ebp - 0x78]
call fcn.00479d90
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49208e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.005c8db3
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0047a3f0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.004937f0
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub eax, edi
sar eax, 2
cmp eax, 3
jb 0x49212f
mov ecx, dword [edi]
cmp ecx, 0x7d0
jb 0x49212f
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x49212f
cmp eax, 0xc
ja 0x49212f
mov eax, dword [edi + 8]
cmp eax, 1
jb 0x49212f
cmp eax, 0x1f
ja 0x49212f
sub esp, 0x10
push eax
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00474960
mov ecx, dword [eax]
mov dword [ebx + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.00474940
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.004949f0
test eax, eax
je 0x49214c
mov esi, dword [eax + 0xc]
jmp 0x49214e
xor esi, esi
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebx + 0x3c]
call fcn.004949f0
test eax, eax
je 0x492163
mov eax, dword [eax + 0xc]
jmp 0x492165
xor eax, eax
cmp esi, eax
je 0x4921a1
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x34]
mov eax, dword [ebx + 0x34]
push dword [eax + 4]
call fcn.00454b20
mov eax, dword [ebx + 0x34]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [eax], eax
mov eax, dword [ebx + 0x34]
mov dword [eax + 8], eax
mov dword [ebx + 0x38], 0
jmp 0x4921b9
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.0047a3f0
lea edx, [ebx + 0x34]
mov ecx, eax
call fcn.00493990
test edi, edi
je 0x4921cc
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.0040cc60
lea ecx, [ebp - 0x78]
call fcn.00479d90
mov esi, 1
jmp 0x49206c
Function at 0x492ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b568
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005e27b0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x44]
push 0x104
push eax
push 0x681674
push dword [ebp + 8]
push str.dllrepairOfficial
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x492c55
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x492c30
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00407780
mov esi, 1
jmp 0x492c57
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x492c79
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 8

Function at 0x4941f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x49428f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.005e27b0
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x400000
mov dword [esp + 0x30], str.Q360SoftMgrTimerWnd
mov dword [esp + 0x10], 0x494310
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 0x494299
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 esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x494df0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], ecx
test esi, esi
je 0x494fcd
push 0x6c1464
push 0x100
call fcn.005c93dc
xor ecx, ecx
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
add esp, 8
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x494e56
mov ecx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x494e6b
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x494e6d
xor ebx, ebx
push 5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0
push eax
mov ecx, esi
call fcn.0048c8a0
mov esi, dword [ebp - 0x24]
push 0xa
push 0
push esi
call fcn.005f5b82
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x494eb2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0
ja 0x494ebc
test eax, eax
je 0x494ec8
test edi, edi
je 0x494ec8
push eax
mov ecx, edi
call fcn.0046d3e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x30]
push ecx
push 0x100
mov eax, dword [eax + 0x10]
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x494fa3
nop
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x494fc6
test edi, edi
je 0x494f4a
mov edx, dword [edi + 4]
xor eax, eax
sub edx, dword [edi]
mov dword [ebp - 0x14], ecx
add dword [ebp - 0x14], ebx
adc eax, dword [ebp - 0x18]
test eax, eax
jb 0x494f38
ja 0x494f2a
cmp dword [ebp - 0x14], edx
jbe 0x494f38
lea eax, [ebx + ecx]
mov ecx, edi
push eax
call fcn.0046d3e0
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
push ecx
add eax, ebx
push esi
push eax
call fcn.005e2230
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ebp - 0x18]
add ebx, ecx
push ecx
adc eax, 0
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call fcn.0048e9a0
add esp, 0x24
test eax, eax
je 0x494fa3
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
push 0x100
push esi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x494f00
xor edi, edi
test esi, esi
je 0x494fb2
push esi
call fcn.005c93ce
add esp, 4
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
mov edi, 1
jmp 0x494fa5
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 0x494ff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b80a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
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 - 0x1c], ecx
test ecx, ecx
je 0x49515f
test eax, eax
je 0x49515f
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00494bb0
mov edi, dword [ebp - 0x20]
or ebx, 0xffffffff
test eax, eax
je 0x495120
mov ecx, dword [ebp - 0x24]
test ecx, ecx
setne al
test al, al
je 0x495120
push 0x13
lea eax, [ebp - 0x18]
push eax
call fcn.0048c8a0
mov esi, dword [ebp - 0x18]
push esi
call fcn.005e66b8
add esp, 4
mov dword [ebp - 0x18], eax
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49509c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 0x51eb851f
mul dword [ebp - 0x18]
shr edx, 5
cmp edx, 3
je 0x4950bf
cmp edx, 4
je 0x495120
cmp edx, 5
je 0x495120
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x495104
test edi, edi
je 0x4950ce
lock inc dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], edi
mov dword [eax], ecx
mov byte [ebp - 4], 2
test esi, esi
je 0x495100
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x495100
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x495100
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
sub esp, 8
push dword [ebp + 0xc]
push ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.00495180
add esp, 0x14
mov esi, eax
jmp 0x495122
xor esi, esi
mov dword [ebp - 4], 3
test edi, edi
je 0x49514b
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x49514b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x49514b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 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
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 0x497e40
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 0x497e5a
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 0x497ecd
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x497ecd
test edi, edi
je 0x497e8d
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 0x497ecc
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x497ecc
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x497ecc
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 0x497ee0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6b1a94]
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 0x497f03
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x497fb9
cmp dword [esi + 0xe0], 0
je 0x497fb9
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x497f95
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x497f95
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x497fb9
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.004071e0
jmp 0x497fb9
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x497fb9
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10