Function at 0x404cc7
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
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov ebx, dword [0x537d1c]
call fcn.00401a48
mov eax, 0
cmp eax, ecx
jl 0x404d48
push 0x179
push 0x4012ddc
push 1
call fcn.0040ef3e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x404d6e
push eax
mov ebx, eax
call fcn.00401981
inc eax
push eax
call fcn.0040ef32
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404d7f
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x537d1c]
call fcn.00401a48
mov eax, 1
cmp eax, ecx
jl 0x404dae
push 0x1a0
push 0x4012ddc
push 1
call fcn.0040ef3e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x404dd4
push eax
mov ebx, eax
call fcn.00401981
inc eax
push eax
call fcn.0040ef32
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404de5
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x537d1c]
call fcn.00401a48
mov eax, 2
cmp eax, ecx
jl 0x404e14
push 0x1c7
push 0x4012ddc
push 1
call fcn.0040ef3e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x404e3a
push eax
mov ebx, eax
call fcn.00401981
inc eax
push eax
call fcn.0040ef32
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404e4b
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x537d1c]
call fcn.00401a48
mov eax, 3
cmp eax, ecx
jl 0x404e7a
push 0x207
push 0x4012ddc
push 1
call fcn.0040ef3e
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x404e97
mov eax, 0x4c3f1d
push eax
push 1
mov ebx, 0x40fa00
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
mov ebx, 0x40f3e0
call fcn.0040ef38
add esp, 4
mov dword [ebp - 0x30], eax
push 0x4c4158
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004019ec
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404eea
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404efe
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x40f3e0
call fcn.0040ef38
add esp, 4
mov dword [ebp - 0x30], eax
push str._time.txt
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004019ec
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404f3f
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404f53
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x78
jg 0x405766
call fcn.0040583d
push 0x10001
push 0x6010000
push 0x52010001
push 1
mov ebx, 0x410e40
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x404fa4
jmp 0x405766
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4c416d
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x404fd5
mov eax, 0x4c3f1d
push eax
push 4
mov ebx, 0x40f710
call fcn.0040ef38
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x40532c
mov eax, str.Connection:_keep_alive_r_nUpgrade_Insecure_Requests:_1_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.9_r_nReferer:_https:__yangkeduo.com_personal.html_refer_page_nameloginrefer_page_idrefer_page_sn10169page_idis_back1
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40500b
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 8
call fcn.0040ef32
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 1
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
push 0
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.004058f0
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x405109
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x405119
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x405129
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x405139
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x405149
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405159
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405169
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x412290
call fcn.0040ef38
add esp, 0x10
call fcn.0040ef26
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40519f
mov eax, 0x4c3f5b
push eax
push 1
mov ebx, 0x410480
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4051c5
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4051d9
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401211
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4051fd
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4c432c
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x405232
mov eax, 0x4c3f1d
push eax
push 4
mov ebx, 0x40f710
call fcn.0040ef38
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4052e6
push 1
push 0
mov eax, 0x4c4333
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040a014
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405281
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jne 0x4052be
mov eax, 0x4c4348
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4052a7
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a1c3
jmp 0x405766
mov eax, 0x4c4352
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4052d4
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a1c3
jmp 0x405309
mov eax, 0x4c4359
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4052fc
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a1c3
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x4110c0
call fcn.0040ef38
add esp, 0x10
jmp 0x40575f
mov eax, str.Connection:_keep_alive_r_nUpgrade_Insecure_Requests:_1_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.9_r_nReferer:_https:__yangkeduo.com_personal.html_refer_page_nameloginrefer_page_idrefer_page_sn10169page_idis_back1
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405342
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 8
call fcn.0040ef32
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push 1
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
push 1
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.004058f0
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x405440
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x405450
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x405460
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x405470
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x405480
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405490
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4054a0
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x412290
call fcn.0040ef38
add esp, 0x10
call fcn.0040ef26
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x4054d6
mov eax, 0x4c3f5b
push eax
push 1
mov ebx, 0x410480
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4054fc
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405510
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401211
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405534
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x4c40bf
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.orderStatusPrompt_:_
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402ac8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405584
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405594
push ebx
call fcn.0040ef26
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4055a8
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x10001
push 0x6010000
push 0x52010001
push 1
mov ebx, 0x410e40
call fcn.0040ef38
add esp, 0x10
test eax, eax
je 0x40565f
fld qword [0x4c4377]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x410480
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x4c437f
push dword [ebp - 0x40]
push 0x4c438b
mov ecx, 3
call fcn.004019ec
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405634
push ebx
call fcn.0040ef26
add esp, 4
push 0
push dword [ebp - 0x44]
push 0xffffffffffffffff
push 8
push 0x16012dce
push 0x52010001
call fcn.0040ef4a
add esp, 0x18
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40565f
push ebx
call fcn.0040ef26
add esp, 4
push 0x10001
push 0x6010000
push 0x52010001
push 1
mov ebx, 0x410e40
call fcn.0040ef38
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x405692
jmp 0x405766
push 0x4c4391
push dword [ebp - 0x2c]
call fcn.00403408
add esp, 8
cmp eax, 0
je 0x4056c8
push 0x4c4398
push dword [ebp - 0x2c]
call fcn.00403408
add esp, 8
cmp eax, 0
je 0x4056c8
xor eax, eax
jmp 0x4056cd
mov eax, 1
test eax, eax
je 0x40573c
push dword [ebp - 0x2c]
push 0x4c439f
mov ecx, 2
call fcn.004019ec
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405701
push ebx
call fcn.0040ef26
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a1c3
push 0x10001
push 0x6010000
push 0x52010001
push 1
mov ebx, 0x410e40
call fcn.0040ef38
add esp, 0x10
test eax, eax
je 0x40573c
jmp 0x405766
push 0x80000301
push 0
push 0x3e8
push 1
mov eax, 3
mov ebx, 0x483a80
call fcn.0040ef2c
add esp, 0x10
pop ebx
pop ecx
jmp 0x404f5e
add esp, 8
push 0x10001
push 0x6010000
push 0x52010001
push 1
mov ebx, 0x410e40
call fcn.0040ef38
add esp, 0x10
test eax, eax
je 0x4057b9
push 0
push 0
push 0
push 0x10001
push 0x6010000
push 0x52010001
push 2
mov ebx, 0x410ea0
call fcn.0040ef38
add esp, 0x1c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4057c9
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4057d9
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4057e9
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4057f9
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405809
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405819
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405829
push ebx
call fcn.0040ef26
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405839
push ebx
call fcn.0040ef26
add esp, 4
mov esp, ebp
pop ebp
ret