Function at 0x405970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x430320
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x440de4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push str.CDownLoadManager::GetLatestVerUrl
xor ebp, ebp
push str._s_enter
mov dword [esp + 0x70], ebp
call section..text
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x34], eax
call fcn.00401780
lea edi, [eax + 0x10]
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov eax, dword [edi - 0xc]
cmp eax, ebp
mov byte [esp + 0x68], 2
mov dword [esp + 0x24], ebp
jle 0x406168
mov bl, 3
lea esp, [esp]
cmp dword [edi - 0xc], ebp
jge 0x4059fa
or esi, 0xffffffff
jmp 0x405a15
push str._component_
push edi
call fcn.0041a46b
add esp, 8
cmp eax, ebp
jne 0x405a11
or esi, 0xffffffff
jmp 0x405a15
sub eax, edi
mov esi, eax
push 0x433652
lea ecx, [esp + 0x18]
call fcn.004023b0
cmp esi, 0xffffffff
mov byte [esp + 0x68], bl
je 0x405de8
mov eax, dword [edi - 0xc]
sub eax, esi
sub eax, 0xb
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.004039e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.00401db0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], ebp
jge 0x405a88
or esi, 0xffffffff
jmp 0x405aa3
push str.__component_
push edi
call fcn.0041a46b
add esp, 8
cmp eax, ebp
jne 0x405a9f
or esi, 0xffffffff
jmp 0x405aa3
sub eax, edi
mov esi, eax
push esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401b40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 5
call fcn.00401db0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405ae5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 0xc]
sub eax, esi
sub eax, 0xc
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.004039e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 6
call fcn.00401db0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405b2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
call fcn.00404160
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
mov byte [esp + 0x68], 7
jl 0x405d89
push str._url_
push ecx
call fcn.0041a46b
add esp, 8
cmp eax, ebp
je 0x405c64
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x405c68
push 0x433652
lea ecx, [esp + 0x20]
call fcn.004023b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 5
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 8
call fcn.004039e0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 9
call fcn.00401db0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x68], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebp
jge 0x405be1
or eax, 0xffffffff
jmp 0x405bfc
push str.__url_
push eax
call fcn.0041a46b
add esp, 8
cmp eax, ebp
jne 0x405bf8
or eax, 0xffffffff
jmp 0x405bfc
sub eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401b40
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0xa
call fcn.00401db0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
jl 0x405d89
push str._createtime_
push ecx
call fcn.0041a46b
add esp, 8
cmp eax, ebp
je 0x405d89
sub eax, dword [esp + 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d89
push 0x433652
lea ecx, [esp + 0x24]
call fcn.004023b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 0xc
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xb
call fcn.004039e0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0xc
call fcn.00401db0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebp
jge 0x405d06
or eax, 0xffffffff
jmp 0x405d21
push str.__createtime_
push eax
call fcn.0041a46b
add esp, 8
cmp eax, ebp
jne 0x405d1d
or eax, 0xffffffff
jmp 0x405d21
sub eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401b40
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0xd
call fcn.00401db0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405d64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x68], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
cmp dword [ecx - 0xc], ebp
je 0x405da0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x54]
call fcn.004058e0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405dc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405de4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [edi - 0xc]
mov dword [esp + 0x24], eax
jl 0x4059f0
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x406168
mov ecx, dword [esp + 0x58]
sub ecx, eax
sar ecx, 3
je 0x406168
push 0x433652
lea ecx, [esp + 0x18]
call fcn.004023b0
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
cmp ebx, eax
mov byte [esp + 0x68], 0xe
jbe 0x405e64
call fcn.0041a5a8
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x54], eax
mov esi, eax
jbe 0x405e75
call fcn.0041a5a8
mov eax, dword [esp + 0x58]
cmp ebx, esi
je 0x406075
cmp ebx, eax
jb 0x405e91
call fcn.0041a5a8
cmp ebx, dword [esp + 0x58]
jb 0x405e91
call fcn.0041a5a8
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push edx
push eax
push str.url:__s__createTime:__s_
call section..text
add esp, 0xc
cmp ebx, dword [esp + 0x58]
jb 0x405eb0
call fcn.0041a5a8
mov esi, dword [ebx + 4]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x48], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x405ee1
cmp eax, dword [esi]
jne 0x405ee1
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405f17
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x406070
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00419c6f
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0xf
mov dword [esp + 0x48], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x405f54
cmp eax, dword [esi]
jne 0x405f54
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x405f8a
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x406070
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00419c6f
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
mov byte [esp + 0x70], 0xe
call fcn.004018a0
mov edx, dword [esp + 0x1c]
add esp, 8
cmp dword [edx - 0xc], 0
je 0x405faf
test eax, eax
jge 0x406051
cmp ebx, dword [esp + 0x58]
jb 0x405fba
call fcn.0041a5a8
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x406012
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x406004
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x406004
push eax
call fcn.00401780
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405ffb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x406012
mov edx, dword [ecx - 0xc]
push edx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004019f0
cmp ebx, dword [esp + 0x58]
jb 0x40601d
call fcn.0041a5a8
mov ecx, dword [esp + 0x74]
push ebx
call fcn.00401db0
cmp ebx, dword [esp + 0x58]
jb 0x40603d
call fcn.0041a5a8
cmp ebx, dword [esp + 0x58]
jb 0x40603d
call fcn.0041a5a8
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
push str.Current_newest_version_info:_Url:__s__CreateTime:__s_
call section..text
add esp, 0xc
mov eax, dword [esp + 0x58]
cmp ebx, eax
jb 0x406062
call fcn.0041a5a8
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
add ebx, 8
xor ebp, ebp
jmp 0x405e64
call fcn.00401410
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebp
jne 0x406143
push str.CDownLoadManager::GetLatestVerUrl
push str._s_leave_Not_found__url__
call section..text
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
cmp eax, ebp
mov byte [esp + 0x68], 1
je 0x4060ea
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.004040c0
mov edx, dword [esp + 0x64]
push edx
call fcn.00409929
add esp, 0x14
lea eax, [edi - 0x10]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406117
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40613c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406200
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.CDownLoadManager::GetLatestVerUrl
push str._s_leave_ok_
call section..text
mov eax, dword [esp + 0x5c]
add esp, 8
cmp eax, ebp
mov byte [esp + 0x68], 1
je 0x4061a9
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.004040c0
mov edx, dword [esp + 0x64]
push edx
call fcn.00409929
add esp, 0x14
lea eax, [edi - 0x10]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8