Function at 0x42f350
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f045d
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp - 0x288]
cmp dword [eax + 0x54], 0
je 0x42f3be
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x19
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 4
call fcn.00431a10
xor eax, eax
jmp 0x42f783
mov ecx, dword [ebp - 0x288]
movzx edx, byte [ecx + 0x68]
test edx, edx
je 0x42f3d3
xor eax, eax
jmp 0x42f783
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00430fb0
push eax
mov ecx, 0x543740
call fcn.00415130
lea ecx, [ebp - 0x220]
call fcn.00430da0
movzx ecx, al
test ecx, ecx
je 0x42f462
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x1b
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 4
call fcn.00431a10
mov dword [ebp - 0x250], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004018d0
mov eax, dword [ebp - 0x250]
jmp 0x42f783
lea ecx, [ebp - 0x220]
call fcn.00430fb0
push eax
mov ecx, dword [ebp - 0x288]
call fcn.0042e340
test eax, eax
jne 0x42f4ce
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x1c
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 4
call fcn.00431a10
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004018d0
mov eax, dword [ebp - 0x254]
jmp 0x42f783
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00491200
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 0x4fa948
push 0x543740
lea edx, [ebp - 0x270]
push edx
call fcn.0041b0d0
add esp, 0xc
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x290]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.0041b0d0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.00401740
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x274], esp
lea eax, [ebp - 0x240]
push eax
call fcn.00401700
mov dword [ebp - 0x294], eax
call fcn.00431f90
add esp, 0x20
push 0
lea ecx, [ebp - 0x220]
call fcn.00430fb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [ebp - 0x220]
call fcn.00428fc0
movzx ecx, ax
push ecx
call fcn.004976e5
add esp, 4
mov word [ebp - 0x10], ax
movzx edx, word [ebp - 0x10]
cmp edx, 0x41
jl 0x42f5c4
movzx eax, word [ebp - 0x10]
cmp eax, 0x5a
jle 0x42f631
push 0x124
push 9
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x27
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 4
call fcn.00431a10
cmp eax, 6
je 0x42f62c
mov dword [ebp - 0x278], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004018d0
mov eax, dword [ebp - 0x278]
jmp 0x42f783
jmp 0x42f6be
mov dword [ebp - 0x24c], 0x1000000
mov dword [ebp - 0x248], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.00428fc0
movzx ecx, ax
push ecx
call fcn.0042e9e0
add esp, 4
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], edx
mov edx, dword [ebp - 0x298]
cmp edx, dword [ebp - 0x248]
ja 0x42f6be
jb 0x42f688
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0x24c]
jae 0x42f6be
mov dword [ebp - 0x27c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004018d0
mov eax, dword [ebp - 0x27c]
jmp 0x42f783
mov ecx, dword [ebp - 0x288]
mov dword [ecx + 0x54], 1
push 0
push 0
mov edx, dword [ebp - 0x288]
push edx
push fcn.0042e930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x224], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x224], 0
je 0x42f710
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x280], esp
lea edx, [ebp - 0x240]
push edx
call fcn.00401700
mov dword [ebp - 0x2a0], eax
call fcn.00431f90
add esp, 0x20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov ecx, dword [ebp - 0x288]
call fcn.0042fff0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x284], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004018d0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret 4