Function at 0x419cf0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453f8e
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov esi, ecx
mov ecx, 7
mov dword [esp + 0x158], ecx
mov dword [esp + 0x174], ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x13c], 1
mov dword [esp + 0x154], eax
mov word [esp + 0x144], dx
mov dword [esp + 0x170], eax
mov word [esp + 0x160], cx
mov dword [esp + 0x188], eax
mov edi, dword [0x46a814]
lea ebx, [esp + 0x104]
call fcn.004052d0
xor ebx, ebx
mov byte [esp + 0x188], 1
cmp dword [esp + 0x118], ebx
jne 0x419e97
push 0xe
push str..TaskImpl.cpp
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.00406050
push 2
lea edx, [esp + 0x44]
push edx
mov ecx, 0xfc
lea edx, [esp + 0xf0]
mov byte [esp + 0x190], 2
call fcn.0041f600
push str.Error:_Work_dir_string_is_empty_
push ecx
add eax, 0x28
push str.ConfigureQueryTask::Run
push eax
mov byte [esp + 0x198], 3
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 2
call fcn.0041f890
cmp dword [esp + 0x100], 0x10
jb 0x419e50
mov eax, dword [esp + 0xec]
push eax
call fcn.004308f5
add esp, 4
cmp dword [esp + 0x11c], 8
jb 0x419e6a
mov ecx, dword [esp + 0x108]
push ecx
call fcn.004308f5
add esp, 4
xor edx, edx
lea esi, [esp + 0x13c]
mov dword [esp + 0x11c], 7
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], dx
call fcn.0040f410
jmp 0x41a445
mov eax, dword [esp + 0x108]
mov edi, 8
cmp dword [esp + 0x11c], edi
jae 0x419eb3
lea eax, [esp + 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x108]
cmp dword [esp + 0x11c], edi
jae 0x419ed2
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419fb2
push 0xe
push str..TaskImpl.cpp
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.00406050
push 2
lea eax, [esp + 0x44]
push eax
mov ecx, 0x104
lea edx, [esp + 0xf0]
mov byte [esp + 0x190], 4
call fcn.0041f600
push str.Error:_Work_dir_create_failed
push ecx
add eax, 0x28
push str.ConfigureQueryTask::Run
push eax
mov byte [esp + 0x198], 5
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 4
call fcn.0041f890
cmp dword [esp + 0x100], 0x10
jb 0x419f81
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004308f5
add esp, 4
mov byte [esp + 0x188], bl
mov dword [esp + 0x18], 2
cmp dword [esp + 0x11c], edi
jb 0x41a3a5
mov edx, dword [esp + 0x108]
push edx
call fcn.004308f5
add esp, 4
jmp 0x41a3a5
push 0x60
call fcn.004309b0
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
mov byte [esp + 0x188], 6
cmp edi, ebx
je 0x41a02e
xor eax, eax
mov word [esp + 0xec], ax
push 0xf
mov eax, 0x45b850
lea esi, [esp + 0xec]
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], ebx
call fcn.004070b0
mov eax, dword [esp + 0x1c]
mov ecx, esi
push ecx
lea edx, [esp + 0x108]
push edx
add eax, 8
push eax
mov byte [esp + 0x194], 7
push edi
mov dword [esp + 0x24], 1
call fcn.00419200
mov esi, dword [esp + 0x1c]
mov edi, eax
jmp 0x41a030
xor edi, edi
mov dword [esp + 0x188], 8
mov ecx, dword [esi + 0x28]
cmp edi, ecx
je 0x41a04e
cmp ecx, ebx
je 0x41a04e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x188], 1
test byte [esp + 0x14], 1
mov dword [esi + 0x28], edi
je 0x41a07d
cmp dword [esp + 0x100], 8
jb 0x41a07d
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004308f5
add esp, 4
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
call fcn.004194f0
push 0xe
mov edi, eax
push str..TaskImpl.cpp
lea ecx, [esp + 0xf0]
mov dword [esp + 0x28], edi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x44]
push eax
mov ecx, 0x10f
lea edx, [esp + 0xf0]
mov byte [esp + 0x190], 9
call fcn.0041f600
mov byte [esp + 0x188], 0xa
mov ecx, dword [esp + 0x14]
push ecx
push ecx
push str.__Windows_Last_Error:
push ecx
push edi
push ecx
push str.__Download_Completed__download_ret:
push ecx
add eax, 0x28
push str.ConfigureQueryTask::Run
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00410140
add esp, 4
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00410140
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 9
call fcn.0041f890
mov byte [esp + 0x188], 1
cmp dword [esp + 0x100], 0x10
jb 0x41a160
mov edx, dword [esp + 0xec]
push edx
call fcn.004308f5
add esp, 4
cmp edi, ebx
jne 0x41a469
lea eax, [esp + 0x104]
push eax
mov ebx, 0x45b850
lea esi, [esp + 0xec]
call fcn.0041b780
add esp, 4
mov ecx, esi
push ecx
mov ebx, str..ini
lea esi, [esp + 0x124]
mov byte [esp + 0x18c], 0xb
call fcn.0041b780
add esp, 4
mov byte [esp + 0x188], 0xc
mov ebx, dword [esp + 0x124]
mov edi, 8
cmp dword [esp + 0x138], edi
jae 0x41a1c7
lea ebx, [esp + 0x124]
mov esi, dword [esp + 0xec]
cmp dword [esp + 0x100], edi
jae 0x41a1de
lea esi, [esp + 0xec]
call fcn.00404080
push ebx
push esi
call fcn.00423e70
test eax, eax
jne 0x41a256
cmp dword [esp + 0x138], 8
mov eax, dword [esp + 0x124]
lea edi, [esp + 0x13c]
jae 0x41a20d
lea eax, [esp + 0x124]
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x30], esp
mov word [esi + 4], dx
lea ebx, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41a230
sub ecx, ebx
sar ecx, 1
push ecx
call fcn.004070b0
mov ebx, edi
call fcn.0041a520
mov edi, 8
jmp 0x41a2ed
push 0xe
push str..TaskImpl.cpp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00406050
push 2
lea eax, [esp + 0x44]
mov bl, 0xd
push eax
mov ecx, 0x11d
lea edx, [esp + 0x2c]
mov byte [esp + 0x190], bl
call fcn.0041f600
push str.Unzip_failed_
push ecx
add eax, 0x28
push str.ConfigureQueryTask::Run
push eax
mov byte [esp + 0x198], 0xe
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], bl
call fcn.0041f890
cmp dword [esp + 0x3c], 0x10
jb 0x41a2e5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004308f5
add esp, 4
mov dword [esp + 0x18], 3
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], edi
jae 0x41a304
lea eax, [esp + 0xec]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov eax, dword [esp + 0x124]
cmp dword [esp + 0x138], edi
jae 0x41a324
lea eax, [esp + 0x124]
push eax
call esi
cmp dword [esp + 0x138], edi
jb 0x41a340
mov edx, dword [esp + 0x124]
push edx
call fcn.004308f5
add esp, 4
xor eax, eax
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], 0
mov word [esp + 0x124], ax
cmp dword [esp + 0x100], edi
jb 0x41a379
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004308f5
add esp, 4
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0x11c], 8
jb 0x41a3a0
mov edx, dword [esp + 0x108]
push edx
call fcn.004308f5
add esp, 4
mov edi, 8
cmp dword [esi + 0x24], ebx
je 0x41a3f7
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
sub esp, 0x3c
mov eax, esp
mov dword [esp + 0x50], esp
push eax
lea edi, [esp + 0x17c]
call fcn.0041a480
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x24]
push ecx
push edx
push eax
call fcn.0041b840
mov ecx, dword [0x46a814]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
add esp, 0x48
push ebx
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
cmp dword [esp + 0x174], edi
jb 0x41a410
mov ecx, dword [esp + 0x160]
push ecx
call fcn.004308f5
add esp, 4
xor edx, edx
mov dword [esp + 0x174], 7
mov dword [esp + 0x170], ebx
mov word [esp + 0x160], dx
cmp dword [esp + 0x158], edi
jb 0x41a445
mov eax, dword [esp + 0x144]
push eax
call fcn.004308f5
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00430900
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x18], 4
jmp 0x41a37f