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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b54e
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x465944]
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 - 0x818], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x81c], edi
mov eax, dword [0x4644dc]
mov dword [ebp - 0x814], ecx
mov dword [edi + 0x14], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi], ecx
mov eax, dword [0x467048]
mov dword [ebp - 4], 0
test eax, eax
je 0x410940
cmp dword [0x466d1c], 0
jne 0x410a01
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [0x466d18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x810]
push eax
call ebx
xor esi, esi
cmp dword [0x466d14], esi
jle 0x410982
nop dword [eax + eax]
lea eax, [ebp - 0x810]
push eax
call ebx
inc esi
cmp esi, dword [0x466d14]
jl 0x410970
push str.MiniUI.dll
lea eax, [ebp - 0x810]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.0040f880
add esp, 4
test eax, eax
lea eax, [ebp - 0x810]
push eax
jne 0x4109dd
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4109cf
push 1
lea eax, [ebp - 0x810]
push section..data
push eax
call fcn.0040c100
add esp, 0xc
mov dword [0x466d1c], 0
xor eax, eax
jmp 0x410a03
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x466d1c], eax
test eax, eax
je 0x410a03
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x467048], eax
test eax, eax
je 0x410a03
call eax
lea esi, [edi + 0x10]
mov dword [edi + 0xc], eax
test esi, esi
je 0x410a39
cmp dword [ebp - 0x814], 0
mov dword [esi], 0
je 0x410a39
call fcn.0040d590
mov ecx, eax
test ecx, ecx
je 0x410a39
mov eax, dword [ecx]
push esi
push 0x2719
push dword [ebp - 0x814]
push ecx
call dword [eax + 0x20]
mov esi, dword [esi]
mov dword [edi + 8], 0
test esi, esi
je 0x410ab5
mov eax, dword [esi]
push esi
call dword [eax]
lea edx, [edi + 8]
push edx
push 0x271a
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esi]
push esi
call dword [eax]
lea edx, [edi + 4]
push edx
push 0x2712
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ecx, dword [edi + 0xc]
push 0x400
push ecx
mov eax, dword [ecx]
call dword [eax + 0x68]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00433b17
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
call ebx
push str.defaultskin
lea eax, [ebp - 0x810]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [edi + 0x14]
call fcn.0040ff70
mov eax, edi
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.0042a853
mov esp, ebp
pop ebp
ret 4
Function at 0x411ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b6d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x465944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
lea ebx, [edi + 0x10]
mov dword [edi], vtable.CDownLoadItem.0
lea esi, [edi + 0x28]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi], 0
mov eax, dword [0x4644dc]
mov dword [ebp - 4], 0
mov dword [edi + 0x30], eax
mov eax, dword [0x4644dc]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x411b74
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0
push 0
push 0
push 0
push ebx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x3c], 0
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp + 0x14]
lea ecx, [edi + 0x30]
call fcn.00406d70
push dword [ebp + 0x10]
lea ecx, [edi + 0x34]
call fcn.00406d70
mov dword [edi + 0x20], 0x20
mov dword [edi + 0x24], 0x20
test esi, esi
je 0x411bf5
mov dword [esi], 0
call fcn.0040d590
test eax, eax
je 0x411bf5
mov eax, dword [0x466fe0]
test eax, eax
jne 0x411bf2
push str.CreateMiniUIBitmap
push dword [0x466d1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x466fe0], eax
test eax, eax
je 0x411bf5
push esi
call eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411c06
mov eax, dword [ecx]
push 0
push dword [ebp + 0xc]
push ecx
call dword [eax + 0xc]
cmp dword [0x46704c], 0
jne 0x411ca5
call fcn.0040d590
test eax, eax
je 0x411c9b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov dword [0x46704c], eax
test eax, eax
je 0x411ca5
mov eax, dword [0x4644dc]
push 0xd7
push 0x44f3d8
push dword [0x4670d8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push str.res:___d__s__d
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 2
call fcn.0040c330
add esp, 0x14
mov ecx, dword [0x46704c]
mov esi, dword [ebp + 8]
push 0
push esi
mov eax, dword [ecx]
mov dword [ebp - 4], 4
call dword [eax + 0xc]
lea eax, [esi - 0xc]
cmp eax, dword [0x4644d8]
je 0x411ca5
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411ca5
push esi
call fcn.00425cdd
add esp, 4
jmp 0x411ca5
mov dword [0x46704c], 0
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 0x10
Function at 0x412490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.0042c930
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.0042c930
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4124f3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x4124f8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x412516
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x412518
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x41252c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x4670d8]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0x18
Function at 0x412590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b740
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x465944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CDownLoadList.0
xor edx, edx
mov edi, dword [esi + 0x30]
xor ebx, ebx
mov ecx, dword [esi + 0x34]
sub ecx, edi
mov dword [ebp - 4], 0
add ecx, 3
shr ecx, 2
cmp edi, dword [esi + 0x34]
cmova ecx, edx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4125fc
mov eax, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x4125f4
mov eax, dword [ecx]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x10]
inc ebx
add edi, 4
cmp ebx, eax
jne 0x4125e6
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], eax
push dword [esi + 4]
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412644
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x412652
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x412660
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4126a8
mov ecx, dword [esi + 0x38]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x412689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126e9
mov eax, edx
push ecx
push eax
call fcn.0042a10a
mov dword [esi + 0x30], 0
add esp, 8
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4126b5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4126c2
push eax
call fcn.004244cb
test byte [ebp + 8], 1
je 0x4126d3
push 0x78
push esi
call fcn.0042a10a
add esp, 8
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 4
call fcn.0042f439
int3
Function at 0x413500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x30]
cmp esi, dword [edi + 0x34]
je 0x413529
mov ebx, dword [esi]
test ebx, ebx
je 0x413521
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
cmp eax, dword [ebp + 8]
je 0x413544
add esi, 4
cmp esi, dword [edi + 0x34]
jne 0x413510
push 0x105
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
mov eax, dword [ebx]
push ebx
call dword [eax]
mov eax, dword [edi + 0x34]
lea ecx, [esi + 4]
sub eax, ecx
push eax
push ecx
push esi
call fcn.0042c3b0
add dword [edi + 0x34], 0xfffffffc
add esp, 0xc
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
test eax, 0xfffffffc
jg 0x413578
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x60]
test edx, edx
je 0x4135ad
mov ecx, dword [edi + 0x34]
sub ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
add eax, esi
sar ecx, 2
cmp eax, ecx
jl 0x4135a6
sub ecx, esi
mov eax, 0
cmovs ecx, eax
mov dword [edi + 0x54], ecx
mov dword [edx + 0x20], eax
jmp 0x4135ad
mov dword [edx + 0x20], 1
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4135d1
cmp dword [edi + 0x54], 0
jg 0x4135ca
mov dword [edi + 0x54], 0
mov dword [eax + 0x20], 0
jmp 0x4135d1
mov dword [eax + 0x20], 1
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x414de0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x466d80
push edi
call fcn.0040d4e0
mov edi, eax
test edi, edi
je 0x414e39
push 0x3f1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, edi
mov esi, eax
call fcn.00416170
push esi
test eax, eax
jle 0x414e26
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x414e39
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x414e39
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret

