Function at 0x4703b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57634b
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x478]
mov dword [ebp - 0x114], edi
call fcn.004da940
lea ecx, [ebx + 0x420]
call fcn.004da940
mov eax, dword [ebx + 0x68ff8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
mov dword [edi], eax
push dword [ebx + 0x31c]
call esi
push 0
push 0
push 0x130b
mov dword [edi + 4], eax
push dword [ebx + 0x3a0]
call esi
push 0
mov dword [edi + 8], eax
lea edi, [ebx + 0x4d0]
push 0
push 0x935
mov ecx, edi
mov dword [ebp - 0x124], edi
call fcn.0040d9f0
lea ecx, [ebx + 0x310]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x14c], ecx
lea ecx, [ebx + 0x394]
mov dword [ebp - 0x148], ecx
xor ecx, ecx
mov dword [ebp - 0x120], ecx
lea ecx, [ecx]
mov esi, dword [ebp + ecx*4 - 0x14c]
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x140], esi
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x13c], edx
test edx, edx
je 0x4708f8
push eax
mov ecx, esi
call fcn.00439b00
cmp dword [ebp - 0x120], 0
mov esi, eax
mov dword [ebp - 0x118], esi
jne 0x4704e7
mov eax, dword [ebp - 0x114]
add ebx, 0x478
mov dword [ebp - 0x110], ebx
mov ecx, 0xc
mov ebx, dword [eax + 4]
mov dword [ebp - 0x128], ebx
mov ebx, dword [ebp - 0x12c]
jmp 0x47050d
mov ecx, dword [ebp - 0x114]
lea eax, [ebx + 0x420]
mov dword [ebp - 0x110], eax
mov eax, dword [ecx + 8]
mov ecx, 0x18
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x114]
add eax, ecx
mov dword [ebp - 0x138], eax
call fcn.00439ba0
cmp dword [esi + 0x64], 2
jne 0x470532
push dword [esi + 0xc]
mov ecx, dword [esi]
call fcn.0041af60
test eax, eax
je 0x4708cd
cmp byte [ebp + 0xc], 0
jne 0x470555
cmp dword [esi + 0x88], 8
lea eax, [esi + 0x74]
jb 0x470546
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4708cd
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00470f90
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x470574
lea ebx, [ebp - 0x28]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0041b050
mov edx, eax
mov byte [ebp - 4], 1
add esi, 0xc0
cmp dword [edx + 0x14], 8
lea edi, [ebp - 0x184]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
jb 0x4705a0
mov edx, dword [edx]
mov ecx, dword [ebp - 0x118]
cmp dword [ecx + 0x88], 8
lea esi, [ecx + 0x74]
mov al, byte [ecx + 0x3c]
mov edi, dword [ecx + 0x38]
mov byte [ebp - 0x130], al
jb 0x4705c0
mov esi, dword [esi]
lea eax, [ebp - 0x184]
push eax
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
push edx
push dword [ebp - 0x110]
call fcn.0041b6a0
push eax
push dword [ebp - 0x130]
lea ecx, [ebp - 0x108]
push edi
push ebx
push esi
call fcn.00464860
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x470645
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x47093a
add eax, eax
cmp eax, 0x1000
jb 0x47063c
test cl, 0x1f
jne 0x47093a
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x47093a
sub ecx, eax
cmp ecx, 4
jb 0x47093a
cmp ecx, 0x23
ja 0x47093a
mov ecx, eax
push ecx
call fcn.0052bd72
add esp, 4
mov esi, dword [ebp - 0x118]
xor eax, eax
mov edi, dword [ebp - 0x124]
mov ecx, edi
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov al, byte [esi + 0xb8]
mov byte [ebp - 0x9b], al
push dword [esi + 0x10]
mov dword [ebp - 0x30], 0
push 0
push 0x936
call fcn.0040d9f0
push 0
push 0
push 0x86a
mov ecx, edi
call fcn.0040d9f0
xor ebx, ebx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x10c], ebx
test eax, eax
je 0x470803
push 0
push ebx
push 0x7fe
mov ecx, edi
call fcn.0040d9f0
test eax, 0x1000000
je 0x4707e4
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x10c]
mov esi, dword [ebp - 0xb8]
cmp eax, edx
jae 0x47076f
cmp esi, eax
ja 0x47076f
mov edi, dword [ebp - 0xb0]
mov ebx, eax
sub ebx, esi
sar ebx, 2
cmp edx, edi
jne 0x47074f
mov eax, edi
sub eax, edx
sar eax, 2
cmp eax, 1
jae 0x47074f
sub edx, esi
mov eax, 0x3fffffff
sar edx, 2
sub eax, edx
cmp eax, 1
jb 0x47093f
sub edi, esi
mov eax, 0x3fffffff
sar edi, 2
inc edx
mov ecx, edi
shr ecx, 1
sub eax, ecx
add ecx, edi
cmp eax, edi
sbb eax, eax
not eax
and eax, ecx
cmp eax, edx
jae 0x470737
mov eax, edx
push eax
lea ecx, [ebp - 0xb8]
call fcn.004e3680
mov edx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xb8]
test edx, edx
je 0x47075e
mov eax, dword [esi + ebx*4]
mov dword [edx], eax
mov edx, dword [ebp - 0xb4]
add edx, 4
mov dword [ebp - 0xb4], edx
mov ebx, dword [ebp - 0x10c]
jmp 0x4707e4
mov eax, dword [ebp - 0xb0]
cmp edx, eax
jne 0x4707cf
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x4707cf
sub edx, esi
mov ecx, 0x3fffffff
sar edx, 2
sub ecx, edx
cmp ecx, 1
jb 0x47093f
sub eax, esi
lea edi, [edx + 1]
sar eax, 2
mov ecx, 0x3fffffff
mov edx, eax
shr edx, 1
sub ecx, edx
add edx, eax
cmp ecx, eax
sbb eax, eax
not eax
and eax, edx
cmp eax, edi
jae 0x4707bd
mov eax, edi
push eax
lea ecx, [ebp - 0xb8]
call fcn.004e3680
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x4707db
mov dword [edx], ebx
mov edx, dword [ebp - 0xb4]
add edx, 4
mov dword [ebp - 0xb4], edx
mov edi, dword [ebp - 0x124]
inc ebx
mov dword [ebp - 0x10c], ebx
cmp ebx, dword [ebp - 0x134]
jb 0x4706a8
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x11c], eax
jne 0x470825
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0xac]
push eax
call fcn.004d85c0
jmp 0x47083e
push dword [ebp - 0x110]
mov ecx, esi
call fcn.0041b600
push eax
lea ecx, [ebp - 0xac]
call fcn.00467380
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x108]
push eax
call fcn.00477ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x108]
call fcn.00467220
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4708b9
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x47093a
add eax, eax
cmp eax, 0x1000
jb 0x4708b0
test cl, 0x1f
jne 0x47093a
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x47093a
sub ecx, eax
cmp ecx, 4
jb 0x47093a
cmp ecx, 0x23
ja 0x47093a
mov ecx, eax
push ecx
call fcn.0052bd72
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x12c]
inc eax
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x13c]
jb 0x4704a6
mov ecx, dword [ebp - 0x120]
inc ecx
mov dword [ebp - 0x120], ecx
cmp ecx, 2
jb 0x470480
push dword [ebp - 0x144]
mov ecx, edi
push 0
push 0x936
call fcn.0040d9f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
call fcn.00547c01
push str.vector_T__too_long
call fcn.00515a17
int3