Function at 0x407860
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f618
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x452528]
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
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x140], edi
call fcn.00411388
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4078b5
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], edi
call fcn.00411388
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4078e4
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x128], eax
push edi
push edi
push edi
push edi
push 1
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x130], edi
call fcn.0041618a
mov byte [ebp - 4], 2
mov ebx, dword [esi]
mov edi, dword [esi + 4]
call fcn.00411388
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407941
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x40797f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
push edi
push ebx
lea eax, [ebp - 0x120]
push str.http:__www.160.com_service_DTL2012InstallStat.ashx_v_I64du_ds_d
push eax
call fcn.00406620
add esp, 0x18
jmp 0x407998
mov ecx, dword [esi + 8]
push eax
push ecx
lea edx, [ebp - 0x120]
push str.http:__int.updrv.com_dtl_BuliderInstall.aspx_uid_daid_d
push edx
call fcn.00406620
add esp, 0x10
mov ebx, dword [ebp - 0x120]
mov edi, ebx
call fcn.00411388
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4079ba
push 0x80004005
call fcn.00401f20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x4079f2
push 0
lea ecx, [ebp - 0x120]
call fcn.00406500
mov ebx, dword [ebp - 0x120]
push ebx
lea ecx, [ebp - 0x134]
push str.xxm__s
push ecx
call fcn.00406620
mov esi, dword [ebp - 0x134]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x140]
push edx
push edi
call fcn.00416732
test eax, eax
jne 0x407ae3
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00416845
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407e54
push 0
push 4
lea ecx, [ebp - 0x11c]
push ecx
mov byte [ebp - 4], 5
push 2
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x11c], 0x1388
call fcn.00415a17
push 0
push 4
lea edx, [ebp - 0x11c]
push edx
push 3
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x11c], 1
call fcn.00415a17
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x124]
push 0
push 0
push eax
push ecx
lea ecx, [ebp - 0x154]
call fcn.00416b65
mov edx, dword [ebp - 0x128]
push 0x20000000
push 0
push 0
push 1
push 0
mov edi, eax
push edx
push 1
mov ecx, edi
mov dword [ebp - 0x12c], edi
call fcn.00416c1c
push 0
push 0
mov esi, eax
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x130], esi
call fcn.004166ea
test eax, eax
jne 0x407c58
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
lea ecx, [ebp - 0x154]
call fcn.004167c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00416845
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407e54
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, esi
mov dword [ebp - 0x13c], 0
call fcn.00415a84
mov dword [ebp - 4], 4
jmp 0x407d8e
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea ecx, [ebp - 0x154]
call fcn.004167c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407df1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00416845
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.00426fe7
mov esp, ebp
pop ebp
ret