Function at 0x48db50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cfb80
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
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 [0x4d5364]
test eax, eax
je 0x48e3ed
lea ecx, [esp + 0x7c]
call fcn.004a5580
push 0x4ec138
push esi
mov dword [esp + 0x16c], 0
call fcn.004a9e31
mov esi, eax
add esp, 8
test esi, esi
je 0x48e3ba
push 1
push esi
lea ecx, [esp + 0x84]
call fcn.004a5610
push esi
mov bl, al
call fcn.004a945d
add esp, 4
test bl, bl
je 0x48e3ba
lea ecx, [esp + 0x7c]
call fcn.004a4a60
test eax, eax
je 0x48e3b1
mov ecx, eax
call fcn.004a4a60
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x48e3b1
jmp 0x48dc25
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x2c], 0
mov esi, 0xf
jne 0x48e3b1
lea edi, [esp + 0x4c]
call fcn.00480690
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.004a5270
cmp eax, edi
je 0x48dcd1
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x48dcb8
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xd0]
call fcn.00406e50
push str.type
mov ecx, ebx
call fcn.004a5270
cmp eax, edi
je 0x48dcff
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x48dce6
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x108]
call fcn.00406e50
push 0x4e32ac
mov ecx, ebx
call fcn.004a5270
cmp eax, edi
je 0x48dd2d
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x48dd14
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xec]
call fcn.00406e50
push str.qqencode
mov ecx, ebx
call fcn.004a5270
cmp eax, edi
je 0x48dd5b
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x48dd42
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x124]
call fcn.00406e50
cmp dword [esp + 0xdc], edi
jbe 0x48e2c3
cmp dword [esp + 0x114], 0
jbe 0x48e2c3
cmp dword [esp + 0xf8], 0
jbe 0x48e2c3
cmp dword [esp + 0xe0], 0x10
jb 0x48dda3
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x48ddaa
mov ebp, dword [0x4d52d4]
xor ebx, ebx
jmp 0x48ddfe
lea edi, [esp + 0xcc]
mov ebp, dword [0x4d52d4]
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.004a895b
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.004b0720
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.00406420
test ebx, ebx
je 0x48de16
push ebx
call fcn.004a92e9
add esp, 4
cmp dword [esp + 0x118], 0x10
jb 0x48de2f
mov edi, dword [esp + 0x104]
test edi, edi
jne 0x48de36
xor ebx, ebx
jmp 0x48de84
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.004a895b
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.004b0720
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.00406420
test ebx, ebx
je 0x48de9c
push ebx
call fcn.004a92e9
add esp, 4
cmp dword [esp + 0xfc], 0x10
jb 0x48deb5
mov edi, dword [esp + 0xe8]
test edi, edi
jne 0x48debc
xor ebx, ebx
jmp 0x48df0a
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.004a895b
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.004b0720
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.00406420
test ebx, ebx
je 0x48df22
push ebx
call fcn.004a92e9
add esp, 4
cmp dword [esp + 0x130], 0
jne 0x48df3a
lea esi, [esp + 0x68]
call fcn.00406710
jmp 0x48dfc0
cmp dword [esp + 0x134], 0x10
jb 0x48df53
mov edi, dword [esp + 0x120]
test edi, edi
jne 0x48df5a
xor ebx, ebx
jmp 0x48dfa8
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.004a895b
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.004b0720
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.00406420
test ebx, ebx
je 0x48dfc0
push ebx
call fcn.004a92e9
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.004a5290
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.00482e40
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.0049bf60
test al, al
je 0x48e01f
mov word [esp + 0x58], 1
jmp 0x48e044
lea edx, [esp + 0x18]
push edx
push str.active
mov ecx, ebp
call fcn.004a5290
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.004a5290
mov dx, word [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x4e355c
mov word [esp + 0x5e], dx
mov dword [esp + 0x1c], 0
call fcn.004062e0
lea esi, [esp + 0x3c]
call fcn.0048d610
lea eax, [esp + 0x5c]
lea edi, [esp + 0x48]
mov byte [esp + 0x164], 7
call fcn.00406aa0
mov ecx, ebx
call fcn.004a4a60
mov ebp, eax
test ebp, ebp
je 0x48e225
lea esp, [esp]
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2c], 0
jne 0x48e225
push str.word
mov ecx, ebp
call fcn.004a5270
push eax
lea ecx, [esp + 0x13c]
call fcn.00406840
mov byte [esp + 0x164], 8
cmp dword [esp + 0x14c], 0
jbe 0x48e200
cmp dword [esp + 0x150], 0x10
jb 0x48e106
mov edi, dword [esp + 0x13c]
test edi, edi
jne 0x48e10d
xor ebx, ebx
jmp 0x48e163
lea edi, [esp + 0x13c]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x4d52d4]
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.004a895b
mov ebx, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.004b0720
add esp, 0xc
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x4d52d4]
mov edx, ebx
lea edi, [esp + 0x44]
call fcn.00406420
test ebx, ebx
je 0x48e17b
push ebx
call fcn.004a92e9
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
lea edi, [esp + 0x1c]
jne 0x48e194
lea eax, [esp + 0x44]
call fcn.00406aa0
jmp 0x48e1b1
mov edx, 0x4e35a4
call fcn.004090b0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004092d0
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 [0x4d52f0]
test eax, eax
je 0x48e1d4
cmp eax, 0x80
jne 0x48e1d9
mov byte [esp + 0x38], 1
mov byte [esp + 0x164], 9
mov edi, dword [esi + 8]
test edi, edi
je 0x48e1f7
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0048ab40
lea esi, [esp + 0x34]
call fcn.00475d40
lea ecx, [esp + 0x138]
mov byte [esp + 0x164], 7
call fcn.00406880
mov ecx, ebp
call fcn.004a4ad0
mov ebp, eax
test ebp, ebp
jne 0x48e0b0
lea eax, [esp + 0x1c]
lea edi, [esp + 0x60]
call fcn.00406aa0
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 [0x4d52f0]
test eax, eax
je 0x48e256
cmp eax, 0x80
jne 0x48e25c
mov bl, 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x164], 0xa
mov edi, dword [edi + 8]
test edi, edi
je 0x48e27a
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0048ab40
test bl, bl
je 0x48e28a
push esi
call dword [0x4d5120]
mov byte [esp + 0x2c], 0
lea esi, [esp + 0x3c]
mov dword [esp + 0x28], 0
call fcn.0048d660
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 0x48e2c3
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 0x48e2e1
mov ecx, dword [esp + 0x120]
push ecx
call fcn.004a91d0
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 0x48e317
mov edx, dword [esp + 0xe8]
push edx
call fcn.004a91d0
add esp, 4
cmp dword [esp + 0x118], ebx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
jb 0x48e346
mov eax, dword [esp + 0x104]
push eax
call fcn.004a91d0
add esp, 4
cmp dword [esp + 0xe0], ebx
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], edi
mov byte [esp + 0x104], 0
jb 0x48e375
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004a91d0
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.00480c00
mov ecx, dword [esp + 0x20]
call fcn.004a4ad0
cmp eax, edi
mov dword [esp + 0x20], eax
jne 0x48dc21
lea ecx, [esp + 0x7c]
call fcn.004a4990
mov dword [esp + 0x164], 0xffffffff
mov eax, dword [esp + 0xb0]
cmp eax, 0x50c468
mov dword [esp + 0x7c], vtable.TiXmlDocument.0
je 0x48e3e4
push eax
call fcn.004a92e9
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.004a5130
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.004a91d5
add esp, 0x154
ret 4