Function at 0x406f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574939
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x3ff
mov dword [ebp - 0x848], edx
mov dword [ebp - 0x820], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x818], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x413]
push 0
push edx
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x838], ecx
mov byte [ebp - 0x414], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x3ff
lea ecx, [ebp - 0x813]
push 0
push ecx
mov byte [ebp - 0x814], 0
call fcn.00549e40
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
push 0x5a52f8
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x40704f
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x40704f
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push 0x5a52f8
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x824], eax
jmp 0x407059
mov dword [ebp - 0x824], 0
push str.1905Cache1
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x40709a
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x40709a
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push str.1905Cache1
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40709c
xor eax, eax
mov edx, dword [ebp - 0x820]
mov ecx, dword [ebp - 0x824]
push edx
push ecx
push eax
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x814]
push str._s_s_s_s.xml
push eax
call fcn.00546876
add esp, 0x18
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x96c]
call fcn.005627e0
push 0
lea ecx, [ebp - 0x96c]
mov dword [ebp - 4], 0
call fcn.00563740
test al, al
je 0x40857b
lea ecx, [ebp - 0x96c]
call fcn.00561e40
mov ecx, eax
call fcn.00561e40
mov dword [ebp - 0x824], eax
test eax, eax
je 0x40857b
jmp 0x407120
mov esi, dword [ebp - 0x824]
mov eax, dword [esi + 0x20]
mov ecx, str.data
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407151
test dl, dl
je 0x40714d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407151
add eax, 2
add ecx, 2
test dl, dl
jne 0x407131
xor eax, eax
jmp 0x407156
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408566
mov ecx, esi
call fcn.00561e40
mov dword [ebp - 0x830], eax
test eax, eax
je 0x408566
mov edx, dword [ebp - 0x830]
mov eax, dword [edx + 0x20]
mov ecx, str.item
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4071a4
test dl, dl
je 0x4071a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4071a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x407184
xor eax, eax
jmp 0x4071a9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408547
mov ecx, dword [ebp - 0x830]
call fcn.00561e40
mov dword [ebp - 0x81c], eax
test eax, eax
je 0x408547
lea ebx, [ebx]
mov edi, dword [ebp - 0x81c]
mov esi, dword [edi + 0x20]
add esi, 8
mov ecx, 0x5a549c
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407203
test dl, dl
je 0x4071ff
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407203
add eax, 2
add ecx, 2
test dl, dl
jne 0x4071e3
xor eax, eax
jmp 0x407208
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40730e
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x898]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x818]
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ebx, dword [edx + 8]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x4072ef
cmp dword [ebx + 0xc], 0
jl 0x4072e2
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4072e2
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40727a
cmp eax, dword [esi]
jne 0x40727a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4072b5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4085cf
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054703f
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4072ce
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x818]
add edi, 0x10
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x81c]
jmp 0x4072ef
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 8]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x898]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x407a2e
mov ecx, str.mdbid
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407335
test dl, dl
je 0x407331
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407335
add eax, 2
add ecx, 2
test dl, dl
jne 0x407315
xor eax, eax
jmp 0x40733a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407440
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x8b0]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x818]
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ebx, dword [edx + 0xc]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x407421
cmp dword [ebx + 0xc], 0
jl 0x407414
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x407414
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4073ac
cmp eax, dword [esi]
jne 0x4073ac
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4073e7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4085cf
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054703f
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407400
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x818]
add edi, 0x10
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x81c]
jmp 0x407421
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 0xc]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x8b0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x407a2e
mov ecx, str.title
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407467
test dl, dl
je 0x407463
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407467
add eax, 2
add ecx, 2
test dl, dl
jne 0x407447
xor eax, eax
jmp 0x40746c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40758a
mov ecx, dword [ebp - 0x81c]
call fcn.00561f30
lea ecx, [ebp - 0x888]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x10
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov edi, dword [ecx]
lea esi, [eax - 0x10]
sub edi, 0x10
mov dword [ebp - 0x82c], ecx
cmp esi, edi
je 0x40755b
cmp dword [edi + 0xc], 0
jl 0x40754b
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40754b
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4074ea
cmp eax, dword [esi]
jne 0x4074ea
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407525
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4085cf
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054703f
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40753e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x82c]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x40755b
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x82c]
push eax
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x888]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40852c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40852c
mov ecx, str.areas
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4075b1
test dl, dl
je 0x4075ad
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4075b1
add eax, 2
add ecx, 2
test dl, dl
jne 0x407591
xor eax, eax
jmp 0x4075b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407666
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x88c]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x818]
add ebx, 0x38
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x407657
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x407645
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407645
push eax
call fcn.0040d710
mov dword [ebp - 0x820], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407625
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x88c]
mov dword [ebx], ecx
jmp 0x407a1e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.0040d560
mov edi, dword [ebp - 0x81c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x88c]
jmp 0x407a1e
mov ecx, 0x5a54b0
mov eax, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407690
test dl, dl
je 0x40768c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407690
add eax, 2
add ecx, 2
test dl, dl
jne 0x407670
xor eax, eax
jmp 0x407695
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407745
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x858]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x818]
add ebx, 0x18
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x407736
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x407724
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407724
push eax
call fcn.0040d710
mov dword [ebp - 0x820], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407704
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x858]
mov dword [ebx], ecx
jmp 0x407a1e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.0040d560
mov edi, dword [ebp - 0x81c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x858]
jmp 0x407a1e
mov ecx, str.cross_img
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407770
test dl, dl
je 0x40776c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407770
add eax, 2
add ecx, 2
test dl, dl
jne 0x407750
xor eax, eax
jmp 0x407775
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407825
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x894]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x818]
add ebx, 0x14
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [ebx]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x407816
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x407804
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407804
push eax
call fcn.0040d710
mov dword [ebp - 0x820], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4077e4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x820]
mov edi, dword [ebp - 0x81c]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x894]
mov dword [ebx], ecx
jmp 0x407a1e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.0040d560
mov edi, dword [ebp - 0x81c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x894]
jmp 0x407a1e
mov ecx, str.score
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407850
test dl, dl
je 0x40784c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407850
add eax, 2
add ecx, 2
test dl, dl
jne 0x407830
xor eax, eax
jmp 0x407855
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407893
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x860]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x34
push eax
mov byte [ebp - 4], 7
call fcn.0040d610
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x860]
jmp 0x407a1e
mov ecx, str.years
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4078c0
test dl, dl
je 0x4078bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4078c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4078a0
xor eax, eax
jmp 0x4078c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407903
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x84c]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x28
push eax
mov byte [ebp - 4], 8
call fcn.0040d610
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84c]
jmp 0x407a1e
mov ecx, str.description
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407930
test dl, dl
je 0x40792c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407930
add eax, 2
add ecx, 2
test dl, dl
jne 0x407910
xor eax, eax
jmp 0x407935
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4079b4
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x868]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov esi, dword [ebp - 0x818]
add esi, 0x1c
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0040d610
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x868]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40798c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
mov ecx, esi
call fcn.0040a280
push 0x5a537c
push 0x5a5380
mov ecx, esi
call fcn.00409f60
push 0x20
mov ecx, esi
call fcn.0040a280
jmp case.default.0x407b7d
mov ecx, str.director
mov eax, esi
jmp 0x4079c0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4079e0
test dl, dl
je 0x4079dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4079e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4079c0
xor eax, eax
jmp 0x4079e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407a43
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x890]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x2c
push eax
mov byte [ebp - 4], 0xa
call fcn.0040d610
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x890]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40852c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp case.default.0x407b7d
mov ecx, str.language
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407a70
test dl, dl
je 0x407a6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407a70
add eax, 2
add ecx, 2
test dl, dl
jne 0x407a50
xor eax, eax
jmp 0x407a75
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407ab8
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x870]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x3c
push eax
mov byte [ebp - 4], 0xb
call fcn.0040d610
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 0
call fcn.0040d7a0
jmp case.default.0x407b7d
mov ecx, str.actor
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407ae0
test dl, dl
je 0x407adc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407ae0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407ac0
xor eax, eax
jmp 0x407ae5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407b28
mov ecx, edi
call fcn.00561f30
lea edx, [ebp - 0x8ac]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0xc
call fcn.0040d610
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 0
call fcn.0040d7a0
jmp case.default.0x407b7d
mov ecx, str.type
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407b50
test dl, dl
je 0x407b4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407b50
add eax, 2
add ecx, 2
test dl, dl
jne 0x407b30
xor eax, eax
jmp 0x407b55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407bba
mov ecx, edi
call fcn.00561f30
push eax
call fcn.0054762f
mov ecx, dword [ebp - 0x818]
mov dword [ecx], eax
add eax, 0xfffffffe
add esp, 4
cmp eax, 3
ja case.default.0x407b7d
jmp dword [eax*4 + 0x4085d4]
push 0x5a54ec
add ecx, 4
call fcn.0040ced0
jmp case.default.0x407b7d
push 0x5a5500
add ecx, 4
call fcn.0040ced0
jmp case.default.0x407b7d
push 0x5a5510
add ecx, 4
call fcn.0040ced0
jmp case.default.0x407b7d
mov ecx, str.newEpisode
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407be1
test dl, dl
je 0x407bdd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407be1
add eax, 2
add ecx, 2
test dl, dl
jne 0x407bc1
xor eax, eax
jmp 0x407be6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407c08
mov ecx, edi
call fcn.00561f30
push eax
call fcn.0054762f
mov edx, dword [ebp - 0x818]
add esp, 4
mov dword [edx + 0x44], eax
jmp case.default.0x407b7d
mov ecx, str.relatefilm
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407c30
test dl, dl
je 0x407c2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407c30
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c10
xor eax, eax
jmp 0x407c35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407fed
cmp dword [ebp - 0x848], eax
je 0x407fed
mov ecx, edi
call fcn.00561e40
mov dword [ebp - 0x828], eax
test eax, eax
je case.default.0x407b7d
mov ebx, dword [ebp - 0x828]
mov eax, dword [ebx + 0x20]
mov ecx, str.item
add eax, 8
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407c90
test dl, dl
je 0x407c8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407c90
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c70
xor eax, eax
jmp 0x407c95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407fd3
mov ecx, ebx
call fcn.00561e40
lea esi, [ebp - 0x91c]
mov edi, eax
call fcn.0040bec0
mov byte [ebp - 4], 0xd
test edi, edi
je 0x407fb3
lea ecx, [ecx]
mov esi, dword [edi + 0x20]
add esi, 8
mov ecx, 0x5a549c
mov eax, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407cf0
test dl, dl
je 0x407cec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407cf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407cd0
xor eax, eax
jmp 0x407cf5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407d35
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x878]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x914]
mov byte [ebp - 4], 0xe
call fcn.0040d610
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 0xd
call fcn.0040d7a0
jmp case.default.0x407f77
mov ecx, str.mdbid
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407d60
test dl, dl
je 0x407d5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407d60
add eax, 2
add ecx, 2
test dl, dl
jne 0x407d40
xor eax, eax
jmp 0x407d65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407da5
mov ecx, edi
call fcn.00561f30
lea edx, [ebp - 0x884]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x910]
mov byte [ebp - 4], 0xf
call fcn.0040d610
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 0xd
call fcn.0040d7a0
jmp case.default.0x407f77
mov ecx, str.title
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407dd0
test dl, dl
je 0x407dcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407dd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407db0
xor eax, eax
jmp 0x407dd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407e15
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x880]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x90c]
mov byte [ebp - 4], 0x10
call fcn.0040d610
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 0xd
call fcn.0040d7a0
jmp case.default.0x407f77
mov ecx, str.description
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407e40
test dl, dl
je 0x407e3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407e40
add eax, 2
add ecx, 2
test dl, dl
jne 0x407e20
xor eax, eax
jmp 0x407e45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407eb8
mov ecx, dword [ebp - 0x81c]
call fcn.00561f30
lea edx, [ebp - 0x850]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x900]
mov byte [ebp - 4], 0x11
call fcn.0040d610
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 0xd
call fcn.0040d7a0
push 0xa
lea ecx, [ebp - 0x900]
call fcn.0040a280
push 0x5a537c
push 0x5a5380
lea ecx, [ebp - 0x900]
call fcn.00409f60
push 0x20
lea ecx, [ebp - 0x900]
call fcn.0040a280
jmp case.default.0x407f77
mov ecx, str.cross_img
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407ee0
test dl, dl
je 0x407edc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407ee0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407ec0
xor eax, eax
jmp 0x407ee5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407f22
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x854]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x908]
mov byte [ebp - 4], 0x12
call fcn.0040d610
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0xd
call fcn.0040d7a0
jmp case.default.0x407f77
mov ecx, str.type
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407f50
test dl, dl
je 0x407f4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407f50
add eax, 2
add ecx, 2
test dl, dl
jne 0x407f30
xor eax, eax
jmp 0x407f55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne case.default.0x407f77
mov ecx, edi
call fcn.00561f30
push eax
call fcn.0054762f
mov dword [ebp - 0x91c], eax
add eax, 0xfffffffe
add esp, 4
cmp eax, 3
ja case.default.0x407f77
jmp dword [eax*4 + 0x4085e4]
push 0x5a54ec
jmp 0x407f91
push 0x5a5500
jmp 0x407f91
push 0x5a5510
lea ecx, [ebp - 0x918]
call fcn.0040ced0
mov ecx, edi
call fcn.00561e70
mov edi, eax
test edi, edi
jne 0x407cc0
mov ebx, dword [ebp - 0x828]
mov edi, dword [ebp - 0x848]
lea ecx, [ebp - 0x91c]
call fcn.0040a7a0
lea eax, [ebp - 0x91c]
mov byte [ebp - 4], 0
call fcn.00408600
mov ecx, ebx
call fcn.00561e70
mov dword [ebp - 0x828], eax
test eax, eax
jne 0x407c5e
jmp 0x40852c
mov ecx, str.ThirdSrc
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408014
test dl, dl
je 0x408010
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408014
add eax, 2
add ecx, 2
test dl, dl
jne 0x407ff4
xor eax, eax
jmp 0x408019
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne case.default.0x407b7d
cmp dword [ebp - 0x844], eax
je case.default.0x407b7d
cmp dword [ebp - 0x838], eax
je case.default.0x407b7d
mov ecx, edi
call fcn.00561e40
mov dword [ebp - 0x828], eax
test eax, eax
je case.default.0x407b7d
mov edi, edi
mov ecx, dword [ebp - 0x828]
mov eax, dword [ecx + 0x20]
mov edx, str.item
add eax, 8
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x408081
test bl, bl
je 0x40807d
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x408081
add eax, 2
add edx, 2
test bl, bl
jne 0x408061
xor eax, eax
jmp 0x408086
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408519
call fcn.00561e40
mov edi, eax
lea esi, [ebp - 0x8a8]
mov dword [ebp - 0x82c], edi
call fcn.0040be30
mov byte [ebp - 4], 0x13
test edi, edi
je 0x4084db
jmp 0x4080ba
mov edi, dword [ebp - 0x82c]
mov esi, dword [edi + 0x20]
add esi, 8
mov ecx, str.episcode
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4080e7
test dl, dl
je 0x4080e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4080e7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4080c7
xor eax, eax
jmp 0x4080ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408334
mov ecx, edi
call fcn.00561e40
mov dword [ebp - 0x820], eax
test eax, eax
je 0x4084c6
lea esp, [esp]
mov edx, dword [eax + 0x20]
mov esi, str.item
add edx, 8
jmp 0x408120
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x408140
test bl, bl
je 0x40813c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x408140
add edx, 2
add esi, 2
test bl, bl
jne 0x408120
xor edx, edx
jmp 0x408145
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x40831a
mov ecx, eax
call fcn.00561e40
mov esi, eax
push 0x5a55b8
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x840], esi
mov dword [ebp - 0x83c], 0
call fcn.0040cf20
mov byte [ebp - 4], 0x14
test esi, esi
je 0x408305
mov edi, dword [ebp - 0x840]
mov esi, dword [edi + 0x20]
mov ecx, 0x5a549c
lea eax, [esi + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4081b3
test dl, dl
je 0x4081af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4081b3
add eax, 2
add ecx, 2
test dl, dl
jne 0x408193
xor eax, eax
jmp 0x4081b8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40820c
mov ecx, edi
call fcn.00561f30
lea edx, [ebp - 0x85c]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x15
call fcn.0040d610
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x85c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408253
mov ecx, str.episodeNumber
lea eax, [esi + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408234
test dl, dl
je 0x408230
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408234
add eax, 2
add ecx, 2
test dl, dl
jne 0x408214
xor eax, eax
jmp 0x408239
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408253
mov ecx, edi
call fcn.00561f30
push eax
call fcn.0054762f
add esp, 4
mov dword [ebp - 0x83c], eax
cmp dword [ebp - 0x83c], 0
je 0x4082e6
lea ecx, [ebp - 0x834]
push ecx
push 0x5a55b8
call fcn.0040a5e0
add esp, 8
test al, al
je 0x4082e6
mov eax, dword [ebp - 0x834]
mov edx, dword [ebp - 0x83c]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x8b8], edx
call fcn.0040d710
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x8b4], esi
mov edx, dword [ebp - 0x838]
lea ecx, [ebp - 0x8b8]
mov byte [ebp - 4], 0x16
call fcn.0040b150
mov ebx, dword [ebp - 0x838]
push eax
lea edi, [ebp - 0x924]
call fcn.0040ada0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x840]
call fcn.00561e70
mov dword [ebp - 0x840], eax
test eax, eax
jne 0x408182
mov edi, dword [ebp - 0x82c]
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0x13
call fcn.0040d7a0
mov eax, dword [ebp - 0x820]
mov ecx, eax
call fcn.00561e70
mov dword [ebp - 0x820], eax
test eax, eax
jne 0x408110
jmp 0x4084c6
mov ecx, str.srcname
mov eax, esi
jmp 0x408340
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408360
test dl, dl
je 0x40835c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408360
add eax, 2
add ecx, 2
test dl, dl
jne 0x408340
xor eax, eax
jmp 0x408365
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40839c
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x864]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x8a4]
mov byte [ebp - 4], 0x17
call fcn.0040d610
lea ecx, [ebp - 0x864]
jmp 0x4084bd
mov ecx, str.srcid
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4083c3
test dl, dl
je 0x4083bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4083c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4083a3
xor eax, eax
jmp 0x4083c8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4083ff
mov ecx, edi
call fcn.00561f30
lea edx, [ebp - 0x86c]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 4], 0x18
call fcn.0040d610
lea ecx, [ebp - 0x86c]
jmp 0x4084bd
mov ecx, str.count
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408426
test dl, dl
je 0x408422
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408426
add eax, 2
add ecx, 2
test dl, dl
jne 0x408406
xor eax, eax
jmp 0x40842b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40845f
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x874]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 0x19
call fcn.0040d610
lea ecx, [ebp - 0x874]
jmp 0x4084bd
mov ecx, str.icon
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408486
test dl, dl
je 0x408482
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408486
add eax, 2
add ecx, 2
test dl, dl
jne 0x408466
xor eax, eax
jmp 0x40848b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4084c6
mov ecx, edi
call fcn.00561f30
lea edx, [ebp - 0x87c]
push edx
mov ebx, eax
call fcn.004046c0
add esp, 4
push eax
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], 0x1a
call fcn.0040d610
lea ecx, [ebp - 0x87c]
mov byte [ebp - 4], 0x13
call fcn.0040d7a0
mov ecx, edi
call fcn.00561e70
mov dword [ebp - 0x82c], eax
test eax, eax
jne 0x4080b4
lea eax, [ebp - 0x8a8]
push eax
push 0x5a55b8
call fcn.0040a5e0
add esp, 8
test al, al
je 0x408504
mov edi, dword [ebp - 0x844]
lea ecx, [ebp - 0x8a8]
call fcn.0040a700
lea esi, [ebp - 0x8a8]
mov byte [ebp - 4], 0
call fcn.00408890
mov ecx, dword [ebp - 0x828]
call fcn.00561e70
mov dword [ebp - 0x828], eax
test eax, eax
jne 0x408050
mov edi, dword [ebp - 0x81c]
mov ecx, edi
call fcn.00561e70
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x4071d0
mov ecx, dword [ebp - 0x830]
call fcn.00561e70
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x407173
mov esi, dword [ebp - 0x824]
mov ecx, esi
call fcn.00561e70
mov dword [ebp - 0x824], eax
test eax, eax
jne 0x407120
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x938]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5e4810
je 0x4085a2
push eax
call fcn.00444c84
add esp, 4
lea ecx, [ebp - 0x96c]
call fcn.005624c0
lea esp, [ebp - 0x97c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret
call fcn.0040d700
test byte [ebx + 0x40], bh
add byte [esi - 1476378501], dl
jnp 0x40861f
add byte [eax + 0x7e00407b], ch
jg 0x408627
add byte [ebp - 0x73ffbf81], al
jg 0x40862f
add byte [edi + edi*2 - 0x3333ffc0], cl
int3
add al, 0xff
ror byte [ebx - 0x177cabba], 1
adc byte [ebp - 0x357cf3b8], cl
push eax
xadd dword [ecx], edx