Function at 0x415740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ba3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x465944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 0xc]
mov dword [edi], vtable.CDownloadManager.0
mov dword [edi + 4], 0
push eax
mov dword [edi + 8], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
lea esi, [edi + 0x30]
mov dword [edi + 0x2c], 0
push 0
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004170a0
mov dword [esi], eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.0042a0da
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4157fe
mov ecx, eax
call fcn.00417e10
jmp 0x415800
xor eax, eax
mov dword [edi + 0x44], eax
mov dword [eax + 8], edi
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 0x417dc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x10]
push esi
call fcn.0040f880
add esp, 4
test eax, eax
jne 0x417df9
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417df3
push 1
push section..data
push esi
call fcn.0040c100
add esp, 0xc
pop edi
xor eax, eax
pop esi
pop ebp
ret
or dword [edi + 4], 0x1000
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
pop ebp
ret

Function at 0x419b90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c130
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x465944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x10], 0
je 0x419bf4
mov esi, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.0041a7c0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [ebx + 0xc]
mov dword [eax], esi
mov eax, dword [ebx + 0xc]
mov dword [eax + 8], esi
mov dword [ebx + 0x10], 0
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419c2e
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 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push esi
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp eax, 0x3200000
jge 0x419cbc
cmp dword [ebp - 0x10], 0
jne 0x419cbc
add eax, 4
push eax
mov dword [ebp - 0x1c], eax
call fcn.0042f51a
mov edi, eax
add esp, 4
test edi, edi
je 0x419cbc
push dword [ebp - 0x1c]
push 0
push edi
call fcn.0042c930
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push 0
push eax
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
mov ecx, ebx
push edi
call fcn.00419d00
push edi
mov dword [ebp - 0x18], 1
call fcn.0042f515
add esp, 4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
lea ecx, [ebx + 0x18]
call fcn.00418b80
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], ecx
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
Function at 0x41ad40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c2ea
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
lea eax, [ebx + 8]
mov dword [ebx], vtable.CSmartLogger.0
push eax
mov dword [ebx + 4], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov eax, dword [0x4644dc]
mov dword [ebx + 0x2c], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
mov dword [ebx + 0x30], 1
call fcn.0042c930
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x44fe94
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.LuDaShiModuleUpdate.log
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0x2c]
call fcn.0040ff70
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret
Function at 0x41b6b0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.0042c930
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push 0x44fe94
push eax
call esi
push dword [edi]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x2c]
call fcn.0040ff70
push dword [ebx + 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b798
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x214], xmm0
cmp dword [eax - 8], 0
je 0x41b798
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b778
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x210], 0
jl 0x41b798
jg 0x41b78f
cmp dword [ebp - 0x214], 0x100000
jbe 0x41b798
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret 4

