Function at 0x424ad7
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x18
call fcn.0047476f
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5d00bf
push ebx
add ebx, 4
push ebx
push 8
call fcn.0047476f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040545b
pop ebx
mov ebx, dword [0x723df0]
call fcn.00402610
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x425510
mov ebx, dword [0x723de8]
call fcn.00402610
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x424dc6
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x424be1
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424bf4
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [0x723de8]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x424c1e
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424c31
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x424dbe
mov ebx, dword [0x723de8]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x424c77
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424c8a
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push eax
push 0x18
call fcn.0047476f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x424cc5
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x424ce4
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x424d03
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x424d22
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x424d41
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x424d5c
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x424d70
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x424d84
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x424d98
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x424dac
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x424dc6
pop eax
pop ebx
pop ecx
jmp 0x424bb3
add esp, 0xc
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x424de9
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424dfc
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x3c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4254e6
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004010cb
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x424e59
mov eax, 0x58ff31
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SessionID
push reloc.WS2_32.dll_connect
push 0
push str.data_7B_22jsonrpc_22_3A_222.0_22_2C_22id_22_3A1_2C_22method_22_3A_22call_22_2C_22params_22_3A_5B_22SessionID_22_2C_22mnt_22_2C_22reboot_22_2C_7B_7D_5D_7DactiononResponse
push 6
mov ebx, 0x475f90
call fcn.00474787
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
call fcn.0040504f
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x424ec1
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x424ed1
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x424ee5
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x424f1b
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424f2e
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x44]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x424f52
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x424f65
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
push str.actionreboot
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5e4f53
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.session_id
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push str.http:__kjapi.peiluyou.com:5171_ubus_cd_account_id
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
mov eax, str.User_Agent:Mozilla_5.0__Linux__Android_4.4.4__2015813_Build_KTU84P__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_35.0.1916.138_Mobile_Mobile_Safari_537.36
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0040290b
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42508d
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x42509d
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4250ad
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4250bd
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4250cd
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4250dd
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4250ed
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4250fd
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x42510d
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47d920
call fcn.00474787
add esp, 0x10
call fcn.00474775
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x425143
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x425169
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42517d
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040d0f7
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.__parent.postMessage
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.var_response
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403e57
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4251d9
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4251e9
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4251f9
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42521b
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.result_0_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x425254
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x28]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x425282
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x425369
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4252b2
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4252c5
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x44]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x4252e9
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4252fc
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
push 0x605bf2
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x5e5b33
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x5d0080
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x5e5b3e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x425354
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x425364
push ebx
call fcn.00474775
add esp, 4
jmp 0x4254de
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x42538f
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4253a2
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x44]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x4253c6
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4253d9
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.error.message
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42541c
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str.error.code
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x425455
push ebx
call fcn.00474775
add esp, 4
push dword [ebp - 0x3c]
push 0x605c05
push dword [ebp - 0x30]
push 0x605c08
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x5e5b33
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x5d0080
mov ecx, 8
call fcn.0040106f
add esp, 0x20
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x425499
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4254a9
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x40]
push eax
mov eax, 0x5e5b3e
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4254ce
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4254de
push ebx
call fcn.00474775
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x424e17
add esp, 0xc
push 0x80000301
push 0
push dword [0x723e54]
push 1
mov ebx, 0x479400
call fcn.00474787
add esp, 0x10
pop eax
pop ebx
pop ecx
jmp 0x424b91
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x425527
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42553b
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42554f
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x425563
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x425577
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x425590
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4255a0
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00474775
add esp, 4
mov esp, ebp
pop ebp
ret