Function at 0x42ff10
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5114ce
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
mov edi, ecx
push eax
mov ecx, 0x51d5ec
call fcn.00406d70
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1cc], 0
call fcn.00417a80
add esp, 4
push eax
lea edx, [esp + 0x1c]
push edx
mov ebx, str.config.xml
mov byte [esp + 0x1d0], 1
call fcn.00418040
add esp, 8
mov byte [esp + 0x1c8], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c8], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffe4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430010
mov dword [esp + 0x1c8], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jmp 0x430448
lea ecx, [esp + 0x144]
push ecx
call fcn.004dcfe0
mov byte [esp + 0x1c8], 5
mov eax, dword [esp + 0x18]
push 3
lea edx, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edx
call fcn.00428d80
mov byte [esp + 0x1c8], 6
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x144]
call fcn.004dd090
test al, al
mov byte [esp + 0x1c8], 5
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
sete bl
cmp eax, ecx
je 0x430077
push eax
call fcn.004ead0a
add esp, 4
test bl, bl
je 0x4300ef
mov byte [esp + 0x1c8], 4
cmp dword [esp + 0x1a8], 0x10
mov dword [esp + method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x4300a8
mov edx, dword [esp + 0x194]
push edx
call fcn.004ea82f
add esp, 4
lea ecx, [esp + 0x144]
mov dword [esp + 0x1a8], 0xf
mov dword [esp + 0x1a4], 0
mov byte [esp + 0x194], 0
call fcn.004dc4a0
mov dword [esp + 0x1c8], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x430448
mov ecx, str.Config
lea eax, [esp + 0x144]
call fcn.004dc760
test eax, eax
jne 0x430135
lea ecx, [esp + 0x144]
mov byte [esp + 0x1c8], 4
call fcn.00421040
mov dword [esp + 0x1c8], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x430448
mov ecx, str.Save
call fcn.004dc760
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x43016b
lea ecx, [esp + 0x144]
mov byte [esp + 0x1c8], 4
call fcn.00421040
lea ecx, [esp + 0x18]
call fcn.00406e40
jmp 0x430454
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.00404fe0
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c8], 7
call fcn.00415770
lea edi, [esp + 0x20]
call fcn.00421bd0
mov ebx, dword [esp + 0x20]
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00404fe0
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1c8], 8
call fcn.00415730
mov dword [esp + 0x34], str.DownloadFilePath
mov dword [esp + 0x38], str.BackupDataPath
xor ebp, ebp
jmp 0x4301d5
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + ebp*4 + 0x34]
mov eax, esi
call fcn.004dc760
test eax, eax
je 0x43037f
mov eax, dword [eax + 0x18]
test eax, eax
je 0x43020c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x43020c
cmp dword [eax + 0x38], 0x10
jb 0x430207
mov eax, dword [eax + 0x24]
jmp 0x43020e
add eax, 0x24
jmp 0x43020e
xor eax, eax
lea ecx, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
call fcn.00407870
lea edx, [esp + 0x14]
mov byte [esp + 0x1c8], 9
mov ecx, dword [esp + 0x40]
push edx
call fcn.00406d70
mov byte [esp + 0x1c8], 0xb
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x430253
push eax
call fcn.004ead0a
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00415770
lea edi, [esp + 0x14]
call fcn.00421bd0
lea edx, [esp + 0x20]
push edx
mov eax, edi
call fcn.00435c90
add esp, 4
test al, al
je 0x430294
test ebp, ebp
jne 0x430288
mov byte [0x54834d], 1
jmp 0x430357
mov byte [0x54834c], 1
jmp 0x430357
mov eax, dword [esp + 0x24]
test eax, eax
je 0x430357
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x430357
push eax
push ecx
call fcn.004ec997
add esp, 8
test eax, eax
je 0x430357
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
jne 0x430357
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
test esi, esi
je 0x430357
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00406d70
mov byte [esp + 0x1c8], 0xc
mov edx, dword [esp + 0x1c]
xor ecx, ecx
push edx
mov word [esi], cx
call fcn.004160b0
add esp, 4
test eax, eax
je 0x43033c
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
call fcn.00435c90
add esp, 4
test al, al
je 0x43033c
test ebp, ebp
jne 0x43032d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416480
add esp, 4
jmp 0x43034e
mov edx, dword [esp + 0x1c]
push edx
call fcn.004163e0
add esp, 4
jmp 0x43034e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004176f0
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.00406e40
mov byte [esp + 0x1c8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43037f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, 2
jl 0x4301d1
mov byte [esp + 0x1c8], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c8], 5
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303d2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x1c8], 4
cmp dword [esp + 0x1a8], 0x10
mov dword [esp + method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x4303ff
mov eax, dword [esp + 0x194]
push eax
call fcn.004ea82f
add esp, 4
lea ecx, [esp + 0x144]
mov dword [esp + 0x1a8], 0xf
mov dword [esp + 0x1a4], 0
mov byte [esp + 0x194], 0
call fcn.004dc4a0
mov dword [esp + 0x1c8], 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 0x430454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.004ea83a
add esp, 0x1b8
ret