Function at 0x484790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4f3168]
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 edi, ecx
mov dword [ebp - 0x94], edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xe4], eax
call dword [0x4b42d0]
test eax, eax
je 0x485052
lea ecx, [ebp - 0x12c]
call fcn.00487d20
push 0x4befac
push esi
mov dword [ebp - 4], 0
call fcn.00491094
mov esi, eax
add esp, 8
mov ebx, 1
test esi, esi
je 0x48501b
push ebx
push esi
lea ecx, [ebp - 0x12c]
call fcn.00488ca0
push esi
mov bl, al
call fcn.0049007c
add esp, 4
test bl, bl
je 0x485016
lea ecx, [ebp - 0x12c]
call fcn.00488bd0
test eax, eax
je 0x48500b
mov ecx, eax
call fcn.00488bd0
mov ebx, eax
mov dword [ebp - 0x98], ebx
test ebx, ebx
je 0x48500b
lea ebx, [ebx]
cmp byte [edi + 0x2c], 0
jne 0x48500b
lea ecx, [ebp - 0xe0]
call fcn.0047a910
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push str.tips
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00488450
mov edx, eax
test edx, edx
je 0x4848f4
cmp byte [edx], 0
jne 0x4848dc
xor ecx, ecx
jmp 0x4848ea
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4848e1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404660
push str.type
mov ecx, ebx
call fcn.00488450
mov edx, eax
test edx, edx
je 0x484927
cmp byte [edx], 0
jne 0x48490f
xor ecx, ecx
jmp 0x48491d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484914
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00404660
push 0x4cbc08
mov ecx, ebx
call fcn.00488450
mov edx, eax
test edx, edx
je 0x48495a
cmp byte [edx], 0
jne 0x484942
xor ecx, ecx
jmp 0x484950
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484947
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00404660
push str.qqencode
mov ecx, ebx
call fcn.00488450
mov edx, eax
test edx, edx
je 0x484993
cmp byte [edx], 0
jne 0x484975
xor ecx, ecx
jmp 0x484989
mov ecx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484980
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404660
cmp dword [ebp - 0x18], 0
jbe 0x484f59
cmp dword [ebp - 0x48], 0
jbe 0x484f59
cmp dword [ebp - 0x60], 0
jbe 0x484f59
cmp dword [ebp - 0x14], 0x10
jb 0x4849c8
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x4849cb
mov esi, dword [0x4b4290]
xor edi, edi
jmp 0x484a23
lea ebx, [ebp - 0x28]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [0x4b4290]
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.0048bae7
lea ecx, [esi*2 + 2]
push ecx
mov edi, eax
push 0
push edi
call fcn.0048d890
add esp, 0x10
push esi
mov esi, dword [0x4b4290]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
push edi
lea ecx, [ebp - 0xcc]
call fcn.00401dd0
test edi, edi
je 0x484a3c
push edi
call fcn.0048bca1
add esp, 4
cmp dword [ebp - 0x44], 0x10
jb 0x484a4d
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x484a50
xor edi, edi
jmp 0x484aa4
lea ebx, [ebp - 0x58]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
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.0048bae7
lea ecx, [esi*2 + 2]
push ecx
mov edi, eax
push 0
push edi
call fcn.0048d890
add esp, 0x10
push esi
mov esi, dword [0x4b4290]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
push edi
lea ecx, [ebp - 0xc8]
call fcn.00401dd0
test edi, edi
je 0x484abd
push edi
call fcn.0048bca1
add esp, 4
cmp dword [ebp - 0x5c], 0x10
jb 0x484ace
mov ebx, dword [ebp - 0x70]
test ebx, ebx
jne 0x484ad1
xor edi, edi
jmp 0x484b25
lea ebx, [ebp - 0x70]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
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.0048bae7
lea ecx, [esi*2 + 2]
push ecx
mov edi, eax
push 0
push edi
call fcn.0048d890
add esp, 0x10
push esi
mov esi, dword [0x4b4290]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
push edi
lea ecx, [ebp - 0xd0]
call fcn.00401dd0
test edi, edi
je 0x484b3e
push edi
call fcn.0048bca1
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x484b51
lea ecx, [ebp - 0xc4]
call fcn.004027d0
jmp 0x484bd0
cmp dword [ebp - 0x2c], 0x10
jb 0x484b62
mov ebx, dword [ebp - 0x40]
test ebx, ebx
jne 0x484b65
xor edi, edi
jmp 0x484bb7
lea ebx, [ebp - 0x40]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
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.0048bae7
lea ecx, [esi*2 + 2]
push ecx
mov edi, eax
push 0
push edi
call fcn.0048d890
add esp, 0x10
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [0x4b4290]
push edi
lea ecx, [ebp - 0xc4]
call fcn.00401dd0
test edi, edi
je 0x484bd0
push edi
call fcn.0048bca1
add esp, 4
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0x8c]
push eax
push str.weight
mov ecx, esi
mov dword [ebp - 0x8c], 0
call fcn.00488480
movzx eax, word [ebp - 0x8c]
mov ebx, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, ebx
mov dword [ebp - 0x8c], 0
call fcn.0046f3d0
mov eax, dword [ebx]
cmp dword [ebp - 0xc0], eax
je 0x484c36
mov eax, 1
jmp 0x484c56
lea eax, [ebp - 0x8c]
push eax
push str.active
mov ecx, esi
call fcn.00488480
movzx eax, word [ebp - 0x8c]
neg eax
sbb eax, eax
neg eax
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x8c]
push eax
push str.IsSysDef
mov ecx, esi
call fcn.00488480
mov ax, word [ebp - 0x8c]
push 0x4b46cc
lea ecx, [ebp - 0x90]
mov word [ebp - 0xd2], ax
mov dword [ebp - 0x8c], 0
call fcn.00401930
lea ecx, [ebp - 0xbc]
call fcn.004841e0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.00401cd0
mov ecx, esi
call fcn.00488bd0
mov ebx, eax
mov dword [ebp - 0x9c], ebx
test ebx, ebx
je 0x484e6d
mov esi, dword [ebp - 0x94]
cmp byte [esi + 0x2c], 0
jne 0x484e6d
push str.word
mov ecx, ebx
call fcn.00488450
push eax
lea ecx, [ebp - 0x88]
call fcn.00401bb0
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 8
jbe 0x484e3e
cmp dword [ebp - 0x74], 0x10
jb 0x484d1a
mov ebx, dword [ebp - 0x88]
test ebx, ebx
jne 0x484d20
xor edi, edi
jmp 0x484d7c
lea ebx, [ebp - 0x88]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [0x4b4290]
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.0048bae7
lea ecx, [esi*2 + 2]
push ecx
mov edi, eax
push 0
push edi
call fcn.0048d890
add esp, 0x10
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [0x4b4290]
mov esi, dword [ebp - 0x94]
push edi
lea ecx, [ebp - 0xb4]
call fcn.00401dd0
test edi, edi
je 0x484d95
push edi
call fcn.0048bca1
add esp, 4
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
cmp dword [eax - 0xc], 0
jne 0x484db5
lea eax, [ebp - 0xb4]
push eax
call fcn.00401cd0
jmp 0x484dd4
push 0x4b49f4
call fcn.004093f0
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x90]
push dword [eax - 0xc]
push eax
call fcn.00402200
mov esi, dword [esi]
push 0xffffffffffffffff
xor bl, bl
push esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 0xa8], bl
call dword [0x4b41c0]
test eax, eax
je 0x484df8
cmp eax, 0x80
jne 0x484e00
mov bl, 1
mov byte [ebp - 0xa8], bl
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 9
call fcn.004844a0
test bl, bl
je 0x484e28
push esi
call dword [0x4b41c4]
mov byte [ebp - 0xa8], 0
mov ebx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 7
jb 0x484e56
push dword [ebp - 0x88]
call fcn.0048bbcf
add esp, 4
mov ecx, ebx
call fcn.00488f00
mov ebx, eax
mov dword [ebp - 0x9c], eax
test ebx, ebx
jne 0x484cd6
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401cd0
mov edi, dword [ebp - 0x94]
push 0xffffffffffffffff
mov esi, dword [edi]
xor bl, bl
push esi
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0xa0], bl
call dword [0x4b41c0]
test eax, eax
je 0x484ea9
cmp eax, 0x80
jne 0x484eb1
mov bl, 1
mov byte [ebp - 0xa0], bl
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x484ecf
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0047b700
test bl, bl
je 0x484ee1
push esi
call dword [0x4b41c4]
mov byte [ebp - 0xa0], 0
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484f0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484f2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484f53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x98]
cmp dword [ebp - 0x2c], 0x10
jb 0x484f6a
push dword [ebp - 0x40]
call fcn.0048bbcf
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x484f8d
push dword [ebp - 0x70]
call fcn.0048bbcf
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x484fb0
push dword [ebp - 0x58]
call fcn.0048bbcf
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x484fd3
push dword [ebp - 0x28]
call fcn.0048bbcf
add esp, 4
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
call fcn.0047aac0
mov ecx, ebx
call fcn.00488f00
mov ebx, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
jne 0x484860
lea ecx, [ebp - 0x12c]
call fcn.004884c0
mov ebx, 1
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp ecx, 0x4f9610
je 0x485043
push ecx
call fcn.0048bca1
add esp, 4
lea ecx, [ebp - 0x12c]
call fcn.00488070
mov eax, ebx
jmp 0x485057
mov eax, 1
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.0048caf4
mov esp, ebp
pop ebp
ret 8