Function at 0x4028cd
Capabilities:
Check if file exists
Create directory
Create process on windows
Set file attributes

Disassembly:
push 0x1b4
mov eax, 0x44231c
call fcn.0043c542
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, esi
call fcn.004114d9
push str.windowinit
push eax
call fcn.004070db
pop ecx
pop ecx
test eax, eax
jne 0x40291f
push str.cb_sohushortcut
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402ff5
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0xc4]
jmp 0x402ff5
mov ecx, esi
call fcn.004114d9
push str.click
push eax
call fcn.004070db
pop ecx
pop ecx
test eax, eax
jne 0x402fe1
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004114d9
push str.closebtn
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
jne 0x402e97
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004114d9
push str.minbtn
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x4029d4
push 0
push 0xf020
jmp 0x402a70
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004114d9
push str.maxbtn
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402a23
push 0
push 0xf030
jmp 0x402a70
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004114d9
push str.restorebtn
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402a82
push 0
push 0xf120
push 0x112
lea ecx, [edi - 0x20]
call fcn.00410ed4
jmp 0x402ff5
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.004114d9
push str.btn_next
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402b27
push str.cb_agree
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402b07
mov ecx, eax
call fcn.00415846
test al, al
je 0x402b07
push str.tabs
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402ff5
push 1
mov ecx, eax
call fcn.00416124
jmp 0x402ff5
push 0x40
push 0x44c028
push 0x44c030
lea ecx, [edi - 0x20]
call fcn.004100e8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402ff5
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.004114d9
push str.btn_go
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402de5
lea ecx, [edi + 0x54]
push str.txt_path
call fcn.00412234
mov esi, eax
test esi, esi
je 0x402cbd
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push 0
push 0x44c058
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.0041044f
cmp eax, 1
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
test bl, bl
je 0x402bd0
mov eax, dword [esi]
push str.C:Program_FilesWuji
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push 0
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.004114d9
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
mov ebx, eax
call fcn.00410139
test ebx, ebx
je 0x402c41
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push 0x80
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.004114d9
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 9
call fcn.004114d9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402cbd
mov eax, dword [esi]
push str.C:Program_FilesWuji
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
push 0
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.004114d9
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
push str.tabs
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402cf1
push 2
mov ecx, eax
call fcn.00416124
push str.download_progress
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402cf1
push 1
mov ecx, eax
call fcn.0041486e
push 0x4c
call fcn.00407238
pop ecx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x402d1a
lea ecx, [eax + 4]
call fcn.00410117
mov eax, dword [ebp - 0x1a0]
jmp 0x402d1c
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x20]
mov dword [edi + 0x25c], eax
call fcn.004100e8
mov ecx, dword [edi + 0x25c]
mov dword [ecx], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.004114d9
mov ecx, dword [edi + 0x25c]
push eax
add ecx, 4
call fcn.0041040e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
push str.cb_autorun
lea ecx, [edi + 0x54]
call fcn.00412234
xor esi, esi
cmp eax, esi
je 0x402d93
mov ecx, eax
call fcn.00415846
mov ecx, dword [edi + 0x25c]
mov byte [ecx + 0x48], al
push str.cb_autorunacc
lea ecx, [edi + 0x54]
call fcn.00412234
cmp eax, esi
je 0x402db4
mov ecx, eax
call fcn.00415846
mov ecx, dword [edi + 0x25c]
mov byte [ecx + 0x49], al
push 0x18
call fcn.00407238
pop ecx
cmp eax, esi
je 0x402dcf
mov word [eax + 8], si
mov dword [eax + 0x14], esi
mov dword [eax], vtable.ThreadCopy.0
mov esi, eax
mov eax, dword [edi + 0x25c]
mov dword [edi + 0x258], esi
call fcn.00401041
jmp 0x402ff5
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.004114d9
push str.btn_done
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402ea4
push str.txt_path
lea ecx, [edi + 0x54]
call fcn.00412234
test eax, eax
je 0x402e97
mov edx, dword [eax]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call dword [edx + 0x28]
push 0x44bc38
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xe
call fcn.00410153
mov eax, dword [0x455014]
push dword [eax + 8]
lea ecx, [ebp - 0x158]
call fcn.00410153
push 5
lea ecx, [ebp - 0x158]
call fcn.004114d9
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402ff5
mov esi, dword [esi + 0x88]
mov eax, dword [esi]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0xf
call fcn.004114d9
push str.btn_open
push eax
call fcn.004070db
mov ebx, eax
pop ecx
pop ecx
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.00410139
inc bl
je 0x402ff5
lea ecx, [edi - 0x20]
call fcn.004100e8
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x1b8], eax
xor ebx, ebx
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b4], 0x44c074
mov dword [ebp - 0x1b0], 0x41
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x402ff5
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00410715
push ebx
push 0x44bc38
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0x10
call fcn.0041044f
lea ecx, [ebp - 0x19c]
mov esi, eax
call fcn.0041014a
dec eax
lea ecx, [ebp - 0x19c]
cmp esi, eax
jne 0x402fa0
push 0x44c084
jmp 0x402fa5
push str.wuji
call fcn.00410153
push str.txt_path
lea ecx, [edi + 0x54]
call fcn.00412234
mov esi, eax
cmp esi, ebx
je 0x402fd0
mov edi, dword [esi]
lea ecx, [ebp - 0x19c]
call fcn.004114d9
push eax
mov ecx, esi
call dword [edi + 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00410139
jmp 0x402ff5
mov ecx, esi
call fcn.004114d9
push str.timer
push eax
call fcn.004070db
pop ecx
pop ecx
call fcn.0043c58c
ret 4