Function at 0x428740
Capabilities:
Create directory
Get disk size
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db497
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x50bd24]
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 esi, ecx
mov dword [ebp - 0x868], esi
push 0x4e3c00
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4287b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004b42e4
mov esp, ebp
pop ebp
ret 4
push 0x4e3c00
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x208
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x4e3128
push eax
call edi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428810
sub ecx, edx
lea eax, [esi + 0xac]
sar ecx, 1
push ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x888], eax
push ecx
mov ecx, eax
call fcn.0041a580
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428843
sub ecx, edx
lea ebx, [esi + 0x94]
sar ecx, 1
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x86c], ebx
call fcn.0041a580
push 0x4e3a44
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041b590
add esp, 8
cmp dword [ebp - 0x864], 0
jne 0x4288bf
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4288bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4288c9
mov eax, dword [ebx]
push 0
push 0
lea ecx, [ebp - 0x87c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x87c]
mov ebx, dword [ebp - 0x878]
push 0x208
mov dword [ebp - 0x880], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 0
push 0x80
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
lea eax, [ebp - 0x874]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x874]
mov esi, dword [ebp - 0x870]
push edi
mov dword [ebp - 0x864], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jg 0x428790
jl 0x42897b
mov eax, dword [ebp - 0x864]
cmp eax, dword [ebp - 0x880]
ja 0x428790
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b5de0
mov eax, dword [ebp - 0x86c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42899f
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.AccUninstall.7z
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x4e3ea8
lea eax, [ebp - 0x218]
push eax
push 0x88
push 0
call fcn.0041cf40
add esp, 0x10
test eax, eax
js 0x428790
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x4e3128
push eax
lea eax, [ebp - 0x830]
push eax
call esi
call fcn.004a9680
lea eax, [ebp - 0x848]
mov dword [ebp - 0x86c], 0
push eax
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x848], 0
push eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x838], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x834], 7
push eax
call fcn.004a97a0
mov edx, dword [ebp - 0x834]
add esp, 0x10
test eax, eax
je 0x428aa0
cmp edx, 8
jb 0x428790
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428a91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428e72
push edx
push ecx
call fcn.004b4077
add esp, 8
jmp 0x428790
cmp edx, 8
jb 0x428ada
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428ad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428e72
push edx
push ecx
call fcn.004b4077
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b5de0
mov ebx, dword [ebp - 0x888]
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x428b00
mov eax, dword [ebx]
push str.atl71.dll
push eax
lea eax, [ebp - 0x218]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x218]
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x428b3c
mov ebx, dword [ebx]
push str.XLBugHandler.dll
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041b5d0
add esp, 8
cmp dword [ebp - 0x864], 0
je 0x428b7d
lea eax, [ebp - 0x218]
push eax
call edi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x50f740]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x50e840]
cmp eax, dword [ecx + 4]
jg 0x428e77
xor eax, eax
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
push eax
lea eax, [ebp - 0x860]
mov dword [ebp - 4], 1
push eax
push str.instdir
push str.SOFTWAREGuangShan_SoftwareAccOem_acc_backwnd
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041c8e0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004b5de0
add esp, 0x20
call fcn.00426180
add eax, 0x1d4
cmp dword [eax + 0x14], 8
jb 0x428c0f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x848]
call fcn.00415c30
cmp dword [ebp - 0x838], 0
mov byte [ebp - 4], 2
je 0x428c61
cmp dword [ebp - 0x834], 8
lea ecx, [ebp - 0x848]
lea edx, [ebp - 0x628]
cmovae ecx, dword [ebp - 0x848]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x428c44
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
cmp dword [ebp - 0x84c], 8
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004c2644
mov ebx, dword [ebp - 0x868]
add esp, 8
test eax, eax
je 0x428c99
mov dword [ebx + 0xe0], 0
call fcn.0042f5c0
mov ecx, eax
call fcn.0042f660
mov ecx, ebx
call fcn.00428390
push 0
push 0x3e
mov ecx, ebx
call fcn.00428ee0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b5de0
add esp, 0xc
mov dword [ebp - 0x868], 0
call fcn.00426180
add eax, 0x1d4
cmp dword [eax + 0x14], 8
jb 0x428ce9
mov eax, dword [eax]
push str.ProfilesBindingConfig.ini
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0041b5d0
xorps xmm0, xmm0
add esp, 8
movlpd qword [ebp - 0x894], xmm0
movlpd qword [ebp - 0x874], xmm0
movlpd qword [ebp - 0x87c], xmm0
movlpd qword [ebp - 0x884], xmm0
call fcn.00427c50
cmp dword [ebp - 0x868], 0
cdq
mov esi, eax
je 0x428dd0
push 0
push 0
lea eax, [ebp - 0x894]
push eax
push str.days
lea eax, [ebp - 0x420]
push str.ThunderInstall
push eax
call fcn.0041b770
push 0
push 0
lea eax, [ebp - 0x874]
push eax
push str.LastXunleiStartTime
lea eax, [ebp - 0x420]
push str.ThunderInstall
push eax
call fcn.0041b770
push 0
push 0
lea eax, [ebp - 0x87c]
push eax
push str.LastCreateTaskTime
lea eax, [ebp - 0x420]
push str.ThunderInstall
push eax
call fcn.0041b770
add esp, 0x48
lea eax, [ebp - 0x884]
push 0
push 0
push eax
push str.taskcount
lea eax, [ebp - 0x420]
push str.ThunderInstall
push eax
call fcn.0041b770
add esp, 0x18
mov ecx, dword [ebp - 0x880]
mov eax, dword [ebp - 0x884]
sub esi, dword [ebp - 0x894]
mov dword [ebx + 0x11c], ecx
mov ecx, dword [ebp - 0x870]
mov dword [ebx + 0x118], eax
mov eax, dword [ebp - 0x874]
mov dword [ebx + 0x124], ecx
mov ecx, dword [ebp - 0x878]
mov dword [ebx + 0x120], eax
mov eax, dword [ebp - 0x87c]
mov dword [ebx + 0x12c], ecx
lea ecx, [ebp - 0x848]
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x128], eax
call fcn.00416010
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x428e6b
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ece
push edx
push ecx
call fcn.004b4077
add esp, 8
xor eax, eax
jmp 0x428795
call fcn.004b905f
push 0x50e840
call fcn.004b3e5c
add esp, 4
cmp dword [0x50e840], 0xffffffff
jne 0x428b9d
mov ecx, 0x50e824
mov dword [ebp - 4], 0
call fcn.00428180
test eax, eax
je 0x428eb2
mov ecx, 0x50e824
call fcn.0042a030
jmp 0x428eb2
push 0x4e00b0
call fcn.004b42cf
push 0x50e840
call fcn.004b3e12
add esp, 8
jmp 0x428b9d
call fcn.004b905f
int3