Function at 0x409926
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 0x10
call fcn.0040f326
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x4aa5b0
push ebx
add ebx, 4
push ebx
push 8
call fcn.0040f326
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
add ebx, 4
push ebx
push 8
call fcn.0040f326
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
add ebx, 4
push ebx
push 0x10
call fcn.0040f326
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.004098d3
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.0040f326
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4aa5d8
push ebx
add ebx, 8
push ebx
push 8
call fcn.0040f326
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.004098e1
pop ebx
mov dword [ebp - 0x1c], 0
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36_r_nreferer:_https:__www.lanzous.com_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409a88
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.0040f326
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0
push dword [ebp + 8]
call fcn.00404b8d
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x409b96
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x409ba6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x409bb6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x409bc6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x409bd6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x409be6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x409bf6
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x409c06
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x412a10
call fcn.0040f320
add esp, 0x10
call fcn.0040f32c
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x409c3c
mov eax, 0x4aa265
push eax
push 1
mov ebx, 0x410de0
call fcn.0040f320
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x409c62
push ebx
call fcn.0040f32c
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.00408f66
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x409c7e
push ebx
call fcn.0040f32c
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409c92
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, str.action_.__sign_.10___p
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x409cf4
push ebx
call fcn.0040f32c
add esp, 4
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409d30
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 2
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409d70
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4aa2cb
push dword [ebp - 0x10]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x409da7
mov eax, str.downprocess
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409da3
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4aa2cb
push dword [ebp - 0x14]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x409e59
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, str._0_9a_zA_Z__70__c_c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x409e1e
push ebx
call fcn.0040f32c
add esp, 4
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409e55
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4aa2cb
push dword [ebp - 0x14]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x409e72
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x4aaad3
push dword [ebp - 0x14]
push str.sign
push dword [ebp - 0x10]
push str.action
mov ecx, 6
call fcn.0040359c
add esp, 0x18
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 dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.0040f326
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
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 1
push 1
mov eax, str.https:__lanzous.com_ajaxm.php
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00404b8d
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x409fa8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409fb8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x409fc8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x409fd8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x409fe8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x409ff8
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a008
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a018
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a028
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x412a10
call fcn.0040f320
add esp, 0x10
call fcn.0040f32c
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40a05e
mov eax, 0x4aa265
push eax
push 1
mov ebx, 0x410de0
call fcn.0040f320
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40a084
push ebx
call fcn.0040f32c
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a098
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x40a180
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x4aa5a1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a0ef
push ebx
call fcn.0040f32c
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4aa5a5
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a128
push ebx
call fcn.0040f32c
add esp, 4
push dword [ebp - 0x34]
push str._file_
push dword [ebp - 0x28]
mov ecx, 3
call fcn.0040359c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a153
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a163
push ebx
call fcn.0040f32c
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a177
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
jmp 0x40a28b
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4aa4be
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.dom
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004048ef
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a1cc
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a1dc
push ebx
call fcn.0040f32c
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x4aa4be
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, str.url
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004048ef
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a228
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a238
push ebx
call fcn.0040f32c
add esp, 4
push dword [ebp - 0x44]
push str._file_
push dword [ebp - 0x30]
mov ecx, 3
call fcn.0040359c
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a263
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a273
push ebx
call fcn.0040f32c
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a287
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040954a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a2ab
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x4aa2cb
push dword [ebp - 0x1c]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x40a35b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.004035f8
push getpeername
push 0
push str.http:__
push getpeername
push 0
push str.https:__
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40a309
mov eax, 0x4aa2cb
push eax
push 6
mov ebx, 0x4104d0
call fcn.0040f320
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a333
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040954a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a357
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40a377
push eax
mov ebx, eax
call fcn.00403531
inc eax
push eax
call fcn.0040f326
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40a37c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a38d
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a39d
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a3bd
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a3cd
push ebx
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0040f32c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a3ed
push ebx
call fcn.0040f32c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8