Function at 0x408dc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57477e
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5dbcc8]
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 eax, dword [ebp + 8]
push 0x3ff
lea edx, [ebp - 0x40f]
push 0
push edx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], ecx
mov byte [ebp - 0x410], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x3ff
lea ecx, [ebp - 0x80f]
push 0
push ecx
mov byte [ebp - 0x810], 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 0x408e97
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x408e97
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 - 0x820], eax
jmp 0x408ea1
mov dword [ebp - 0x820], 0
push str.1905Cache1
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x408ee2
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x408ee2
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 0x408ee4
xor eax, eax
mov edx, dword [ebp - 0x824]
mov ecx, dword [ebp - 0x820]
push edx
push ecx
push eax
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x810]
push str._s_s_s_s.xml
push eax
call fcn.00546876
add esp, 0x18
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x894]
call fcn.005627e0
push 0
lea ecx, [ebp - 0x894]
mov dword [ebp - 4], 0
call fcn.00563740
test al, al
je 0x409a46
lea ecx, [ebp - 0x894]
call fcn.00561e40
mov ecx, eax
call fcn.00561e40
mov edi, eax
mov dword [ebp - 0x824], edi
test edi, edi
je 0x409a46
mov edi, edi
mov eax, dword [edi + 0x20]
mov ecx, str.data
add eax, 8
jmp 0x408f70
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408f90
test dl, dl
je 0x408f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x408f70
xor eax, eax
jmp 0x408f95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409a2f
mov ecx, edi
call fcn.00561e40
mov esi, eax
mov dword [ebp - 0x828], esi
test esi, esi
je 0x409a2f
mov eax, dword [esi + 0x20]
mov ecx, str.video
add eax, 8
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408fe0
test dl, dl
je 0x408fdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408fe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x408fc0
xor eax, eax
jmp 0x408fe5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409a18
mov ecx, esi
call fcn.00561e40
mov dword [ebp - 0x820], eax
test eax, eax
je 0x409a18
jmp 0x409016
mov eax, dword [ebp - 0x820]
mov eax, dword [eax + 0x20]
mov ecx, str.item
add eax, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409041
test dl, dl
je 0x40903d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409041
add eax, 2
add ecx, 2
test dl, dl
jne 0x409021
xor eax, eax
jmp 0x409046
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4099f3
mov edx, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x820]
mov dword [edx], 2
call fcn.00561e40
mov edi, eax
mov dword [ebp - 0x818], edi
test edi, edi
je 0x4099f3
mov esi, dword [edi + 0x20]
add esi, 8
mov ecx, str.videoid
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4090a2
test dl, dl
je 0x40909e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4090a2
add eax, 2
add ecx, 2
test dl, dl
jne 0x409082
xor eax, eax
jmp 0x4090a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4091ad
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x848]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ebx, dword [edx + 4]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x40918e
cmp dword [ebx + 0xc], 0
jl 0x409181
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x409181
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409119
cmp eax, dword [esi]
jne 0x409119
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409154
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 0x409a9a
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 0x40916d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x814]
add edi, 0x10
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x818]
jmp 0x40918e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 4]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4099d0
mov ecx, str.title
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4091d4
test dl, dl
je 0x4091d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4091d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4091b4
xor eax, eax
jmp 0x4091d9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4092df
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x84c]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ebx, dword [edx + 0x24]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x4092c0
cmp dword [ebx + 0xc], 0
jl 0x4092b3
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4092b3
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40924b
cmp eax, dword [esi]
jne 0x40924b
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409286
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 0x409a9a
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 0x40929f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x814]
add edi, 0x10
mov dword [eax + 0x24], edi
mov edi, dword [ebp - 0x818]
jmp 0x4092c0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 0x24]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4099d0
mov ecx, 0x5a54b0
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409306
test dl, dl
je 0x409302
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409306
add eax, 2
add ecx, 2
test dl, dl
jne 0x4092e6
xor eax, eax
jmp 0x40930b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409411
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x82c]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ebx, dword [edx + 0x2c]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x4093f2
cmp dword [ebx + 0xc], 0
jl 0x4093e5
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4093e5
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40937d
cmp eax, dword [esi]
jne 0x40937d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4093b8
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 0x409a9a
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 0x4093d1
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x814]
add edi, 0x10
mov dword [eax + 0x2c], edi
mov edi, dword [ebp - 0x818]
jmp 0x4093f2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 0x2c]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x82c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4099d0
mov ecx, str.description
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409438
test dl, dl
je 0x409434
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409438
add eax, 2
add ecx, 2
test dl, dl
jne 0x409418
xor eax, eax
jmp 0x40943d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409584
mov ecx, dword [ebp - 0x818]
call fcn.00561f30
lea ecx, [ebp - 0x834]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edi, dword [ebp - 0x814]
add edi, 0x34
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ebx, dword [edi]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x409530
cmp dword [ebx + 0xc], 0
jl 0x409524
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x409524
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4094b9
cmp eax, dword [esi]
jne 0x4094b9
mov dword [ebp - 0x81c], esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4094fe
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x81c], eax
test eax, eax
je 0x409a9a
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x81c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.0054703f
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409517
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0x81c]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x409530
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
mov ecx, edi
call fcn.0040a280
push 0x5a537c
push 0x5a5380
mov ecx, edi
call fcn.00409f60
push 0x20
mov ecx, edi
call fcn.0040a280
mov edi, dword [ebp - 0x818]
jmp 0x4099dc
mov ecx, str.tags
mov eax, esi
jmp 0x409590
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4095b0
test dl, dl
je 0x4095ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4095b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x409590
xor eax, eax
jmp 0x4095b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4096bb
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x844]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ebx, dword [edx + 0x38]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x40969c
cmp dword [ebx + 0xc], 0
jl 0x40968f
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40968f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409627
cmp eax, dword [esi]
jne 0x409627
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409662
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 0x409a9a
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 0x40967b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x814]
add edi, 0x10
mov dword [eax + 0x38], edi
mov edi, dword [ebp - 0x818]
jmp 0x40969c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edx + 0x38]
call fcn.0040d560
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4099d0
mov ecx, str.playNum
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4096e2
test dl, dl
je 0x4096de
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4096e2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4096c2
xor eax, eax
jmp 0x4096e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40979b
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x83c]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x814]
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [ebx + 0x1c]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40978c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x409779
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409779
push eax
call fcn.0040d710
mov dword [ebp - 0x81c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409758
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x83c]
mov dword [ebx + 0x1c], ecx
jmp 0x4099c0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebx + 0x1c]
call fcn.0040d560
mov edi, dword [ebp - 0x818]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x83c]
jmp 0x4099c0
mov ecx, str.time
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4097c2
test dl, dl
je 0x4097be
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4097c2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4097a2
xor eax, eax
jmp 0x4097c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40987b
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x840]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x814]
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov esi, dword [ebx + 0x10]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40986c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x409859
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409859
push eax
call fcn.0040d710
mov dword [ebp - 0x81c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409838
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x840]
mov dword [ebx + 0x10], ecx
jmp 0x4099c0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebx + 0x10]
call fcn.0040d560
mov edi, dword [ebp - 0x818]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x840]
jmp 0x4099c0
mov ecx, str.flashurl
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4098a2
test dl, dl
je 0x40989e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4098a2
add eax, 2
add ecx, 2
test dl, dl
jne 0x409882
xor eax, eax
jmp 0x4098a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40995b
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x830]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ebx, dword [ebp - 0x814]
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov esi, dword [ebx + 0x60]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40994c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x409939
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409939
push eax
call fcn.0040d710
mov dword [ebp - 0x81c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409918
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
add ecx, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x830]
mov dword [ebx + 0x60], ecx
jmp 0x4099c0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebx + 0x60]
call fcn.0040d560
mov edi, dword [ebp - 0x818]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x830]
jmp 0x4099c0
mov ecx, 0x5a53f8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409982
test dl, dl
je 0x40997e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409982
add eax, 2
add ecx, 2
test dl, dl
jne 0x409962
xor eax, eax
jmp 0x409987
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4099dc
mov ecx, edi
call fcn.00561f30
lea ecx, [ebp - 0x838]
push ecx
mov ebx, eax
call fcn.004046c0
add esp, 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x68
push eax
mov byte [ebp - 4], 9
call fcn.0040d610
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x838]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4099dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00561e70
mov edi, eax
mov dword [ebp - 0x818], eax
test edi, edi
jne 0x409075
mov ecx, dword [ebp - 0x820]
call fcn.00561e70
mov dword [ebp - 0x820], eax
test eax, eax
jne 0x409010
mov edi, dword [ebp - 0x824]
mov esi, dword [ebp - 0x828]
mov ecx, esi
call fcn.00561e70
mov esi, eax
mov dword [ebp - 0x828], eax
test esi, esi
jne 0x408fb4
mov ecx, edi
call fcn.00561e70
mov edi, eax
mov dword [ebp - 0x824], eax
test edi, edi
jne 0x408f60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x860]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x5e4810
je 0x409a6d
push eax
call fcn.00444c84
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.005624c0
lea esp, [ebp - 0x8a4]
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.00545eb2
mov esp, ebp
pop ebp
ret
call fcn.0040d700
int3