Function at 0x424dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db14b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x50bd24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x13c], 0
cmp edi, 0xffffffff
jne 0x424e77
lea ecx, [esi + 4]
call fcn.00420d20
push eax
lea ecx, [ebp - 0x40]
call fcn.004073d0
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
je 0x424e3a
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00423e80
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x425437
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424e68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425456
push edx
push ecx
call fcn.004b4077
add esp, 8
jmp 0x425437
test edi, edi
js 0x425437
mov ecx, dword [esi + 0xf0]
mov eax, 0x92492493
sub ecx, dword [esi + 0xec]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x425437
imul eax, edi, 0x70
lea ecx, [ebp - 0x114]
add eax, dword [esi + 0xec]
push eax
call fcn.00423c40
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x12c]
call fcn.004073d0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4]
call fcn.004073d0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
jne 0x424f2b
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425bb0
add esp, 8
mov dword [ebp - 0x13c], 1
cmp dword [eax + 0x14], 8
jb 0x424f19
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x12d], 1
test eax, eax
jne 0x424f32
mov byte [ebp - 0x12d], 0
test byte [ebp - 0x13c], 1
je 0x424f43
lea ecx, [ebp - 0x40]
call fcn.00416010
cmp byte [ebp - 0x12d], 0
je 0x425286
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.00425bb0
lea ecx, [ebp - 0x88]
add esp, 8
cmp ecx, eax
je 0x424fed
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.00416010
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425bb0
lea ecx, [ebp - 0x70]
add esp, 8
cmp ecx, eax
je 0x425033
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.00416010
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425bb0
lea ecx, [ebp - 0x58]
add esp, 8
cmp ecx, eax
je 0x425079
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.00416010
mov edi, dword [esi + 0xfc]
cmp edi, dword [esi + 0x100]
je 0x4250d9
mov eax, dword [ebp - 0x13c]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x140], edi
call fcn.00415ba0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x1c]
call fcn.00415ba0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x34]
call fcn.00415ba0
add dword [esi + 0xfc], 0x4c
mov byte [ebp - 4], 4
jmp 0x4250ec
lea ecx, [ebp - 0x8c]
push ecx
push edi
lea ecx, [esi + 0xf8]
call fcn.004234b0
lea ecx, [ebp - 0x138]
call fcn.00415c80
mov eax, dword [str.value1]
mov dword [ebp - 0x28], eax
mov ax, word [0x4e2b60]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 6
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00425470
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x42513f
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x138]
call fcn.00415820
mov edx, esi
mov ecx, dword [eax]
add ecx, 0x28
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x425160
sub edx, edi
push edx
push esi
call fcn.00407780
lea ecx, [ebp - 0x40]
call fcn.004072c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4251b0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4251a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42545b
push edx
push ecx
call fcn.004b4077
add esp, 8
mov eax, dword [str.value2]
mov dword [ebp - 0x28], eax
mov ax, word [0x4e354c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 6
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x138]
call fcn.00415820
push 7
push str.success
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00407780
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x425237
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42522d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425460
push edx
push ecx
call fcn.004b4077
add esp, 8
lea eax, [ebp - 0x138]
push eax
push 0x12d
call fcn.00427fa0
mov ecx, eax
call fcn.00428ee0
mov eax, dword [ebp - 0x138]
push dword [eax + 4]
lea eax, [ebp - 0x138]
push eax
mov ecx, eax
call fcn.004157d0
push 0x40
push dword [ebp - 0x138]
call fcn.004b4077
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.00422660
jmp 0x425416
lea ecx, [ebp - 0x138]
call fcn.00415c80
mov eax, dword [str.value1]
mov dword [ebp - 0x28], eax
mov ax, word [0x4e2b60]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 6
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00425470
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x4252d9
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x138]
call fcn.00415820
mov edx, esi
mov ecx, dword [eax]
add ecx, 0x28
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x425300
sub edx, edi
push edx
push esi
call fcn.00407780
lea ecx, [ebp - 0x40]
call fcn.004072c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x425350
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425465
push edx
push ecx
call fcn.004b4077
add esp, 8
mov eax, dword [str.value2]
mov dword [ebp - 0x28], eax
mov ax, word [0x4e354c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 6
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x138]
call fcn.00415820
push 4
push str.fail
mov ecx, dword [eax]
add ecx, 0x28
call fcn.00407780
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x4253d7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4253cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42546a
push edx
push ecx
call fcn.004b4077
add esp, 8
lea eax, [ebp - 0x138]
push eax
push 0x12d
call fcn.00427fa0
mov ecx, eax
call fcn.00428ee0
mov eax, dword [ebp - 0x138]
push dword [eax + 4]
lea eax, [ebp - 0x138]
push eax
mov ecx, eax
call fcn.004157d0
push 0x40
push dword [ebp - 0x138]
call fcn.004b4077
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.004072c0
lea ecx, [ebp - 0x12c]
call fcn.004072c0
lea ecx, [ebp - 0x114]
call fcn.00423d60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b42e4
mov esp, ebp
pop ebp
ret 0xc
call fcn.004b905f
call fcn.004b905f
call fcn.004b905f
call fcn.004b905f
call fcn.004b905f
int3