Function at 0x405060
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x46c30c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebp
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
mov eax, dword [0x488da4]
mov edx, dword [eax + 0xc]
mov ecx, 0x488da4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x10]
mov dword [esp + 0xac], 0
call fcn.0040d980
mov eax, esi
push eax
mov byte [esp + 0xb0], 1
call fcn.00405ac0
mov eax, 0x14
lea ecx, [esp + 0x1c]
mov edx, esi
call fcn.004020e0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
push str.http:__record.4399.com_dt.php_adt.upgradefrom_s
lea edi, [esp + 0x1c]
call fcn.00405f00
add esp, 8
mov edx, edi
push edx
lea ecx, [ebp + 0x320]
call fcn.00419a50
mov ecx, dword [ebp + 0x2ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x20]
push edx
call eax
mov byte [esp + 0xac], 2
call fcn.0041b310
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00401990
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 4
call fcn.0040dad0
mov ecx, dword [0x489c38]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x40518f
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x405185
mov esi, eax
call fcn.00406c10
jmp 0x405187
xor eax, eax
mov ecx, eax
mov dword [0x489c38], ecx
mov edx, edi
call fcn.004082d0
mov eax, dword [0x489c38]
test eax, eax
jne 0x4051c0
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x4051b9
mov esi, eax
call fcn.00406c10
jmp 0x4051bb
xor eax, eax
mov dword [0x489c38], eax
mov ecx, dword [ebp + 0x300]
mov dword [eax + 0x338], ecx
xor ecx, ecx
cmp dword [ebp + 0x304], ecx
mov edi, 1
setne cl
mov dword [eax + 0x33c], ecx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x334], ecx
mov edx, dword [eax + 0x324]
mov esi, dword [0x4880b0]
lea ecx, [eax + 0x324]
mov dword [eax + edx*8 + 4], esi
mov eax, dword [0x4880b4]
mov esi, dword [0x489c38]
mov dword [esi + edx*8 + 8], eax
add dword [ecx], edi
mov ecx, dword [0x489c38]
test ecx, ecx
jne 0x405240
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x405236
mov esi, eax
call fcn.00406c10
jmp 0x405238
xor eax, eax
mov ecx, eax
mov dword [0x489c38], ecx
mov esi, dword [0x4880b8]
mov edx, dword [ecx + 0x324]
lea eax, [ecx + 0x324]
mov dword [ecx + edx*8 + 4], esi
mov ecx, dword [0x4880bc]
mov esi, dword [0x489c38]
mov dword [esi + edx*8 + 8], ecx
mov ecx, dword [0x489c38]
add dword [eax], edi
test ecx, ecx
jne 0x405296
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x40528c
mov esi, eax
call fcn.00406c10
jmp 0x40528e
xor eax, eax
mov ecx, eax
mov dword [0x489c38], ecx
mov esi, dword [0x4880f0]
mov edx, dword [ecx + 0x324]
lea eax, [ecx + 0x324]
mov dword [ecx + edx*8 + 4], esi
mov ecx, dword [0x4880f4]
mov esi, dword [0x489c38]
mov dword [esi + edx*8 + 8], ecx
add dword [eax], edi
cmp dword [ebp + 0x300], 0
jne 0x4053f9
cmp dword [ebp + 0x304], 0
jne 0x4053f9
mov edx, dword [0x489c38]
test edx, edx
jne 0x405306
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x4052fc
mov esi, eax
call fcn.00406c10
jmp 0x4052fe
xor eax, eax
mov edx, eax
mov dword [0x489c38], edx
mov ecx, dword [edx + 0x324]
mov esi, dword [0x4880c8]
lea eax, [edx + 0x324]
mov dword [edx + ecx*8 + 4], esi
mov edx, dword [0x4880cc]
mov esi, dword [0x489c38]
mov dword [esi + ecx*8 + 8], edx
add dword [eax], edi
mov eax, dword [ebp + 0x2d8]
call fcn.00421240
test al, al
je 0x405362
call fcn.00406bd0
mov edx, dword [0x4880d0]
mov ecx, dword [eax + 0x324]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [0x4880d4]
mov dword [eax + ecx*8 + 8], edx
add dword [eax + 0x324], edi
mov eax, dword [ebp + 0x2e0]
call fcn.00421240
test al, al
je 0x405396
call fcn.00406bd0
mov edx, dword [0x4880d8]
mov ecx, dword [eax + 0x324]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [0x4880dc]
mov dword [eax + ecx*8 + 8], edx
add dword [eax + 0x324], edi
mov eax, dword [ebp + 0x2dc]
call fcn.00421240
test al, al
je 0x4053cf
call fcn.00406bd0
mov edx, dword [0x4880e8]
mov ecx, dword [eax + 0x324]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [0x4880ec]
mov dword [eax + ecx*8 + 8], edx
add dword [eax + 0x324], edi
jmp 0x4054fb
call fcn.00406bd0
mov edx, dword [0x4880f8]
mov ecx, dword [eax + 0x324]
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [0x4880fc]
mov dword [eax + ecx*8 + 8], edx
add dword [eax + 0x324], edi
jmp 0x4054fb
mov edx, dword [0x489c38]
test edx, edx
jne 0x405427
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x40541d
mov esi, eax
call fcn.00406c10
jmp 0x40541f
xor eax, eax
mov edx, eax
mov dword [0x489c38], edx
mov ecx, dword [edx + 0x324]
mov esi, dword [0x4880c8]
lea eax, [edx + 0x324]
mov dword [edx + ecx*8 + 4], esi
mov edx, dword [0x4880cc]
mov esi, dword [0x489c38]
mov dword [esi + ecx*8 + 8], edx
mov ecx, dword [0x489c38]
add dword [eax], edi
test ecx, ecx
jne 0x40547d
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x405473
mov esi, eax
call fcn.00406c10
jmp 0x405475
xor eax, eax
mov ecx, eax
mov dword [0x489c38], ecx
mov esi, dword [0x4880d0]
mov edx, dword [ecx + 0x324]
lea eax, [ecx + 0x324]
mov dword [ecx + edx*8 + 4], esi
mov ecx, dword [0x4880d4]
mov esi, dword [0x489c38]
mov dword [esi + edx*8 + 8], ecx
mov ecx, dword [0x489c38]
add dword [eax], edi
test ecx, ecx
jne 0x4054d3
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x4054c9
mov esi, eax
call fcn.00406c10
jmp 0x4054cb
xor eax, eax
mov ecx, eax
mov dword [0x489c38], ecx
mov esi, dword [0x4880e0]
mov edx, dword [ecx + 0x324]
lea eax, [ecx + 0x324]
mov dword [ecx + edx*8 + 4], esi
mov ecx, dword [0x4880e4]
mov esi, dword [0x489c38]
mov dword [esi + edx*8 + 8], ecx
add dword [eax], edi
mov eax, dword [0x489c38]
test eax, eax
jne 0x405525
push 0x340
call fcn.00456a8e
add esp, 4
test eax, eax
je 0x40551e
mov esi, eax
call fcn.00406c10
jmp 0x405520
xor eax, eax
mov dword [0x489c38], eax
push 0
push 0
push eax
push 0x406d80
push 0
push 0
mov esi, eax
call fcn.004573a8
mov dword [esi + 0x32c], eax
mov ecx, dword [ebp + 0x2a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
add esp, 0x18
push 0
call eax
mov ecx, dword [ebp + 0x2a8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [ebp + 0x2f0]
push 0xa
push 0x203230
mov dword [ebp + 0x318], 0xdc
mov dword [ebp + 0x31c], 0x1aa
push ecx
add ebp, 0x2c
push ebp
call fcn.0041d3b0
mov byte [esp + 0xac], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4055b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xac], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40560c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret 4