Function at 0x425230
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46e0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x483390]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483390]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1bc]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
call fcn.00403130
xor ebx, ebx
mov dword [esp + 0x1b4], ebx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425540
lea ecx, [esp + 0x28]
mov esi, vtable.CXMLTree.0
push ecx
mov dword [esp + 0x28], esi
call fcn.00428e20
push 0x104
lea edx, [esp + 0xa4]
push ebx
push edx
call fcn.00446e10
add esp, 0xc
mov byte [esp + 0x1b4], 1
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.00425070
test eax, eax
jne 0x42534c
mov byte [esp + 0x1b4], bl
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], vtable.TiXmlDocument.0
jb 0x425309
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0044423f
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00428220
mov dword [esp + 0x1b4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42555f
lea ecx, [esp + 0x24]
call fcn.00424360
cmp eax, ebx
jne 0x425366
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x24]
call eax
mov esi, dword [eax + 0x18]
cmp esi, ebx
jne 0x425371
xor esi, esi
jmp 0x425388
cmp dword [esi + 0x14], 1
jbe 0x425388
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
push ebx
push esi
lea ecx, [esp + 0x2c]
call eax
mov esi, eax
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4863c4
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x1b4], 2
mov eax, esi
cmp esi, ebx
jne 0x4253ba
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x24]
call eax
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x42547e
cmp dword [eax + 0x14], 1
jbe 0x4253da
mov edx, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x2c]
call eax
mov esi, eax
cmp esi, ebx
je 0x42547e
mov eax, esi
cmp esi, ebx
jne 0x4253f7
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x24]
call eax
cmp dword [eax + 0x38], 0x10
jb 0x425402
mov edx, dword [eax + 0x24]
jmp 0x425405
lea edx, [eax + 0x24]
cmp edx, ebx
jne 0x42540d
xor eax, eax
jmp 0x42541b
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425412
sub eax, edi
mov edi, eax
push edx
lea eax, [esp + 0x20]
call fcn.004032c0
mov ebp, dword [esp + 0x1c]
push str.CONFLICT
push ebp
call fcn.004429b9
add esp, 8
cmp eax, ebx
jne 0x425454
mov edi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x28]
push ecx
call fcn.00425950
test eax, eax
je 0x42550c
mov eax, esi
cmp esi, ebx
jne 0x425467
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x24]
call eax
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x425474
cmp dword [eax + 0x14], 1
ja 0x425467
mov esi, eax
cmp eax, ebx
jne 0x4253e4
lea eax, [ebp - 0x10]
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4254a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], bl
call fcn.00424320
mov dword [esp + 0x1b4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4254dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004426a0
add esp, 0x1a4
ret 4
lea eax, [ebp - 0x10]
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], bl
call fcn.00424320
mov dword [esp + 0x1b4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42556b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4254e2