Function at 0x414200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a25ee
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x62c144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00414870
mov ecx, eax
test ecx, ecx
je 0x414248
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x414845
push 9
xor eax, eax
mov dword [ebp - 0xa4], 7
push 0x5a8250
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.004020c0
push 8
xor eax, eax
mov dword [ebp - 4], 0
push str.WTip.exe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.004020c0
cmp dword [ebp - 0xa8], 0
mov byte [ebp - 4], 1
je 0x4147fe
cmp dword [ebp - 0x60], 0
je 0x4147fe
call fcn.00401910
mov ecx, eax
call fcn.0043c6a8
test al, al
jne 0x4147fe
call fcn.00401910
mov ecx, eax
call fcn.0043c5c6
test al, al
jne 0x4147fe
push 0
call fcn.00449c97
add esp, 4
mov esi, eax
push 1
push str.8b9aa
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043b605
test eax, eax
jne 0x41439f
call fcn.00401910
mov ecx, eax
call fcn.0043c679
test al, al
jne 0x41439f
push 0
push str.d4686
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043b605
mov edi, eax
cmp edi, 0x64
jg 0x41439f
push 0
push str.6e4a0
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043b605
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x414383
lea eax, [edi + 1]
push eax
push str.d4686
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
push esi
push str.6e4a0
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
jmp 0x4147fe
cmp byte [ebp + 8], 0
jne 0x4143ea
push 0xffffffffffffffff
push str.8881b
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043b605
mov ecx, esi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jle 0x4147fe
push esi
push str.8881b
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push eax
push str.d3617
push str.Setting
mov byte [ebp - 4], 3
mov byte [ebp - 0x119], al
call fcn.00401910
mov ecx, eax
call fcn.0043b605
mov ebx, eax
lea ecx, [ebp - 0x88]
test bl, 1
jne 0x414455
push 0x5a8250
mov byte [ebp - 0x119], 1
call fcn.00403ab0
push 0x5a82b4
jmp 0x414464
push str.WTip.exe
call fcn.00403ab0
push 0x5a82bc
lea ecx, [ebp - 0x40]
call fcn.00403ab0
call fcn.00401910
mov ecx, eax
call fcn.0043b31a
push eax
lea ecx, [ebp - 0x118]
call fcn.00403820
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.004052d0
lea ecx, [ebx + 1]
xor eax, eax
cmp ecx, 0x3e8
cmovl eax, ecx
push eax
push str.d3617
push str.Setting
call fcn.00401910
mov ecx, eax
call fcn.0043cfc6
cmp dword [ebp - 0x78], 0
je 0x4147e0
call fcn.0043d74d
test al, al
je 0x4144f2
test al, 0xac
aad 0xd4
and eax, dword [edi - 0x30434a34]
adc byte [ecx + 0x50], cl
invalid
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.004037f0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00431dd6
add esp, 4
test eax, eax
jne 0x4147d8
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.004037f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414576
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00401910
mov ecx, eax
call fcn.00419dd0
test eax, eax
jne 0x4147d0
push str.05165217412215271951670712255259
lea ecx, [ebp - 0xe8]
call fcn.00407220
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
je 0x4145a0
push str.05165217412215271951670712255259
jmp 0x4145a5
push str.11073711366150254156461426514560
call fcn.0040ca80
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00425921
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
push 0x5a7e30
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.00407220
cmp dword [ebp - 0xec], 0x10
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x100]
push eax
call fcn.00407220
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004285c7
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.004038e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.004038e0
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
cmp esi, eax
je 0x4147af
cmp dword [esi + 0x14], 0x10
jb 0x41467d
mov eax, dword [esi]
jmp 0x41467f
mov eax, esi
push eax
lea ecx, [ebp - 0xd0]
call fcn.00407220
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0043210d
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403a30
lea ecx, [ebp - 0xa0]
call fcn.0041a460
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00431dd6
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.004038e0
mov eax, dword [ebp - 0x124]
add esi, 0x18
cmp esi, eax
jne 0x414673
mov esi, dword [ebp - 0x128]
cmp esi, eax
je 0x4147af
cmp dword [esi + 0x14], 0x10
jb 0x414701
mov eax, dword [esi]
jmp 0x414703
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.00407220
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0043210d
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403a30
lea ecx, [ebp - 0xd0]
call fcn.0041a460
call fcn.00401910
mov ecx, eax
call fcn.0043b31a
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ab0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004052d0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00401910
mov ecx, eax
call fcn.00419dd0
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x4147aa
mov byte [ebp - 4], 9
call fcn.004038e0
add esi, 0x18
cmp esi, dword [ebp - 0x124]
jne 0x4146f7
jmp 0x4147af
call fcn.004038e0
lea ecx, [ebp - 0x128]
call fcn.004073d0
lea ecx, [ebp - 0x100]
call fcn.004038e0
lea ecx, [ebp - 0xe8]
call fcn.004038e0
lea ecx, [ebp - 0x28]
call fcn.0041a460
lea ecx, [ebp - 0x58]
call fcn.0041a460
lea ecx, [ebp - 0x118]
call fcn.0041a460
lea ecx, [ebp - 0x40]
call fcn.0041a460
lea ecx, [ebp - 0x88]
call fcn.0041a460
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x414813
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402210
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x414845
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00402210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439cb7
mov esp, ebp
pop ebp
ret 4