Function at 0x41f750
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 0x4a7bbb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x4cd00c]
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.0041bef0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41f8f7
lea edx, [ecx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.0041be10
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040a760
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41f817
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f80d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbe7
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41f8f7
lea edx, [ecx + 0x1a]
lea ecx, [ebp - 0xe4]
call fcn.0041be10
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040a760
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41f885
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f87b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbec
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41f8f7
lea ecx, [ebp - 0xe4]
call fcn.0041c060
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040a760
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x41f8e6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f8dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbf1
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x41f8f7
xor esi, esi
jmp 0x41fb8b
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41f920
push 0x5c
lea ecx, [ebp - 0xb0]
call fcn.0040a5d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00451b75
add esp, 4
call fcn.00451b54
cdq
mov esi, 0x3e
idiv esi
mov dword [ebp - 0xe8], edx
call fcn.00451b54
cdq
idiv esi
mov edi, edx
call fcn.00451b54
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.0040a5d0
movsx eax, byte [edi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.0040a5d0
movsx eax, byte [esi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.0040a5d0
lea eax, [ebp - 0xb0]
xor edi, edi
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040a840
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 0x41fb01
mov esi, dword [ebp - 0xb8]
test esi, esi
jne 0x41fa19
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.0040afa0
mov esi, dword [ebp - 0xb8]
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00445940
add esp, 0xc
lea eax, [ebp - 0x98]
push edi
push 0x4be924
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 0x41fa50
sub eax, edx
mov ecx, SysReAllocString
sar eax, 1
sub ecx, esi
cmp ecx, eax
jb 0x41fbf6
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.0040c340
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x41fade
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fad4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbe7
push edx
push ecx
call fcn.0044434d
add esp, 8
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [ebp - 0xa0], xmm0
jmp 0x41f9c0
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xb0]
call fcn.00420d60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xb0]
cmp ecx, eax
je 0x41fb4a
cmp dword [ebp - 0x9c], 8
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.0040afa0
mov edx, dword [ebp - 0xb4]
mov esi, 1
cmp edx, 8
jb 0x41fb8b
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fb81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbfb
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x41fbc7
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fbbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fbfb
push edx
push ecx
call fcn.0044434d
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.00443db6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00447297
call fcn.00447297
call fcn.00447297
call fcn.004015c0
call fcn.00447297
int3