Function at 0x41dc00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a08c
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x496684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 1
call fcn.004015f0
mov bl, 2
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x41dc67
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41df02
sub esp, 0x1c
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0xe8], esp
push edx
call fcn.004015f0
mov byte [ebp - 4], 3
mov byte [ebp - 4], bl
call fcn.0041db50
add esp, 0x1c
test edx, edx
jl 0x41df02
jg 0x41dcae
cmp eax, 0xa00000
jbe 0x41df02
push 0x488730
mov ebx, 1
lea eax, [ebp + 8]
call fcn.0040bab0
mov esi, eax
test esi, esi
jle 0x41df02
push str..log
lea ecx, [ebp - 0xdc]
call fcn.004055e0
push esi
lea eax, [ebp - 0xc0]
push eax
xor ecx, ecx
lea edx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00401670
push 0xffffffffffffffff
lea edx, [ebp - 0x6c]
push edx
lea ecx, [esi + 1]
lea edx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00401670
mov bl, 6
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0x50]
push eax
push ecx
xor ecx, ecx
lea edx, [ebp - 0x6c]
call fcn.00401670
mov edi, eax
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.004050d0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00405780
push 0x48be20
mov ebx, 1
mov eax, esi
call fcn.0040bab0
push 0xffffffffffffffff
lea edx, [ebp - 0xa4]
mov esi, eax
push edx
lea ecx, [esi + 1]
lea edx, [ebp - 0x6c]
call fcn.00401670
push esi
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00401670
mov edi, eax
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.004050d0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00405780
cmp dword [ebp - 0x90], 0x10
mov eax, dword [ebp - 0xa4]
jae 0x41dda4
lea eax, [ebp - 0xa4]
push eax
call fcn.0042d846
lea edi, [eax + 1]
add esp, 4
cmp edi, 1
jle 0x41dec3
mov bl, 0xa
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004015f0
mov byte [ebp - 4], bl
xor eax, eax
push edi
push str.._d.log
lea edx, [ebp - 0x34]
push 0x20
push edx
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.0042d812
add esp, 0x10
push 1
mov eax, 0x488730
lea ecx, [ebp - 0x50]
call fcn.00402d60
push 0
lea eax, [ebp - 0x6c]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x50]
call fcn.004030f0
lea eax, [ebp - 0x34]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41de30
sub eax, edx
push eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00402d60
cmp dword [ebp - 0x3c], 0x10
mov eax, dword [ebp - 0x50]
jae 0x41de51
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41dea4
sub esp, 0x1c
lea edx, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0xe8], esp
push edx
call fcn.004015f0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
call fcn.0041db50
add esp, 0x1c
test edx, edx
jl 0x41dea4
jg 0x41de8c
cmp eax, 0xa00000
jbe 0x41dea4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00405780
inc edi
cmp edi, 1
jg 0x41ddbb
jmp 0x41dec3
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x88]
call fcn.00405160
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00405780
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.00405780
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.00405780
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00405780
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.00405780
mov edi, dword [ebp - 0xe0]
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x88]
jae 0x41df14
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.004055e0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xe4], 1
mov byte [ebp - 4], 1
call fcn.00405780
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00405780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret