Function at 0x406f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ae7
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x5cb008]
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
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov dword [ebp - 0xd4], 0x708
mov dword [ebp - 4], eax
mov esi, dword [0x5da438]
test esi, esi
jne 0x40703b
push 0x114
call fcn.00414f98
mov esi, eax
add esp, 4
mov dword [ebp - 0x194], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041adf6
mov byte [ebp - 4], 0
mov dword [0x5da438], esi
mov ecx, esi
call fcn.0041afe0
sub esp, 0x18
mov esi, eax
mov edx, esp
mov dword [ebp - 0x194], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x407067
mov eax, dword [edx]
jmp 0x407069
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x40708f
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407080
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00407d50
mov byte [ebp - 4], 2
mov esi, dword [0x5da438]
test esi, esi
jne 0x4070d0
push 0x114
call fcn.00414f98
mov esi, eax
add esp, 4
mov dword [ebp - 0x188], esi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0041adf6
mov byte [ebp - 4], 2
mov dword [0x5da438], esi
mov ecx, esi
call fcn.0041afd1
sub esp, 0x18
mov esi, eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x4070f6
mov eax, dword [edx]
jmp 0x4070f8
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x407116
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407107
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00407d50
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.004095e0
lea ecx, [ebp - 0x210]
call fcn.0042370e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0x49
push 0x5c2738
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00408070
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4071a3
mov eax, dword [ecx]
jmp 0x4071a5
mov eax, ecx
push 0x49
xor edx, edx
push str.http:__gqwmz.chengsi.cn_pdf_xiongmao_56016109d481f72015d0660d037ed88a.dde
mov word [eax], dx
call fcn.00407d50
push 0
lea ecx, [ebp - 0xd4]
call fcn.0040a170
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 0x40721c
lea eax, [ebp - 0x184]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4071fd
mov eax, dword [ecx]
jmp 0x4071ff
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.00407e50
call fcn.0041d95b
add esp, 0x1c
mov edi, eax
jmp 0x407292
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x210]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00423903
lea ecx, [ebp - 0x210]
call fcn.00423b79
mov esi, eax
mov ecx, 1
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmove eax, ecx
mov dword [ebp - 0x184], eax
inc eax
push eax
call fcn.00414fd9
mov edi, eax
add esp, 4
test edi, edi
je 0x4072d9
mov ecx, dword [ebp - 0x184]
inc ecx
push ecx
push 0
push edi
call fcn.004306b0
mov eax, dword [esi + 4]
add esp, 0xc
xor ecx, ecx
sub eax, dword [esi]
je 0x407292
nop
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 0x407280
lea eax, [ebp - 0x190]
mov dword [ebp - 0x18c], 0
push eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x190], 0
push eax
push dword [ebp - 0x184]
push edi
call fcn.0041ea85
add esp, 0x10
cmp dword [ebp - 0x18c], 0
jne 0x407340
test edi, edi
je 0x4072d9
push edi
call fcn.00414f93
add esp, 4
xor esi, esi
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4072f0
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408470
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407ad0
lea ecx, [ebp - 0x210]
call fcn.00423750
lea ecx, [ebp - 0xd4]
call fcn.004094d0
mov eax, esi
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.00414f82
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1dc]
call fcn.00415d20
push 1
push 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1dc]
push dword [ebp - 0x18c]
call fcn.004188d0
push str.b6570be9fee2
lea ecx, [ebp - 0x1dc]
call fcn.00416ac0
test eax, eax
jne 0x40738e
test edi, edi
je 0x407387
push 1
push edi
call fcn.00414fcb
add esp, 8
xor esi, esi
jmp 0x4075e0
push str.d5dda1fd0d59
mov ecx, eax
call fcn.00416ac0
test eax, eax
je 0x4075db
mov ecx, eax
call fcn.00416b00
mov esi, eax
test esi, esi
je 0x4075db
push 0
push str.a971a8d66550
push esi
call fcn.0041e6d4
add esp, 0xc
test al, al
je 0x4075ca
lea ecx, [ebp - 0x180]
call fcn.00407610
push str.a3aac6ac85ec
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push esi
push eax
call fcn.0041e95c
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x17c]
cmp eax, edi
je 0x40743f
mov eax, dword [ebp - 0x168]
cmp eax, 8
jb 0x407416
inc eax
lea ecx, [ebp - 0x17c]
push eax
push dword [ebp - 0x17c]
call fcn.00408470
xor eax, eax
mov dword [ebp - 0x168], 7
push edi
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], 0
mov word [ebp - 0x17c], ax
call fcn.00407f70
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x407458
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push str.c721c259b367
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041e95c
add esp, 0xc
lea ecx, [ebp - 0x164]
push eax
call fcn.004079b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40748b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push str.d7d2e67d82f5
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041e95c
add esp, 0xc
lea ecx, [ebp - 0x14c]
push eax
call fcn.004079b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4074be
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push 1
push str.dd415f2ecfa8
push esi
call fcn.0041e6d4
push 1
push str.f05fc16d7ed8
push esi
mov byte [ebp - 0x17e], al
call fcn.0041e6d4
push 0
push str.c985c6afe92e
push esi
mov byte [ebp - 0x17d], al
call fcn.0041e6d4
push str.c1c19f0e6568
mov byte [ebp - 0x180], al
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041e95c
add esp, 0x30
lea ecx, [ebp - 0x134]
push eax
call fcn.004079b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40752a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push str.dd560fd0b3c8
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041e95c
add esp, 0xc
lea ecx, [ebp - 0x104]
push eax
call fcn.004079b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40755d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push str.d9deabd5c994
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041e95c
add esp, 0xc
lea ecx, [ebp - 0xec]
push eax
call fcn.004079b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x407590
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408470
push 0
push str.a42a40e97149
push esi
call fcn.0041e7eb
mov ecx, dword [ebx]
add esp, 0xc
test eax, eax
setne byte [ebp - 0x17f]
test ecx, ecx
je 0x4075bb
lea eax, [ebp - 0x180]
push eax
call fcn.00407800
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 7
call fcn.00407690
mov ecx, esi
call fcn.00416c20
mov esi, eax
test esi, esi
jne 0x4073b3
mov esi, 1
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5d66b8
je 0x407600
push eax
call fcn.00414f93
add esp, 4
lea ecx, [ebp - 0x1dc]
call fcn.004161c0
jmp 0x4072db