Function at 0x415e70
Capabilities:
Get common file path
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc94f
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x532ab0]
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 dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x34c], ebx
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x38c], ebx
cmp dword [ecx - 0xc], 0
jne 0x416013
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x348], eax
mov eax, str.No_auto_update_url
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x415f02
movzx esi, ax
mov ecx, esi
call fcn.00401140
test eax, eax
je 0x415f12
push esi
push eax
lea ecx, [ebp - 0x348]
call fcn.00401f80
jmp 0x415f12
push str.No_auto_update_url
lea ecx, [ebp - 0x348]
call fcn.00404640
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x350]
mov dword [ebp - 4], 1
call fcn.004019c0
mov byte [ebp - 4], 2
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x338], esi
lea eax, [ebp - 0x348]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 3
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x415f80
push 0
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x415fa6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415fc3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x350]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415fe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x416fef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x416fef
add ecx, 0xfffffff0
call fcn.00401d10
add eax, 0x10
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 5
push dword [ebx + 0x4c]
lea ecx, [ebp - 0x368]
push str.CAMP_ID
call fcn.004041f0
lea ecx, [ebp - 0x33c]
call fcn.004222c0
mov esi, eax
push 0x5188fc
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 6
call fcn.004019c0
push 0x5188f4
mov edx, eax
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 7
call fcn.00419e30
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
call fcn.00404430
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [eax]
lea ecx, [ebp - 0x368]
push dword [eax - 0xc]
push eax
call fcn.004100d0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x338]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4160c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4160eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x340]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41610e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416131
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x36c]
push eax
lea edx, [ebp - 0x368]
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0xa
call fcn.00428170
add esp, 4
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0xb
call fcn.00423c30
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x41618c
push 0x80004005
call fcn.00401010
mov eax, dword [ebp - 0x35c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4161b8
test dx, dx
je 0x4161b4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4161b8
add eax, 4
add ecx, 4
test dx, dx
jne 0x416192
xor eax, eax
jmp 0x4161bd
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x338]
test eax, eax
sete byte [ebp - 0x36d]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4161e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x36d], 0
lea ecx, [ebp - 0x350]
je 0x416518
push str.error_HttpRequest:
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0xc
call fcn.004019c0
mov byte [ebp - 4], 0xd
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x338], edi
mov byte [ebp - 4], 0xe
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x334], esi
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0xf
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x350]
push ecx
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x10
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x36c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x11
call fcn.0041de50
add esp, 4
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x34c]
push eax
mov ecx, dword [ecx + 4]
call fcn.00401a90
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4162dd
push 2
push dword [ebp - 0x340]
lea edx, [ebp - 0x348]
push edx
add eax, 8
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416300
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416323
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x378]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416346
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416363
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416380
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4163a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x350]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4163c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CheckAutoUpdateUrl_HttpRequest_
lea ecx, [ebp - 0x348]
call fcn.004019c0
mov byte [ebp - 4], 0x13
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x338], esi
lea eax, [ebp - 0x348]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x14
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x36c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x15
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x34c]
push eax
call fcn.00414960
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41645d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x340]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416480
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41649d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4164c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x35c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4164e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x36c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416506
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x368]
jmp 0x415ff3
mov eax, dword [ebp - 0x35c]
cmp dword [eax - 0xc], 0
jne 0x41673d
push str.error_strJson_empty
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0x17
call fcn.004019c0
mov byte [ebp - 4], 0x18
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x338], edi
mov byte [ebp - 4], 0x19
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x334], esi
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x1a
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x350]
push ecx
mov edx, eax
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x1b
call fcn.0041de50
add esp, 4
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x34c]
push eax
mov ecx, dword [ecx + 4]
call fcn.00401a90
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4165f2
push 2
push dword [ebp - 0x340]
lea edx, [ebp - 0x348]
push edx
add eax, 8
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416615
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416638
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x19
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416655
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x18
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416672
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416695
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x350]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4166b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CheckAutoUpdateUrl_strJson_empty
lea ecx, [ebp - 0x348]
call fcn.004019c0
mov byte [ebp - 4], 0x1d
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x338], esi
lea eax, [ebp - 0x348]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x1e
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x34c]
push eax
call fcn.00414960
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416734
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
jmp 0x416484
push str.strJson:
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0x20
call fcn.004019c0
mov byte [ebp - 4], 0x21
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x338], edi
mov byte [ebp - 4], 0x22
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x334], esi
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x23
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x350]
push ecx
mov edx, eax
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x24
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x35c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x25
call fcn.0041de50
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41680a
push 0
push edx
lea edx, [ebp - 0x348]
push edx
add eax, 8
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x340]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41682d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416850
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416873
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416890
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x21
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4168ad
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x348]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4168d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x350]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4168f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
push 3
push dword [ebp - 0x35c]
lea eax, [ebp - 0x2bc]
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], eax
call fcn.0041a460
mov byte [ebp - 4], 0x28
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x238]
call fcn.00401b00
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0x29
call fcn.0042e0d0
and dword [ebp - 0x380], 0xfffffe00
mov dword [ebp - 0x37c], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x2c
call fcn.00402050
cmp dword [ebp - 0x2f4], 0x10
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x308]
cmovae ecx, dword [ebp - 0x308]
push ecx
lea edx, [ebp - 0x388]
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x330]
call fcn.0042e1e0
lea ecx, [ebp - 0x33c]
test al, al
jne 0x416c3a
push str.error_parse
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x2d
call fcn.004019c0
mov byte [ebp - 4], 0x2e
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x338], edi
mov byte [ebp - 4], 0x2f
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x334], esi
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x30
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x33c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x31
call fcn.0041de50
add esp, 4
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x34c]
push eax
mov ecx, dword [ecx + 4]
call fcn.00401a90
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x416a71
push 2
push dword [ebp - 0x340]
lea edx, [ebp - 0x344]
push edx
add eax, 8
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416a94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x360]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416ab7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x2f
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416ad4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x2e
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416af1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416b14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416b37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CheckAutoUpdateUrl_parse_error
lea ecx, [ebp - 0x33c]
call fcn.004019c0
mov byte [ebp - 4], 0x33
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x360], esi
lea eax, [ebp - 0x33c]
push eax
lea edx, [ebp - 0x360]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x34
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x34c]
push eax
call fcn.00414960
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416bb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x33
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416bd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x2a
call fcn.00431c10
lea ecx, [ebp - 0x330]
call fcn.00417e60
lea ecx, [ebp - 0x238]
call fcn.00401b60
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x4164c0
push eax
call fcn.004a5b71
add esp, 4
jmp 0x4164c0
push str._L_update_low_ver
call fcn.00404160
lea edx, [ebp - 0x33c]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x36
call fcn.00422a90
mov byte [ebp - 4], 0x37
push dword [eax]
lea ecx, [ebp - 0x360]
call fcn.00419a20
push ecx
mov byte [ebp - 4], 0x38
push dword [eax]
lea ecx, [ebp - 0x388]
call fcn.004324d0
cmp byte [eax + 8], 4
mov byte [ebp - 4], 0x37
mov edx, dword [ebp - 0x360]
setne byte [ebp - 0x36d]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416caa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x36
mov edx, dword [ebp - 0x358]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416ccd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x416cee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x36d], 0
lea ecx, [ebp - 0x334]
je 0x416dfe
push str.error_update_from_version_not_string
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x39
call fcn.004019c0
mov byte [ebp - 4], 0x3a
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0x3b
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x344]
push eax
lea edx, [ebp - 0x33c]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x3c
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x334]
push ecx
mov edx, eax
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x3d
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x3e
mov ebx, dword [ebp - 0x34c]
push esi
mov ecx, dword [ebx + 4]
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x416dbc
push 2
push esi
lea eax, [ebp - 0x340]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x360]
call fcn.00401a70
lea ecx, [ebp - 0x358]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x334]
jmp 0x416f8b
push str._L_update_low_ver
call fcn.00404160
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x3f
call fcn.00422a90
mov byte [ebp - 4], 0x40
push dword [eax]
lea ecx, [ebp - 0x360]
call fcn.00419a20
push ecx
mov byte [ebp - 4], 0x41
push dword [eax]
lea ecx, [ebp - 0x388]
call fcn.004324d0
push dword [eax]
lea ecx, [ebp - 0x374]
call fcn.00404160
lea ecx, [ebp - 0x360]
call fcn.00401a70
lea ecx, [ebp - 0x358]
call fcn.00401a70
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x45
call fcn.00401a70
mov eax, dword [ebp - 0x374]
cmp dword [eax - 0xc], 0
jne 0x41700b
push str.error_strFromVersion_empty
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x46
call fcn.004019c0
mov byte [ebp - 4], 0x47
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x48
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x49
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x4a
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x4b
mov ebx, dword [ebp - 0x34c]
push esi
mov ecx, dword [ebx + 4]
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x416f43
push 2
push esi
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
call fcn.00401a70
lea ecx, [ebp - 0x374]
call fcn.00401a70
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x2a
call fcn.00431c10
lea ecx, [ebp - 0x330]
call fcn.00417e60
lea ecx, [ebp - 0x238]
call fcn.00401b60
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x416fce
push eax
call fcn.004a5b71
add esp, 4
lea ecx, [ebp - 0x35c]
call fcn.00401a70
lea ecx, [ebp - 0x36c]
call fcn.00401a70
lea ecx, [ebp - 0x368]
call fcn.00401a70
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.004a4ab5
mov esp, ebp
pop ebp
ret
push ecx
push str.update_high_ver
lea ecx, [ebp - 0x388]
call fcn.004324d0
cmp byte [eax + 8], 4
je 0x4170fd
push str.error_update_to_version_not_string
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x4c
call fcn.004019c0
mov byte [ebp - 4], 0x4d
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x4e
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x4f
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x50
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x51
mov ebx, dword [ebp - 0x34c]
push esi
mov ecx, dword [ebx + 4]
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4170e7
push 2
push esi
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x338]
jmp 0x416f54
push ecx
push str.update_high_ver
lea ecx, [ebp - 0x388]
call fcn.004324d0
push dword [eax]
lea ecx, [ebp - 0x350]
call fcn.00404160
mov byte [ebp - 4], 0x52
mov eax, dword [ebp - 0x350]
cmp dword [eax - 0xc], 0
jne 0x41723d
push str.error_strToVersion_empty
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x53
call fcn.004019c0
mov byte [ebp - 4], 0x54
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x55
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x56
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x57
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x58
mov ebx, dword [ebp - 0x34c]
push esi
mov ecx, dword [ebx + 4]
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4171f0
push 2
push esi
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x360]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
call fcn.00401a70
lea ecx, [ebp - 0x350]
jmp 0x416f80
push str._L_download_url
lea ecx, [ebp - 0x334]
call fcn.00404160
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x59
call fcn.00422a90
mov byte [ebp - 4], 0x5a
push dword [eax]
lea ecx, [ebp - 0x364]
call fcn.00419a20
push ecx
mov byte [ebp - 4], 0x5b
push dword [eax]
lea ecx, [ebp - 0x388]
call fcn.004324d0
cmp byte [eax + 8], 4
lea ecx, [ebp - 0x364]
setne bl
call fcn.00401a70
lea ecx, [ebp - 0x360]
call fcn.00401a70
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x52
call fcn.00401a70
test bl, bl
je 0x417356
push str.error_url_not_string
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x5c
call fcn.004019c0
mov byte [ebp - 4], 0x5d
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x5e
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x5f
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x60
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x61
jmp 0x4171c7
push str._L_download_url
lea ecx, [ebp - 0x334]
call fcn.00404160
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x62
call fcn.00422a90
mov byte [ebp - 4], 0x63
push dword [eax]
lea ecx, [ebp - 0x364]
call fcn.00419a20
push ecx
mov byte [ebp - 4], 0x64
push dword [eax]
lea ecx, [ebp - 0x388]
call fcn.004324d0
push dword [eax]
lea ecx, [ebp - 0x378]
call fcn.00404160
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x360]
call fcn.00401a70
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x68
call fcn.00401a70
mov eax, dword [ebp - 0x378]
cmp dword [eax - 0xc], 0
jne 0x4174e3
push str.error_url_empty
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x69
call fcn.004019c0
mov byte [ebp - 4], 0x6a
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x6b
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x6c
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x6d
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x6e
mov ebx, dword [ebp - 0x34c]
push esi
mov ecx, dword [ebx + 4]
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4174a1
push 2
push esi
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x358]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
jmp 0x417b3d
push ecx
mov ecx, dword [ebp - 0x350]
add ecx, 0xfffffff0
mov dword [ebp - 0x354], esp
mov esi, esp
call fcn.00401d10
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x6f
mov ecx, dword [ebp - 0x374]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00401d10
mov ebx, dword [ebp - 0x34c]
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 0x68
call fcn.00417f00
test al, al
jne 0x4175db
push str.no_need_for_update
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x70
call fcn.004019c0
mov byte [ebp - 4], 0x71
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x72
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x73
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x74
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x75
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4174a1
push 0
push eax
jmp 0x417491
mov edx, 0x518b04
lea ecx, [ebp - 0x378]
call fcn.0041a100
test al, al
jne 0x417b62
mov edx, 0x518b0c
lea ecx, [ebp - 0x378]
call fcn.0041a100
test al, al
jne 0x417b62
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.004a96d0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4177ba
push str.error_GetTempPath:
lea ecx, [ebp - 0x34c]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x7f
call fcn.004019c0
mov byte [ebp - 4], 0x80
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 0x81
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x33c]
push eax
lea edx, [ebp - 0x340]
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x82
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x34c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x83
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x84
mov ecx, dword [ebx + 4]
push esi
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4176fe
push 2
push esi
lea eax, [ebp - 0x344]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x358]
call fcn.00401a70
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
call fcn.00401a70
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x68
call fcn.00401a70
push str.CheckAutoUpdateUrl_GetTempPath_
lea ecx, [ebp - 0x338]
call fcn.004019c0
mov byte [ebp - 4], 0x85
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x334]
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x86
call fcn.0041de50
add esp, 4
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x87
call fcn.00414960
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x338]
jmp 0x417b3d
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x348]
call fcn.004019c0
mov byte [ebp - 4], 0x88
mov eax, dword [ebp - 0x348]
mov eax, dword [eax - 0xc]
dec eax
js 0x417b58
push eax
lea ecx, [ebp - 0x348]
call fcn.0040f060
movzx eax, ax
cmp eax, 0x5c
je 0x417848
push str._L__
lea ecx, [ebp - 0x338]
call fcn.004019c0
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x89
call fcn.00422a90
mov byte [ebp - 4], 0x8a
mov eax, dword [eax]
lea ecx, [ebp - 0x348]
push dword [eax - 0xc]
push eax
call fcn.004100d0
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x88
call fcn.00401a70
mov ecx, dword [ebp - 0x348]
lea ecx, [ecx - 0x10]
call fcn.00401d10
add eax, 0x10
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x8b
call fcn.004222c0
mov byte [ebp - 4], 0x8c
mov eax, dword [eax]
lea ecx, [ebp - 0x348]
push dword [eax - 0xc]
push eax
call fcn.004100d0
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x8b
call fcn.00401a70
lea edx, [ebp - 0x348]
lea ecx, [ebp - 0x378]
call fcn.00427650
lea ecx, [ebp - 0x33c]
test al, al
jne 0x417a27
push str.error_HttpToBinaryFileRequest
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x8d
call fcn.004019c0
mov byte [ebp - 4], 0x8e
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0x8f
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x90
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x33c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x91
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x92
mov ecx, dword [ebx + 4]
push esi
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x417966
push 2
push esi
lea eax, [ebp - 0x340]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x8b
call fcn.00401a70
push str.CheckAutoUpdateUrl_HttpToBinaryFileRequest
lea ecx, [ebp - 0x344]
call fcn.004019c0
mov byte [ebp - 4], 0x93
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x344]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x94
call fcn.0041de50
add esp, 4
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x95
call fcn.00414960
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x344]
call fcn.00401a70
jmp 0x417b2c
push str.call_ReplaceTheAgent
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x96
call fcn.004019c0
mov byte [ebp - 4], 0x97
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0x98
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x99
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x33c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x9a
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x9b
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x417ad1
push 0
push eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x364]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x334]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x8b
call fcn.00401a70
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x348]
push eax
mov ecx, ebx
call fcn.00418320
lea ecx, [ebp - 0x34c]
call fcn.00401a70
lea ecx, [ebp - 0x348]
call fcn.00401a70
lea ecx, [ebp - 0x378]
call fcn.00401a70
lea ecx, [ebp - 0x350]
jmp 0x416f80
push 0x80070057
call fcn.00401010
push str.error_url_NA_update_needed
lea ecx, [ebp - 0x344]
call fcn.00404160
push str.CheckAutoUpdateUrl
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x76
call fcn.004019c0
mov byte [ebp - 4], 0x77
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x78
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x340]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x79
call fcn.0041de50
add esp, 4
lea ecx, [ebp - 0x344]
push ecx
mov edx, eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x7a
call fcn.0041de50
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x7b
mov ecx, dword [ebx + 4]
push esi
call fcn.00401a90
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x417c1d
push 2
push esi
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004024e0
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x358]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x340]
call fcn.00401a70
lea ecx, [ebp - 0x33c]
call fcn.00401a70
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x68
call fcn.00401a70
push str.CheckAutoUpdateUrl_url_na_for_update
lea ecx, [ebp - 0x34c]
call fcn.004019c0
mov byte [ebp - 4], 0x7c
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x34c]
push eax
lea edx, [ebp - 0x338]
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x7d
call fcn.0041de50
add esp, 4
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x7e
call fcn.00414960
lea ecx, [ebp - 0x354]
call fcn.00401a70
lea ecx, [ebp - 0x338]
call fcn.00401a70
lea ecx, [ebp - 0x34c]
jmp 0x417b3d