Function at 0x436900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af83a
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.0053f090
mov eax, dword [0x677e70]
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 ebx, ecx
mov dword [ebp - 0x2248], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2240], 0
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x43696c
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2230], esi
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x24]
sub eax, 0x10
push eax
call fcn.004053d0
add esp, 4
lea ebx, [eax + 0x10]
mov dword [ebp - 0x223c], ebx
mov byte [ebp - 4], 1
or edi, 0xffffffff
cmp dword [ebx - 0xc], 0
jne 0x436a37
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0057ee10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x436a2d
lea eax, [ebp - 0x222c]
push eax
call fcn.0042b650
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x223c]
push str._s_s
push eax
call fcn.00405150
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x222c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436a27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x223c]
cmp dword [ebx - 0xc], 0
je 0x436d2d
push str.rt_ccsUNICODE
lea eax, [ebp - 0x222c]
mov dword [ebp - 0x222c], 0
push ebx
push eax
call fcn.00585fe9
add esp, 0xc
test eax, eax
je 0x436afb
call fcn.00581f9e
lea ecx, [ebp - 0x1a18]
mov eax, dword [eax]
mov dword [ebp - 0x1a20], ecx
mov dword [ebp - 0x1a1c], 0x400
push eax
mov eax, ecx
push 0x400
push eax
call fcn.005871e2
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2228]
push dword [ebp - 0x1a20]
push ebx
push 0x653eb4
push eax
call fcn.0040cfa0
add esp, 0x18
mov byte [ebp - 4], 5
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x2228]
lea ecx, [ebp - 0x2220]
cmp eax, ecx
je 0x436ad5
push eax
call fcn.0053eac5
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a18]
mov eax, dword [ebp - 0x1a20]
cmp eax, ecx
je 0x436d2d
push eax
call fcn.0053eac5
add esp, 4
jmp 0x436d2d
mov edi, dword [ebp - 0x222c]
mov dword [ebp - 0x2254], edi
push edi
lea eax, [ebp - 0x1218]
mov byte [ebp - 4], 6
push 0x800
push eax
call fcn.00591929
add esp, 0xc
test eax, eax
je 0x436d10
nop dword [eax + eax]
lea ecx, [ebp - 0x1218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436b40
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
js 0x436b85
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x1218], 0xa
jne 0x436b85
cmp eax, 0x800
jae 0x436d42
xor ecx, ecx
mov word [ebp + eax*2 - 0x1218], cx
sub eax, 1
jns 0x436b60
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x224c]
call fcn.00404ca0
mov ebx, eax
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jge 0x436ba6
or esi, 0xffffffff
jmp 0x436bc3
push str.ver
push ecx
call fcn.0057dfee
mov esi, eax
add esp, 8
test esi, esi
jne 0x436bbf
or esi, 0xffffffff
jmp 0x436bc3
sub esi, dword [ebx]
sar esi, 1
mov edx, dword [ebp - 0x224c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436be1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2238]
test esi, esi
mov ecx, 1
cmove eax, ecx
lea ecx, [ebp - 0x2244]
mov dword [ebp - 0x2238], eax
lea eax, [ebp - 0x1218]
push eax
call fcn.00404ca0
mov ebx, eax
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jge 0x436c18
or esi, 0xffffffff
jmp 0x436c35
push str.clienttype
push ecx
call fcn.0057dfee
mov esi, eax
add esp, 8
test esi, esi
jne 0x436c31
or esi, 0xffffffff
jmp 0x436c35
sub esi, dword [ebx]
sar esi, 1
mov edx, dword [ebp - 0x2244]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436c53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2240]
test esi, esi
mov ecx, 1
cmove eax, ecx
lea ecx, [ebp - 0x1218]
mov dword [ebp - 0x2240], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436c72
sub ecx, edx
lea eax, [ebp - 0x1218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2230]
call fcn.0041f5d0
mov esi, dword [ebp - 0x2230]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2234], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x436d47
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x436cd1
push ebx
lea ecx, [ebp - 0x2230]
call fcn.00404960
mov esi, dword [ebp - 0x2230]
mov eax, dword [ebp - 0x2234]
mov ecx, 0x3b
mov word [esi + eax*2], cx
cmp ebx, dword [esi - 8]
jg 0x436d47
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x1218]
push dword [ebp - 0x222c]
push 0x800
push eax
call fcn.00591929
add esp, 0xc
test eax, eax
jne 0x436b30
push edi
mov byte [ebp - 4], 1
call fcn.00586344
add esp, 4
cmp dword [ebp - 0x2238], 0
jne 0x436de6
or edi, 0xffffffff
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x436d51
push 0x80004005
call fcn.00404b10
call fcn.0053eccd
push 0x80070057
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2238], eax
mov byte [ebp - 4], 7
call fcn.0042bd70
push edx
push eax
lea ecx, [ebp - 0x2234]
call fcn.0042dbb0
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x2238]
push str.ver_s_
push eax
call fcn.00405150
mov byte [ebp - 4], 7
add esp, 0x14
mov edx, dword [ebp - 0x2234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2238]
lea ecx, [ebp - 0x2230]
push dword [esi - 0xc]
push esi
call fcn.0041f5d0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x436de0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2230]
cmp dword [ebp - 0x2240], 0
jne 0x436e07
push 0xd
push str.clienttype8_
lea ecx, [ebp - 0x2230]
call fcn.0041f5d0
mov esi, dword [ebp - 0x2230]
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x436e1c
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x222c], edi
mov ebx, dword [ebp - 0x2248]
mov byte [ebp - 4], 9
push 0
push dword [ebx + 0xc]
call fcn.005870e6
add esp, 8
cmp eax, 0xffffffff
je 0x436e91
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x2234]
push 3
call fcn.0042e640
add esp, 4
push eax
lea ecx, [ebp - 0x222c]
mov byte [ebp - 4], 0xa
call fcn.00405520
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov edx, dword [ebp - 0x2234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436e8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x222c]
cmp dword [edi - 0xc], 0
jne 0x436eaf
push 1
push 0x654270
lea ecx, [ebp - 0x222c]
call fcn.00404b60
mov edi, dword [ebp - 0x222c]
xorps xmm0, xmm0
mov dword [ebp - method.CVersionInfoReader.virtual_0], vtable.CVersionInfoReader.0
movlpd qword [ebp - 0x225c], xmm0
push str.Updater:VersionInfo.xml
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [ebp - 0x2254], ebx
test ebx, ebx
jne 0x436ee9
push 0x8007000e
call fcn.00404b10
push ebx
lea ecx, [ebp - 0x2264]
mov byte [ebp - 4], 0xc
call fcn.004324e0
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2244]
push dword [ebp - 0x2258]
push dword [ebp - 0x225c]
call fcn.0042dbb0
mov dword [ebp - 0x2234], eax
push 0
push 1
push 6
mov byte [ebp - 4], 0xd
call fcn.004373b0
push 3
push 1
push 5
mov bl, al
call fcn.004373b0
mov ecx, dword [ebp - 0x2248]
movzx eax, al
mov ecx, dword [ecx + 8]
mov dl, byte [ecx + 0x1c]
movzx ecx, bl
test dl, dl
push ecx
push eax
mov ecx, str.auto
mov eax, str.manual
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x2234]
push edi
push dword [eax]
push esi
push str.Pragma:__supdaterver_s_udxml_md5_s_update_type_s_xp_sp3_d_win7_later_d
push dword [ebp - 0x2250]
call fcn.00405150
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x2244]
add esp, 0x40
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x436fbd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x223c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436fde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x436ffa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.0053e4b1
mov esp, ebp
pop ebp
ret 4