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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f11d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x568cb8]
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 0x455d5e
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x19
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.00457f60
xor eax, eax
jmp 0x4561fa
mov ecx, dword [ebp - 0x2a0]
movzx edx, byte [ecx + 0x68]
test edx, edx
je 0x455d73
xor eax, eax
jmp 0x4561fa
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
call fcn.00426460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0040a1c0
push eax
mov ecx, 0x56d218
call fcn.0040b030
lea ecx, [ebp - 0x220]
call fcn.004577f0
movzx ecx, al
test ecx, ecx
je 0x455e02
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x1b
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.00457f60
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426510
mov eax, dword [ebp - 0x258]
jmp 0x4561fa
lea ecx, [ebp - 0x220]
call fcn.0040a1c0
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00454ce0
test eax, eax
jne 0x455e6e
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x1c
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.00457f60
mov dword [ebp - 0x25c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00426510
mov eax, dword [ebp - 0x25c]
jmp 0x4561fa
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b83b0
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 0x51a150
push 0x56d218
lea edx, [ebp - 0x278]
push edx
call fcn.0043ae80
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.0043ae80
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.0040de90
mov dword [ebp - 0x2ac], eax
call fcn.00459370
add esp, 0x20
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.004578b0
lea ecx, [ebp - 0x220]
call fcn.0040a1c0
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00454df0
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.00457840
jmp 0x455f71
push 0
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x248]
call fcn.00451db0
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.0045ca00
push eax
lea ecx, [ebp - 0x248]
call fcn.00451df0
movzx ecx, al
test ecx, ecx
je 0x455fd3
lea ecx, [ebp - 0x248]
call fcn.00451d90
mov ecx, eax
call fcn.0040a1c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455fd1
lea ecx, [ebp - 0x248]
call fcn.00451d90
mov ecx, eax
call fcn.0040a1c0
push eax
call fcn.00438960
add esp, 4
jmp 0x455f5d
lea ecx, [ebp - 0x220]
call fcn.0040a1c0
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00454df0
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x6c
call fcn.004578b0
push 0
lea ecx, [ebp - 0x220]
call fcn.0040a1c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [ebp - 0x220]
call fcn.0043eae0
movzx edx, ax
push edx
call fcn.004bf121
add esp, 4
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp eax, 0x41
jl 0x45603b
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x5a
jle 0x4560a8
push 0x124
push 9
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x27
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 4
call fcn.00457f60
cmp eax, 6
je 0x4560a3
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.00426510
mov eax, dword [ebp - 0x290]
jmp 0x4561fa
jmp 0x456135
mov dword [ebp - 0x254], 0x1000000
mov dword [ebp - 0x250], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.0043eae0
movzx edx, ax
push edx
call fcn.00455380
add esp, 4
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x250]
ja 0x456135
jb 0x4560ff
mov ecx, dword [ebp - 0x2b4]
cmp ecx, dword [ebp - 0x254]
jae 0x456135
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.00426510
mov eax, dword [ebp - 0x294]
jmp 0x4561fa
mov edx, dword [ebp - 0x2a0]
mov dword [edx + 0x54], 1
push 0
push 0
mov eax, dword [ebp - 0x2a0]
push eax
push fcn.004552d0
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 0x456187
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x298], esp
lea eax, [ebp - 0x240]
push eax
call fcn.0040de90
mov dword [ebp - 0x2b8], eax
call fcn.00459370
add esp, 0x20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov ecx, dword [ebp - 0x2a0]
call fcn.00456b50
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.00426510
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.004b8307
mov esp, ebp
pop ebp
ret 4