Function at 0x41ba20
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a02db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0xb0]
call fcn.004183a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41bbc7
lea edx, [ecx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00418220
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405ae0
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41bae7
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41badd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41beb7
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41bbc7
lea edx, [ecx + 0x1a]
lea ecx, [ebp - 0xe4]
call fcn.00418220
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405ae0
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41bb55
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bb4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bebc
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41bbc7
lea ecx, [ebp - 0xe4]
call fcn.00418510
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405ae0
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41bbb6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bbac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bec1
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41bbc7
xor esi, esi
jmp 0x41be5b
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41bbf0
push 0x5c
lea ecx, [ebp - 0xb0]
call fcn.00405950
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0044fc33
add esp, 4
call fcn.0044fc12
cdq
mov esi, 0x3e
idiv esi
mov dword [ebp - 0xe8], edx
call fcn.0044fc12
cdq
idiv esi
mov edi, edx
call fcn.0044fc12
cdq
lea ecx, [ebp - 0xb0]
idiv esi
mov eax, dword [ebp - 0xe8]
mov esi, edx
movsx eax, byte [eax + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movzx eax, ax
push eax
call fcn.00405950
movsx eax, byte [edi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.00405950
movsx eax, byte [esi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.00405950
lea eax, [ebp - 0xb0]
xor edi, edi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00405bc0
mov byte [ebp - 4], 1
nop word [eax + eax]
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bdd1
mov esi, dword [ebp - 0xb8]
test esi, esi
jne 0x41bce9
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00405ec0
mov esi, dword [ebp - 0xb8]
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0043e790
add esp, 0xc
lea eax, [ebp - 0x98]
push edi
push 0x4b6f74
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x98]
add esp, 0xc
inc edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bd20
sub eax, edx
mov ecx, SysReAllocString
sar eax, 1
sub ecx, esi
cmp ecx, eax
jb 0x41bec6
cmp dword [ebp - 0xb4], 8
lea ecx, [ebp - 0xc8]
push eax
cmovae ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x98]
push eax
push esi
push ecx
push ecx
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xe4]
call fcn.00406830
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x41bdae
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bda4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41beb7
push edx
push ecx
call fcn.0043d19d
add esp, 8
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [ebp - 0xa0], xmm0
jmp 0x41bc90
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xb0]
call fcn.0041d000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xb0]
cmp ecx, eax
je 0x41be1a
cmp dword [ebp - 0x9c], 8
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.00405ec0
mov edx, dword [ebp - 0xb4]
mov esi, 1
cmp edx, 8
jb 0x41be5b
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41be51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41becb
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x41be97
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41be8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41becb
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00446380
call fcn.00446380
call fcn.00446380
call fcn.004014a0
call fcn.00446380
int3