Function at 0x41db6a
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
mov eax, 0x439e88
call fcn.00437bf0
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.00402c6d
mov edi, 0x14d
lea ecx, [ebp - 0x1c]
push edi
mov byte [ebp - 4], 1
call fcn.00403003
mov cx, word [eax]
xor edx, edx
push 0x3a
cmp cx, 0x63
pop esi
jne 0x41dbc8
cmp word [eax + 2], 0x6d
jne 0x41dbc8
cmp word [eax + 4], 0x64
jne 0x41dbc8
cmp word [eax + 6], si
jne 0x41dbc8
push 4
pop edx
cmp cx, 0x72
jne 0x41dbe5
cmp word [eax + 2], 0x75
jne 0x41dbe5
cmp word [eax + 4], 0x6e
jne 0x41dbe5
cmp word [eax + 6], si
jne 0x41dbe5
push 4
pop edx
cmp cx, 0x63
jne 0x41dc02
cmp word [eax + 2], 0x70
jne 0x41dc02
cmp word [eax + 4], 0x79
jne 0x41dc02
cmp word [eax + 6], si
jne 0x41dc02
push 4
pop edx
cmp cx, 0x72
jne 0x41dc44
cmp word [eax + 2], 0x75
jne 0x41dc44
cmp word [eax + 4], 0x6e
jne 0x41dc44
cmp word [eax + 8], si
jne 0x41dc44
mov cx, word [eax + 6]
cmp cx, 0x78
jne 0x41dc29
push 5
pop edx
cmp cx, 0x61
jne 0x41dc32
push 5
pop edx
cmp cx, 0x58
jne 0x41dc3b
push 5
pop edx
cmp cx, 0x41
jne 0x41dc44
push 5
pop edx
cmp edx, ebx
jne 0x41dc4f
xor esi, esi
jmp 0x41df45
lea esi, [eax + edx*2]
cmp esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jne 0x41dc60
xor eax, eax
jmp 0x41dc63
push esi
call ebx
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00402dfd
mov esi, 0x4561e8
lea ecx, [ebp + 8]
push esi
push 0x4442b4
call fcn.0040348c
push esi
push 0x4442f4
lea ecx, [ebp + 8]
call fcn.0040348c
lea eax, [ebp + 8]
push eax
call fcn.004263b5
pop ecx
lea eax, [ebp + 8]
push dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00402c6d
call fcn.0041da9c
pop ecx
test eax, eax
pop ecx
je 0x41dcbc
mov esi, eax
jmp 0x41df45
lea eax, [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00402e92
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403003
mov esi, eax
push esi
call ebx
cmp word [esi], 0x22
jne 0x41dcf5
push 1
pop ecx
cmp eax, ecx
jle 0x41dcf5
lea edi, [esi + 2]
mov edx, edi
cmp word [edx], 0x22
je 0x41dd0c
inc ecx
inc edx
inc edx
cmp ecx, eax
jl 0x41dce8
xor ecx, ecx
test eax, eax
jle 0x41dd1a
mov edx, esi
cmp word [edx], 0x20
je 0x41dd15
inc ecx
inc edx
inc edx
cmp ecx, eax
jl 0x41dcfd
jmp 0x41dd1a
and word [esi + ecx*2], 0
mov esi, edi
jmp 0x41dd1a
and word [esi + ecx*2], 0
test esi, esi
jne 0x41dd22
xor eax, eax
jmp 0x41dd25
push esi
call ebx
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00402dfd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x454dc0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00402c6d
call fcn.0041da9c
xor ebx, ebx
pop ecx
cmp eax, ebx
pop ecx
jne 0x41dcb5
lea eax, [ebp + 8]
push eax
call fcn.004263b5
pop ecx
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00402c6d
call fcn.0041da34
pop ecx
cmp eax, ebx
pop ecx
jne 0x41dcb5
lea eax, [ebp - 0x14]
push 1
mov esi, dword [sym.imp.SHELL32.dll_ExtractIconExW]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x41ddb4
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41ddd2
push edi
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00402c6d
call fcn.0041d9d7
add esp, 0xc
jmp 0x41dcb5
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.00402c6d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 2
call fcn.00402c6d
lea eax, [ebp - 0x20]
push eax
call fcn.0040e76d
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp dword [eax - 8], ebx
jne 0x41de9e
push str..exe
lea ecx, [ebp + 0xc]
call fcn.00402d79
lea eax, [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00402c6d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407449
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00402e92
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00402cb3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00402cb3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00402cb3
push edi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00402c6d
call fcn.0041da34
pop ecx
cmp eax, ebx
pop ecx
je 0x41de8e
mov esi, eax
jmp 0x41df2d
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x10]
call esi
mov esi, dword [ebp - 0x14]
cmp esi, ebx
jne 0x41deac
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x41ded1
push edi
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00402c6d
call fcn.0041da34
pop ecx
cmp eax, ebx
pop ecx
jne 0x41de87
push edi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
jmp 0x41df15
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41df2b
push edi
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00402c6d
call fcn.0041da34
pop ecx
cmp eax, ebx
pop ecx
jne 0x41de87
push 1
mov ecx, 0x470598
push dword [ebp + 8]
call fcn.00435400
cmp eax, ebx
je 0x41df2b
push edi
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp + 8]
push eax
call fcn.00402c6d
call fcn.0041d9d7
add esp, 0xc
jmp 0x41de87
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00402cb3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402cb3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret