Function at 0x456da0
Capabilities:
Check if file exists
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522efd
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], ecx
mov eax, dword [ebp - 0x2a0]
cmp dword [eax + 0x54], 0
je 0x456e0e
push 0
push 0x1a
mov ecx, 0x585ca8
call fcn.004756c0
push eax
push 0x19
mov ecx, 0x585ca8
call fcn.004756c0
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.004590e0
xor eax, eax
jmp 0x4572c0
mov ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x68]
test edx, edx
je 0x456e23
xor eax, eax
jmp 0x4572c0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
call fcn.00426750
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00429580
push eax
mov ecx, 0x585bd8
call fcn.0040b170
lea ecx, [ebp - 0x220]
call fcn.00458900
movzx ecx, al
test ecx, ecx
je 0x456eb2
push 0
push 0x1a
mov ecx, 0x585ca8
call fcn.004756c0
push eax
push 0x1b
mov ecx, 0x585ca8
call fcn.004756c0
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.004590e0
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426800
mov eax, dword [ebp - 0x258]
jmp 0x4572c0
lea ecx, [ebp - 0x220]
call fcn.00429580
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00455d90
test eax, eax
jne 0x456f1e
push 0
push 0x1a
mov ecx, 0x585ca8
call fcn.004756c0
push eax
push 0x1c
mov ecx, 0x585ca8
call fcn.004756c0
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.004590e0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426800
mov eax, dword [ebp - 0x25c]
jmp 0x4572c0
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004ba280
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.kuaizipUpdateChecker.dll
push 0x52f278
push 0x585bd8
lea edx, [ebp - 0x278]
push edx
call fcn.0043bd20
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2a8]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.0043bd20
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.00401320
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x27c], esp
lea eax, [ebp - 0x240]
push eax
call fcn.0040e030
mov dword [ebp - 0x2ac], eax
call fcn.0045a4f0
add esp, 0x20
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.004589c0
lea ecx, [ebp - 0x220]
call fcn.00429580
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00455ea0
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.0045dd60
jmp 0x457021
push 0
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x248]
call fcn.00458ac0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.00458950
push eax
lea ecx, [ebp - 0x248]
call fcn.00458b00
movzx ecx, al
test ecx, ecx
je 0x457083
lea ecx, [ebp - 0x248]
call fcn.0045e090
mov ecx, eax
call fcn.00429580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457081
lea ecx, [ebp - 0x248]
call fcn.0045e090
mov ecx, eax
call fcn.00429580
push eax
call fcn.00439840
add esp, 4
jmp 0x45700d
lea ecx, [ebp - 0x220]
call fcn.00429580
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00455ea0
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.004589c0
push 0
lea ecx, [ebp - 0x220]
call fcn.00429580
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [ebp - 0x220]
call fcn.0043f970
movzx edx, ax
push edx
call fcn.004c17f1
add esp, 4
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp eax, 0x41
jl 0x4570eb
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x5a
jle 0x457158
push 0x124
push 9
mov ecx, 0x585ca8
call fcn.004756c0
push eax
push 0x27
mov ecx, 0x585ca8
call fcn.004756c0
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.004590e0
cmp eax, 6
je 0x457153
mov dword [ebp - 0x290], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426800
mov eax, dword [ebp - 0x290]
jmp 0x4572c0
jmp 0x4571e5
mov dword [ebp - 0x254], 0x1000000
mov dword [ebp - 0x250], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.0043f970
movzx edx, ax
push edx
call fcn.00456430
add esp, 4
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x250]
ja 0x4571e5
jb 0x4571af
mov ecx, dword [ebp - 0x2b4]
cmp ecx, dword [ebp - 0x254]
jae 0x4571e5
mov dword [ebp - 0x294], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426800
mov eax, dword [ebp - 0x294]
jmp 0x4572c0
mov edx, dword [ebp - 0x2a0]
mov dword [edx + 0x54], 1
push 0
push 0
mov eax, dword [ebp - 0x2a0]
push eax
push fcn.00456380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x224], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x224], 0
je 0x457237
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x52f284
mov ecx, 0x5861bc
call fcn.00401210
cmp eax, 0xffffffff
jne 0x457274
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x298], esp
lea eax, [ebp - 0x240]
push eax
call fcn.0040e030
mov dword [ebp - 0x2b8], eax
call fcn.0045a4f0
add esp, 0x20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov ecx, dword [ebp - 0x2a0]
call fcn.00457c10
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x29c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426800
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret 4