joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b6500
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a028
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CDrvOperateMgrThread.0
mov dword [ebp - 4], 9
mov eax, dword [esi + 0x1ec]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1f0], eax
mov eax, dword [esi + 0x1f8]
mov dword [esi + 0x1fc], eax
push dword [esi + 0x1e8]
call ebx
push dword [esi + 0x224]
call ebx
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x1f8]
test ecx, ecx
je 0x4b65a6
mov eax, dword [esi + 0x200]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x4b65e4
mov eax, dword [esi + 0x1f4]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], 0
mov byte [ebp - 4], 6
lea edi, [esi + 0x1cc]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4b6601
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4b6617
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x4b665a
mov eax, dword [esi + 0x17c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x100]
call fcn.004b26e0
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc0]
call fcn.004c5880
mov byte [ebp - 4], 2
lea ecx, [esi + 0x84]
call fcn.004cb940
mov byte [ebp - 4], 1
lea ecx, [esi + 0x34]
call fcn.004b5110
mov byte [ebp - 4], 0
lea eax, [esi + 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4b66c6
push eax
call ebx
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4b66d7
push eax
call ebx
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4b66f5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4b66f5
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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 0x4b67d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.CDrvOperateMgrThread::ResetInit
lea ecx, [ebp - 0x2c]
call fcn.00415950
mov dword [ebp - 4], 0
cmp byte [edi + 0x1c1], 0
jne 0x4b6828
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4b6828
push 0x64
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CProgressUI::SetMaxValue_int_]
lea esi, [edi + 0x4c]
mov dword [edi + 0x188], 0
push esi
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x180], 0
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x74]
mov byte [edi + 0x64], 1
mov byte [edi + 0x7c], 0
mov dword [edi + 0x80], 0
call fcn.00425ab0
mov eax, dword [edi + 0x68]
mov dword [edi + 0x6c], eax
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b8], 0
mov byte [edi + 0x1c0], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov word [edi + 0x214], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x1bc], 0x42
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00415860
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4ba710
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a87d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x34], esi
mov ecx, dword [eax]
mov eax, dword [0x621e90]
cmp eax, dword [ecx + 4]
jle 0x4ba7b0
push 0x621e90
call fcn.00512275
add esp, 4
cmp dword [0x621e90], 0xffffffff
jne 0x4ba7b0
mov dword [ebp - 4], 1
xor eax, eax
push 0x577660
mov dword [0x621ea8], 7
mov dword [0x621ea4], 0
mov word [0x621e94], ax
call fcn.005125cc
mov byte [ebp - 4], 0
push 0x621e90
call fcn.00512236
add esp, 8
cmp dword [0x621ea4], 0
jne 0x4ba884
lea ecx, [ebp - 0x2c]
call fcn.0040e350
mov edi, eax
mov dword [ebp - 4], 2
cmp edi, 0x621e94
je 0x4ba819
mov eax, dword [0x621ea8]
cmp eax, 8
jb 0x4ba7f2
inc eax
mov ecx, 0x621e94
push eax
push dword [0x621e94]
call fcn.00404be0
xor eax, eax
mov dword [0x621ea8], 7
push edi
mov ecx, 0x621e94
mov dword [0x621ea4], 0
mov word [0x621e94], ax
call fcn.00407af0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4ba832
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404be0
push 0xd
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x5c0d40
mov ecx, 0x621e94
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00406f60
cmp dword [0x621ea8], 8
mov eax, 0x621e94
push 0
cmovae eax, dword [0x621e94]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xf
push str.drvprotect.ini
mov ecx, 0x621e94
call fcn.00406f60
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x621e94
mov word [esi], ax
call fcn.004048d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x4bb5e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ab86
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CDrvQueryThread.0
mov dword [ebp - 4], 2
push dword [esi + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [esi + 0x48]
call ebx
mov byte [ebp - 4], 1
lea edi, [esi + 0x4c]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4bb644
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4bb65a
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], al
lea ecx, [esi + 0x38]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], al
call fcn.004be1e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4bb68e
push eax
call ebx
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4bb69f
push eax
call ebx
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4bb6bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4bb6bd
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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 0x4bee90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b367
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
push 0
push 1
push 0
mov dword [esi], vtable.base_thread.0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CExterAppMgrThread.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov byte [ebp - 4], 4
lea eax, [esi + 0x54]
push 0x7d0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 6
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4befa0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b3d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CExterAppMgrThread.0
mov dword [ebp - 4], 4
lea eax, [esi + 0x54]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4bf018
mov eax, dword [esi + 0x48]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4bf047
mov eax, dword [esi + 0x3c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4bf076
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4bf0a5
mov eax, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4bf0c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4bf0dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4bf0fa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4bf0fa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c2bd0
Capabilities:
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ba58
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x61308c]
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 dword [ebp - 0x58], 0x5d6a40
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0x14
push str.http:__int.qudong.drivethelife.com_api_externalapp_v3
call fcn.004379f0
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4c2d4d
mov edi, dword [ebp - 0x44]
test edi, edi
jle 0x4c2d4d
mov edx, edi
mov ecx, esi
call fcn.004c2b40
test al, al
je 0x4c2d4d
lea eax, [ebp - 0x28]
push eax
call fcn.004c2db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push str.externalappTemp.xml
call fcn.00406ce0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5c20b0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0052e763
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4c2ce8
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._wfopen_file__S__failed_code:_d
push 0x61b
push str.ThreadExterAppMgr.cpp
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x1c
jmp 0x4c2d41
push ebx
push edi
push 1
push esi
call fcn.0052edd8
push ebx
call fcn.0052e84e
add esp, 0x14
lea eax, [ebp - 0x40]
push eax
call fcn.004c2db0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push str.externalapp.xml
call fcn.00406ce0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00404780
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404780
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4c2d64
push eax
call fcn.00536315
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4c2d90
push eax
call dword [sym.imp.libcurl_vs2015.dll_curl_easy_cleanup]
add esp, 4
call dword [sym.imp.libcurl_vs2015.dll_curl_global_cleanup]
mov dword [ebp - 0x54], 0
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4c3d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bbbe
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x61308c]
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 dword [ebp - 0x5c], 0x5d6a40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x5c]
push 0x14
push str.http:__int.qudong.drivethelife.com_api_gamelist_component_v3
call fcn.004379f0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4c3ecc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3d82
sub ecx, edx
je 0x4c3ecc
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c3d96
sub esi, ecx
cmp dword [0x61e7e8], 0
jne 0x4c3dc9
push 0x68
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.0043f680
mov byte [ebp - 4], 2
mov dword [0x61e7e8], eax
push esi
push edi
call fcn.0041b270
test al, al
jne 0x4c3de8
call fcn.0045ce90
push esi
push edi
call fcn.0041b4b0
test al, al
je 0x4c3e9b
lea eax, [ebp - 0x40]
push eax
call fcn.004c3f30
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
xor eax, eax
lea ebx, [ebp - 0x28]
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x40]
push eax
call fcn.004048d0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.0040d9d0
cmp dword [ebp - 0x14], 0x10
mov eax, ebx
push 0x5c2168
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0052e7c1
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x4c3e83
push ebx
push esi
push 1
push edi
call fcn.0052edd8
push ebx
call fcn.0052e84e
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00409410
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404780
mov eax, dword [0x61e7e8]
test eax, eax
jne 0x4c3ec5
push 0x68
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.0043f680
mov byte [ebp - 4], 2
mov dword [0x61e7e8], eax
mov ecx, eax
call fcn.004407c0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4c3ee3
push eax
call fcn.00536315
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4c3f0f
push eax
call dword [sym.imp.libcurl_vs2015.dll_curl_easy_cleanup]
add esp, 4
call dword [sym.imp.libcurl_vs2015.dll_curl_global_cleanup]
mov dword [ebp - 0x58], 0
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4c4c00
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56be13
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x61308c]
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.004c46f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0044d7e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4c77
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebx + 0x18]
cmp edi, dword [ebx + 0x1c]
je 0x4c4d3d
lea eax, [ebp - 0xc4]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
push 0
push 0
push 0x5c2240
lea ecx, [ebp - 0xc0]
call fcn.00473fa0
push ecx
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
push 0x5c2258
push dword [ebp - 0x8c]
call fcn.004730a0
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0x14]
je 0x4c4d04
nop word [eax + eax]
push dword [esi]
lea eax, [ebp - 0x44]
push 0x5aa170
push eax
call fcn.00415840
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xc0]
push 0x4000
push eax
push 0x5c2264
call fcn.00473fa0
add esi, 4
cmp esi, dword [edi + 0x14]
jne 0x4c4cd0
push dword [edi + 0x1c]
lea eax, [ebp - 0x44]
push 0x5aa170
push eax
call fcn.00415840
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xc0]
push 0x4000
push eax
push 0x5c227c
call fcn.00473fa0
add edi, 0x20
cmp edi, dword [ebx + 0x1c]
jne 0x4c4c83
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
lea edx, [ebp - 0xa8]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00470580
add esp, 8
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0044d5a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4c4d8e
inc ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov al, bl
mov dword [ebp - 0x4c], 0
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.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4c57b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bfd6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
push 1
push 0
mov dword [edi], vtable.base_thread.0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x18]
push 0x7d0
push eax
mov dword [edi], vtable.CPluginMgrThread.0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 2
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00425ca0
mov dword [esi], eax
mov byte [ebp - 4], 5
mov dword [0x61e760], edi
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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 0x4c5880
Capabilities:
Delete file
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c03e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [edi], vtable.CPluginMgrThread.0
mov dword [ebp - 4], 2
mov dword [0x61e760], 0
call fcn.004c64f0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c6690
mov byte [ebp - 4], 3
lea ecx, [esi*8]
sub ecx, esi
mov edx, dword [ecx*4 + 0x5c3098]
cmp word [edx], 0
jne 0x4c58f7
xor ecx, ecx
jmp 0x4c590f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c5900
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406f60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005336c4
add esp, 8
test eax, eax
jne 0x4c5945
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c595e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x30]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.00485c00
mov byte [ebp - 4], 1
push dword [esi]
call fcn.0051209c
add esp, 4
mov byte [ebp - 4], 0
lea eax, [edi + 0x18]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], vtable.base_thread.0
test eax, eax
je 0x4c59d7
push eax
call esi
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4c59e8
push eax
call esi
mov dword [edi + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x4c5a06
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4c5a06
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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.005120a1
mov esp, ebp
pop ebp
ret