Function at 0x41c360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x110]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c439
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c439
mov ebx, dword [ebp + 8]
push dword [edi + 0x154]
push dword [ebx + 0x20]
call fcn.0042f6f8
add esp, 8
test eax, eax
jne 0x41c3c0
push eax
push eax
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov ecx, 0x466d80
call fcn.0040d4e0
mov esi, eax
test esi, esi
je 0x41c47c
push ebx
mov ecx, esi
call fcn.00415f00
test eax, eax
je 0x41c47c
lea eax, [ebx + 0x28]
mov ecx, edi
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.0041c490
mov eax, dword [edi + 0x108]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c417
mov eax, dword [edi + 0x108]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00416170
test eax, eax
jle 0x41c42d
lea ecx, [edi + 0x10c]
call fcn.00414de0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov ecx, 0x466d80
call fcn.0040d4e0
mov ebx, dword [ebp + 8]
mov ecx, eax
push ebx
call fcn.00415f00
test eax, eax
je 0x41c47c
lea eax, [ebx + 0x28]
mov ecx, edi
push eax
lea esi, [ebx + 0x20]
push esi
call fcn.0041c490
push dword [esi]
push str.__s_Add_download_task.
call fcn.0041b930
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x41c770
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x466d80
call fcn.0040d4f0
mov ecx, eax
call fcn.004230e0
mov ecx, 0x466d80
call fcn.0040d4d0
mov ecx, eax
call fcn.004100d0
push eax
push 0xe
mov ecx, 0x466d80
call fcn.0040d4d0
mov ecx, eax
call fcn.004102e0
push eax
call fcn.004233a0
mov ecx, eax
call fcn.00423400
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebp
ret 4
Function at 0x41d180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c696
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x465944]
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 ecx, 0x466d80
call fcn.0040d4e0
mov ebx, eax
mov dword [ebp - 0x820], ebx
test ebx, ebx
je 0x41d34d
mov ecx, ebx
call fcn.00416170
test eax, eax
jle 0x41d34d
push dword [edi + 0x110]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41d1fd
push dword [edi + 0x110]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41d34d
mov ecx, 0x466d80
call fcn.0040d4d0
mov ecx, eax
call fcn.00410300
test eax, eax
je 0x41d219
mov ecx, ebx
jmp 0x41d32e
push 0x80
lea ecx, [ebp - 0x818]
call fcn.004069b0
push 0x86
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call fcn.004069b0
mov eax, dword [0x46708c]
mov ebx, dword [edi + 4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x81c], ebx
test eax, eax
je 0x41d263
cmp dword [0x466d1c], 0
jne 0x41d3ab
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [0x466d18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x810]
push eax
call ebx
xor esi, esi
cmp dword [0x466d14], esi
jle 0x41d2a6
lea eax, [ebp - 0x810]
push eax
call ebx
inc esi
cmp esi, dword [0x466d14]
jl 0x41d294
push str.MiniUI.dll
lea eax, [ebp - 0x810]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.0040f880
add esp, 4
test eax, eax
lea eax, [ebp - 0x810]
push eax
jne 0x41d379
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d2f7
push 1
lea eax, [ebp - 0x810]
push section..data
push eax
call fcn.0040c100
add esp, 0xc
mov dword [0x466d1c], 0
mov esi, 2
lea ecx, [ebp - 0x814]
call fcn.00406d40
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0xffffffff
call fcn.00406d40
cmp esi, 6
jne 0x41d356
mov ecx, dword [ebp - 0x820]
call fcn.004164d0
test eax, eax
je 0x41d34d
lea ecx, [eax + 0x2c]
add eax, 0x20
push ecx
push 3
push eax
call fcn.004233a0
mov ecx, eax
call fcn.00423400
push 2
mov ecx, edi
call fcn.0041c770
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.0042a853
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x466d1c], eax
test eax, eax
je 0x41d301
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46708c], eax
test eax, eax
je 0x41d301
mov ebx, dword [ebp - 0x81c]
call eax
test eax, eax
je 0x41d301
mov ecx, dword [eax]
push 4
push dword [ebp - 0x818]
push dword [ebp - 0x814]
push ebx
push eax
call dword [ecx + 0x8c]
mov esi, eax
jmp 0x41d306