Function at 0x46de90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a3830
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
mov esi, edx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
call dword [0x4a7350]
test eax, eax
je 0x46e72d
lea ecx, [esp + 0x7c]
call fcn.0047ae70
push 0x4ba808
push esi
mov dword [esp + 0x16c], 0
call fcn.0047fbac
mov esi, eax
add esp, 8
test esi, esi
je 0x46e6fa
push 1
push esi
lea ecx, [esp + 0x84]
call fcn.0047af00
push esi
mov bl, al
call fcn.0047fc31
add esp, 4
test bl, bl
je 0x46e6fa
lea ecx, [esp + 0x7c]
call fcn.0047a270
test eax, eax
je 0x46e6f1
mov ecx, eax
call fcn.0047a270
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x46e6f1
jmp 0x46df65
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x2c], 0
mov esi, 0xf
jne 0x46e6f1
lea edi, [esp + 0x4c]
call fcn.0046c230
xor edi, edi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], edi
mov byte [esp + 0xcc], 0
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], edi
mov byte [esp + 0x104], 0
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], edi
mov byte [esp + 0x120], 0
push str.tips
mov ecx, ebx
mov byte [esp + 0x168], 5
call fcn.0047ab60
cmp eax, edi
je 0x46e011
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46dff8
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xd0]
call fcn.00403eb0
push str.type
mov ecx, ebx
call fcn.0047ab60
cmp eax, edi
je 0x46e03f
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46e026
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x108]
call fcn.00403eb0
push 0x4ba854
mov ecx, ebx
call fcn.0047ab60
cmp eax, edi
je 0x46e06d
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46e054
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xec]
call fcn.00403eb0
push str.qqencode
mov ecx, ebx
call fcn.0047ab60
cmp eax, edi
je 0x46e09b
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x46e082
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x124]
call fcn.00403eb0
cmp dword [esp + 0xdc], edi
jbe 0x46e603
cmp dword [esp + 0x114], 0
jbe 0x46e603
cmp dword [esp + 0xf8], 0
jbe 0x46e603
cmp dword [esp + 0xe0], 0x10
jb 0x46e0e3
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x46e0ea
mov ebp, dword [0x4a72d0]
xor ebx, ebx
jmp 0x46e13e
lea edi, [esp + 0xcc]
mov ebp, dword [0x4a72d0]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00485090
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov edx, ebx
lea edi, [esp + 0x60]
call fcn.00404c90
test ebx, ebx
je 0x46e156
push ebx
call fcn.0047fac6
add esp, 4
cmp dword [esp + 0x118], 0x10
jb 0x46e16f
mov edi, dword [esp + 0x104]
test edi, edi
jne 0x46e176
xor ebx, ebx
jmp 0x46e1c4
lea edi, [esp + 0x104]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00485090
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov edx, ebx
lea edi, [esp + 0x64]
call fcn.00404c90
test ebx, ebx
je 0x46e1dc
push ebx
call fcn.0047fac6
add esp, 4
cmp dword [esp + 0xfc], 0x10
jb 0x46e1f5
mov edi, dword [esp + 0xe8]
test edi, edi
jne 0x46e1fc
xor ebx, ebx
jmp 0x46e24a
lea edi, [esp + 0xe8]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00485090
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov edx, ebx
lea edi, [esp + 0x5c]
call fcn.00404c90
test ebx, ebx
je 0x46e262
push ebx
call fcn.0047fac6
add esp, 4
cmp dword [esp + 0x130], 0
jne 0x46e27a
lea esi, [esp + 0x68]
call fcn.00404cd0
jmp 0x46e300
cmp dword [esp + 0x134], 0x10
jb 0x46e293
mov edi, dword [esp + 0x120]
test edi, edi
jne 0x46e29a
xor ebx, ebx
jmp 0x46e2e8
lea edi, [esp + 0x120]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00485090
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebp
mov edx, ebx
lea edi, [esp + 0x68]
call fcn.00404c90
test ebx, ebx
je 0x46e300
push ebx
call fcn.0047fac6
add esp, 4
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
xor esi, esi
push str.weight
mov ecx, ebp
mov dword [esp + 0x20], esi
call fcn.0047ab80
movzx edx, word [esp + 0x18]
lea eax, [esp + 0x74]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x30]
push eax
lea ebx, [esp + 0x60]
mov dword [esp + 0x58], edx
call fcn.0046b7e0
mov ecx, dword [esi + 4]
mov dword [esp + 0x6c], esi
lea esi, [esp + 0x6c]
lea edi, [esp + 0x74]
mov dword [esp + 0x70], ecx
call fcn.0046b870
test al, al
je 0x46e35f
mov word [esp + 0x58], 1
jmp 0x46e384
lea edx, [esp + 0x18]
push edx
push str.active
mov ecx, ebp
call fcn.0047ab80
mov eax, dword [esp + 0x18]
and eax, 0xffff
neg eax
sbb eax, eax
neg eax
mov word [esp + 0x58], ax
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push str.IsSysDef
mov ecx, ebx
call fcn.0047ab80
mov dx, word [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x4aa6a0
mov word [esp + 0x5e], dx
mov dword [esp + 0x1c], 0
call fcn.00404920
lea esi, [esp + 0x3c]
call fcn.0046d920
lea eax, [esp + 0x5c]
lea edi, [esp + 0x48]
mov byte [esp + 0x164], 7
call fcn.00403b10
mov ecx, ebx
call fcn.0047a270
mov ebp, eax
test ebp, ebp
je 0x46e565
lea esp, [esp]
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2c], 0
jne 0x46e565
push str.word
mov ecx, ebp
call fcn.0047ab60
push eax
lea ecx, [esp + 0x13c]
call fcn.004039e0
mov byte [esp + 0x164], 8
cmp dword [esp + 0x14c], 0
jbe 0x46e540
cmp dword [esp + 0x150], 0x10
jb 0x46e446
mov edi, dword [esp + 0x13c]
test edi, edi
jne 0x46e44d
xor ebx, ebx
jmp 0x46e4a3
lea edi, [esp + 0x13c]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x4a72d0]
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047e2d5
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00485090
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x4a72d0]
mov edx, ebx
lea edi, [esp + 0x44]
call fcn.00404c90
test ebx, ebx
je 0x46e4bb
push ebx
call fcn.0047fac6
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
lea edi, [esp + 0x1c]
jne 0x46e4d4
lea eax, [esp + 0x44]
call fcn.00403b10
jmp 0x46e4f1
mov edx, 0x4ba878
call fcn.0040df60
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0040ddc0
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0
call dword [0x4a72cc]
test eax, eax
je 0x46e514
cmp eax, 0x80
jne 0x46e519
mov byte [esp + 0x38], 1
mov byte [esp + 0x164], 9
mov edi, dword [esi + 8]
test edi, edi
je 0x46e537
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0046d1f0
lea esi, [esp + 0x34]
call fcn.0046e860
lea ecx, [esp + 0x138]
mov byte [esp + 0x164], 7
call fcn.00403a20
mov ecx, ebp
call fcn.0047a2e0
mov ebp, eax
test ebp, ebp
jne 0x46e3f0
lea eax, [esp + 0x1c]
lea edi, [esp + 0x60]
call fcn.00403b10
mov edi, dword [esp + 0x24]
mov esi, dword [edi]
push 0xffffffffffffffff
xor bl, bl
push esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], bl
call dword [0x4a72cc]
test eax, eax
je 0x46e596
cmp eax, 0x80
jne 0x46e59c
mov bl, 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x164], 0xa
mov edi, dword [edi + 8]
test edi, edi
je 0x46e5ba
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0046d1f0
test bl, bl
je 0x46e5ca
push esi
call dword [0x4a7128]
mov byte [esp + 0x2c], 0
lea esi, [esp + 0x3c]
mov dword [esp + 0x28], 0
call fcn.0046d970
mov byte [esp + 0x164], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x134], ebx
jb 0x46e621
mov ecx, dword [esp + 0x120]
push ecx
call fcn.0047eacc
add esp, 4
xor edi, edi
cmp dword [esp + 0xfc], ebx
mov esi, 0xf
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], edi
mov byte [esp + 0x120], 0
jb 0x46e657
mov edx, dword [esp + 0xe8]
push edx
call fcn.0047eacc
add esp, 4
cmp dword [esp + 0x118], ebx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
jb 0x46e686
mov eax, dword [esp + 0x104]
push eax
call fcn.0047eacc
add esp, 4
cmp dword [esp + 0xe0], ebx
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], edi
mov byte [esp + 0x104], 0
jb 0x46e6b5
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0047eacc
add esp, 4
mov dword [esp + 0xe0], esi
lea esi, [esp + 0x4c]
mov dword [esp + 0xdc], edi
mov byte [esp + 0xcc], 0
mov byte [esp + 0x164], 0
call fcn.0046c8a0
mov ecx, dword [esp + 0x20]
call fcn.0047a2e0
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x46df61
lea ecx, [esp + 0x7c]
call fcn.0047a140
mov dword [esp + 0x164], 0xffffffff
mov eax, dword [esp + 0xb0]
cmp eax, 0x4dbc60
mov dword [esp + 0x7c], vtable.TiXmlDocument.0
je 0x46e724
push eax
call fcn.0047fac6
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.0047a9a0
mov eax, 1
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x154
ret 4