Function at 0x4244c0
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 0x4aef6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x4d500c]
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.004205f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x424667
lea edx, [ecx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00420510
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403f10
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x424587
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42457d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424957
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x424667
lea edx, [ecx + 0x1a]
lea ecx, [ebp - 0xe4]
call fcn.00420510
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403f10
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x4245f5
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4245eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42495c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x424667
lea ecx, [ebp - 0xe4]
call fcn.004209b0
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403f10
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x424656
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42464c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424961
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
jne 0x424667
xor esi, esi
jmp 0x4248fb
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x424690
push 0x5c
lea ecx, [ebp - 0xb0]
call fcn.00409da0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047c56e
add esp, 4
call fcn.0047c54d
cdq
mov esi, 0x3e
idiv esi
mov dword [ebp - 0xe8], edx
call fcn.0047c54d
cdq
idiv esi
mov edi, edx
call fcn.0047c54d
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.00409da0
movsx eax, byte [edi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.00409da0
movsx eax, byte [esi + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
lea ecx, [ebp - 0xb0]
movzx eax, ax
push eax
call fcn.00409da0
lea eax, [ebp - 0xb0]
xor edi, edi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00404010
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 0x424871
mov esi, dword [ebp - 0xb8]
test esi, esi
jne 0x424789
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.00404350
mov esi, dword [ebp - 0xb8]
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00472940
add esp, 0xc
lea eax, [ebp - 0x98]
push edi
push 0x4c65b8
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 0x4247c0
sub eax, edx
mov ecx, SysReAllocString
sar eax, 1
sub ecx, esi
cmp ecx, eax
jb 0x424966
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.0040ab20
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x42484e
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424844
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424957
push edx
push ecx
call fcn.0044b3bd
add esp, 8
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [ebp - 0xa0], xmm0
jmp 0x424730
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xb0]
call fcn.00426b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xb0]
cmp ecx, eax
je 0x4248ba
cmp dword [ebp - 0x9c], 8
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.00404350
mov edx, dword [ebp - 0xb4]
mov esi, 1
cmp edx, 8
jb 0x4248fb
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4248f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42496b
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x424937
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42492d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42496b
push edx
push ecx
call fcn.0044b3bd
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.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047aa50
call fcn.0047aa50
call fcn.0047aa50
call fcn.00401570
call fcn.0047aa50
int3