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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43db58
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push 1
lea eax, [esp + 0x10]
lea edi, [esi + 0x28]
push eax
mov ecx, edi
call fcn.00407940
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x40be3f
test ecx, ecx
jge 0x40be36
push 0x80070057
call fcn.00401260
cmp byte [eax], 0x2f
jne 0x40be3f
xor bl, bl
jmp 0x40be41
mov bl, 1
mov eax, dword [esp + 0xc]
push ebp
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40be6f
push 0x2f
mov ecx, edi
call fcn.004078e0
mov eax, dword [esi + 4]
push str.guagua
push eax
call fcn.00420afd
add esp, 8
test eax, eax
mov eax, dword [esi + 4]
lea ecx, [esi + 0x78]
push eax
jne 0x40bf63
push str.http:__www.17_s.com
push ecx
call fcn.00402c10
add esp, 0xc
push 6
lea ecx, [esi + 0x80]
push str.GuaGua
call fcn.00401ee0
push str.GuaGua.exe
lea ecx, [esp + 0x14]
call fcn.00403030
lea edx, [esp + 0x10]
lea edi, [esi + 0x84]
push edx
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.0040a8c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x34], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bef8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.ChatHall.exe
lea ecx, [esp + 0x14]
call fcn.00403030
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x38], 1
call fcn.0040a8c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x34], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.GGPlayer.exe
lea ecx, [esp + 0x14]
call fcn.00403030
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x38], 2
call fcn.0040a8c0
mov eax, dword [esp + 0x10]
jmp 0x40bfe1
push str.http:__www._s.com
push ecx
call fcn.00402c10
add esp, 0xc
push 0
lea ecx, [esi + 0x80]
push 0x440075
call fcn.00401ee0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00402a10
push str..exe
push eax
lea eax, [esp + 0x18]
mov ebx, 3
push eax
mov dword [esp + 0x40], ebx
call fcn.004018f0
add esp, 0xc
push eax
lea ecx, [esi + 0x84]
mov byte [esp + 0x38], 4
call fcn.0040a8c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x34], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x17
lea ecx, [esi + 0x7c]
push str.http:__download.re58.cn
call fcn.00401ee0
call fcn.004336c7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, 5
push 0
mov dword [esp + 0x38], ebx
call fcn.00416850
add esp, 4
test al, al
je 0x40c05e
push 0x1e1
push str.UpdateConfig__d_n
push 0x1e1
push str..ProductInfoMgr.cpp
push 0
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0xc
push str.rec_id
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00408010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 6
call fcn.00402080
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c09d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.00416850
mov ebp, dword [esp + 0x14]
add esp, 4
test al, al
je 0x40c0d5
push ebp
push str.UpdateConfig:_RecommendStr_s_n
push 0x1e5
push str..ProductInfoMgr.cpp
xor edi, edi
push edi
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0xc
jmp 0x40c0d7
xor edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
push str._d:_I64d:_d
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], edi
call fcn.00421254
mov al, byte [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov byte [esi + 0x5c], al
mov eax, dword [esp + 0x2c]
push edi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
call fcn.00416850
add esp, 0x18
test al, al
je 0x40c15c
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push ecx
movzx ecx, byte [esi + 0x5c]
push edx
push eax
push ecx
push str.UpdateConfig_RecType:_d__RecId:_I64d__Ad:_d_n
push 0x1f1
push str..ProductInfoMgr.cpp
push edi
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0x18
push str.HMAFROMURL
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00408010
lea edi, [esi + 0x70]
push eax
mov ecx, edi
mov byte [esp + 0x38], 7
call fcn.00402080
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c19f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.00416850
add esp, 4
test al, al
je 0x40c1d2
mov eax, dword [edi]
push eax
push str.UpdateConfig:_SourceUrl_s_n
push 0x1f5
push str..ProductInfoMgr.cpp
push 0
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0xc
push str.GUAGUAACOUNTID
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00408010
lea edi, [esi + 0x74]
push eax
mov ecx, edi
mov byte [esp + 0x38], 8
call fcn.00402080
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.00416850
add esp, 4
test al, al
je 0x40c248
mov eax, dword [edi]
push eax
push str.UpdateConfig:_WebID_s_n
push 0x1f9
push str..ProductInfoMgr.cpp
push 0
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0xc
mov ecx, dword [esi + 0x60]
or ecx, dword [esi + 0x64]
jne 0x40c295
mov ecx, esi
call fcn.00408180
push 0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
call fcn.00416850
add esp, 4
test al, al
je 0x40c295
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push edx
push eax
push str.UpdateConfig:_MainRecId__0__SecondRecId___I64d_n
push 0x1fe
push str..ProductInfoMgr.cpp
push 0
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0x10
mov eax, dword [esi + 0x34]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40c2ac
push eax
call fcn.004051d0
mov ecx, eax
call fcn.00404f30
mov esi, dword [esi + 0x38]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x40c2c3
push esi
call fcn.004051d0
mov ecx, eax
call fcn.00404ff0
push 0
call fcn.00416850
add esp, 4
test al, al
je 0x40c2f8
push 0x210
push str.UpdateConfig_Success_d_n
push 0x210
push str..ProductInfoMgr.cpp
push 0
call fcn.00416960
add esp, 0xc
push eax
call fcn.00416930
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x40c31b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret