Function at 0x420a00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4994c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x1c]
call fcn.0040ccf0
test eax, eax
jne 0x420a6e
lea edi, [ebp - 4]
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 8
jmp 0x420c61
lea eax, [esp + 0x38]
push eax
mov edi, str.KitTip.dll
lea ecx, [esp + 0x20]
call fcn.00402db0
add esp, 4
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x420a9c
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420b35
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
xor ecx, ecx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], cx
call fcn.00402a90
mov byte [esp + 0x7c], 2
mov byte [esp + 0x7c], 1
call fcn.004207c0
add esp, 0x1c
cmp eax, ebx
jne 0x420b35
mov edi, 4
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], esi
jb 0x420aff
mov eax, dword [esp + 0x3c]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x420b29
mov edx, dword [esp + 0x20]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov word [esp + 0x20], ax
jmp 0x420c77
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x420b43
lea eax, [esp + 0x3c]
call fcn.0046ce70
test eax, eax
jne 0x420b9c
lea edi, [eax + 5]
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], esi
jb 0x420b66
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x420b90
mov eax, dword [esp + 0x20]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov word [esp + 0x20], cx
jmp 0x420c77
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x420baa
lea eax, [esp + 0x3c]
push eax
call fcn.004097c0
cmp eax, ebx
je 0x420c2a
push str.RunTip
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x420bfc
call fcn.00420980
push ebx
push ebx
push eax
call esi
mov edi, eax
neg edi
sbb edi, edi
add edi, 2
mov byte [esp + 0x60], bl
lea esi, [esp + 0x38]
call fcn.00428ca0
mov dword [esp + 0x60], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.00428ca0
jmp 0x420c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
add edi, 0x6acfc0
mov byte [esp + 0x60], bl
lea esi, [esp + 0x38]
call fcn.00428ca0
mov dword [esp + 0x60], 0xffffffff
lea esi, [esp + 0x1c]
call fcn.00428ca0
jmp 0x420c7f
mov edi, 6
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], esi
jb 0x420c46
mov edx, dword [esp + 0x3c]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x420c70
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov word [esp + 0x20], dx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
push edi
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 6
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.runtip
mov word [esi + 4], ax
call fcn.00402bd0
mov dword [esp + 0x80], 3
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
push 6
xor ecx, ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.kittip
mov word [esi + 4], cx
call fcn.00402bd0
mov byte [esp + 0x9c], 4
mov dword [esp + 0x9c], 0xffffffff
call fcn.00404570
xor eax, eax
add esp, 0x3c
cmp edi, 1
sete al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00471eba
add esp, 0x50
ret