Function at 0x402410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591b11
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
xor eax, eax
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 7
mov word [ebp - 0x1ac], ax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], 7
mov word [ebp - 0x194], ax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], 7
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x1b0], 0x708
mov dword [ebp - 4], eax
mov esi, dword [0x624060]
test esi, esi
jne 0x402503
push 0x120
call fcn.00565c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c8], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00412ddc
mov byte [ebp - 4], 0
mov dword [esi], vtable.CConfigure.0
mov dword [0x624060], esi
mov ecx, esi
call fcn.004130f1
sub esp, 0x18
mov esi, eax
mov edx, esp
mov dword [ebp - 0x1c8], esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402530
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00401730
mov byte [ebp - 4], 2
mov esi, dword [0x624060]
test esi, esi
jne 0x402586
push 0x120
call fcn.00565c1a
mov esi, eax
add esp, 4
mov dword [ebp - 0x1b8], esi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00412ddc
mov byte [ebp - 4], 2
mov dword [esi], vtable.CConfigure.0
mov dword [0x624060], esi
mov ecx, esi
call fcn.004130e2
sub esp, 0x18
mov esi, eax
mov edx, esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
lea edi, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4025b0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00401730
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0
call fcn.004056b0
lea ecx, [ebp - 0x244]
call fcn.0041bb8e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0x45
push 0x6125b0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00401870
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x45
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.https:__qywji.kfollow.com_pdf_bk_a4eb0ee2722b305b39b102508a0cba43.bab
mov word [ecx], ax
call fcn.00401730
push 0
lea ecx, [ebp - 0x1b0]
call fcn.004065f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402697
lea eax, [ebp - 0x1b4]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00403190
call fcn.00415e43
add esp, 0x1c
mov edi, eax
jmp 0x402715
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x244]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0041befb
lea ecx, [ebp - 0x244]
call fcn.0041c24c
mov esi, eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebp - 0x1b4], eax
jne 0x4026d7
mov dword [ebp - 0x1b4], 1
mov eax, 1
inc eax
push eax
call fcn.00565f1a
mov edi, eax
add esp, 4
test edi, edi
je 0x40275c
mov ecx, dword [ebp - 0x1b4]
inc ecx
push ecx
push 0
push edi
call fcn.0056c410
mov eax, dword [esi + 4]
add esp, 0xc
xor ecx, ecx
sub eax, dword [esi]
je 0x402715
mov eax, dword [esi]
mov al, byte [ecx + eax]
mov byte [ecx + edi], al
inc ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp ecx, eax
jb 0x402703
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1bc], 0
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1c0], 0
push eax
push dword [ebp - 0x1b4]
push edi
call fcn.00416caa
add esp, 0x10
cmp dword [ebp - 0x1bc], 0
jne 0x4027a1
test edi, edi
je 0x40275c
push edi
call fcn.00565f15
add esp, 4
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.004015f0
lea ecx, [ebp - 0x58]
call fcn.004016a0
lea ecx, [ebp - 0x244]
call fcn.0041bc0f
lea ecx, [ebp - 0x1b0]
call fcn.00405520
mov eax, esi
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.00565c09
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.0055c330
push 1
push 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x210]
push dword [ebp - 0x1bc]
call fcn.0055eeb0
push str.e44e5aba8e1f
lea ecx, [ebp - 0x210]
call fcn.0055d0d0
test eax, eax
jne 0x4027ef
test edi, edi
je 0x4027e8
push 1
push edi
call fcn.00565ee4
add esp, 8
xor esi, esi
jmp 0x402ddc
push str.c0794056c9a5
mov ecx, eax
call fcn.0055d0d0
test eax, eax
je 0x402dd7
mov ecx, eax
call fcn.0055d110
mov esi, eax
test esi, esi
je 0x402dd7
push 0
push str.ff3bc40c3ed9
push esi
call fcn.004168b8
add esp, 0xc
test al, al
je 0x402dc6
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x78], eax
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
push str.c211cc2135b7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x130]
cmp eax, edi
je 0x402945
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x120], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40297f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402975
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.a58a17d09d9b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x118]
cmp eax, edi
je 0x4029ce
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x108], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402a08
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4029fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.d19d47d0dbbc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x100]
cmp eax, edi
je 0x402a57
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0xf0], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402a91
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push 1
push str.a8a277f7efb0
push esi
call fcn.004168b8
push 1
push str.f8f689ceb91c
push esi
mov byte [ebp - 0x132], al
call fcn.004168b8
push 0
push str.c2c0dd0a0069
push esi
mov byte [ebp - 0x131], al
call fcn.004168b8
push str.f020fa1ced1b
mov byte [ebp - 0x134], al
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0x30
lea eax, [ebp - 0xe8]
cmp eax, edi
je 0x402b19
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0xd8], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402b53
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.f04f4a283277
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0xb8]
cmp eax, edi
je 0x402ba2
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0xa8], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402bdc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.f731f8f39d28
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0xa0]
cmp eax, edi
je 0x402c2b
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x90], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402c65
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push 0
push str.a312aebdb3af
push esi
call fcn.00416976
test eax, eax
lea eax, [ebp - 0x28]
push str.ddc5cbbc4c7d
push esi
push eax
setne byte [ebp - 0x133]
call fcn.00416ad3
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x88]
cmp eax, edi
je 0x402cc7
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x78], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402d01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402cf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.ee7c4556b46f
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00416ad3
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x402d47
mov ecx, eax
call fcn.004015f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x60], xmm0
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402d81
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e0c
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov eax, dword [ebp - 0x1c4]
mov edi, dword [eax]
test edi, edi
je 0x402db7
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x134]
push ecx
cmp dword [edi + 8], eax
je 0x402daf
mov edx, eax
call fcn.004035a0
add esp, 4
add dword [edi + 4], 0xdc
jmp 0x402db7
push eax
mov ecx, edi
call fcn.004036a0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 7
call fcn.00402e20
mov ecx, esi
call fcn.0055d230
mov esi, eax
test esi, esi
jne 0x402814
mov esi, 1
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x623274
je 0x402dfc
push eax
call fcn.00565f15
add esp, 4
lea ecx, [ebp - 0x210]
call fcn.0055c7d0
jmp 0x40275e
call fcn.0056e889
int3