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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
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
push 8
call fcn.00409c4f
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x482f0a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
push 8
call fcn.00409c4f
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x482add
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], esp
mov eax, 3
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x40386a
push 6
call fcn.00409c73
add esp, 4
test eax, eax
je 0x404d29
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.00404e7b
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00405217
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4038b7
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4038cb
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405217
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403905
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403919
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x482adc
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.004023e7
add esp, 8
cmp eax, 0
jne 0x403982
lea eax, [ebp - 8]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0
push 0
push 1
push dword [ebp - 0x40]
mov eax, 4
call fcn.00409c79
cmp dword [ebp - 0x44], esp
je 0x40397a
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x4039fe
lea eax, [ebp - 8]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0x54]
call fcn.00405217
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040537f
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4039c7
push ebx
call fcn.00409c5b
add esp, 4
mov dword [ebp - 0x50], esp
push 0
push 0
push dword [ebp - 0x4c]
push 3
push dword [ebp - 0x40]
mov eax, 4
call fcn.00409c79
cmp dword [ebp - 0x50], esp
je 0x4039fb
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x404d29
lea eax, [ebp - 4]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
push dword [ebp + 8]
call fcn.00405413
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0xc]
mov eax, 5
call fcn.00409c79
cmp dword [ebp - 0x48], esp
je 0x403a4c
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x404d29
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov eax, 6
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x403a8d
push 6
call fcn.00409c73
add esp, 4
push dword [ebp + 8]
call fcn.004055ad
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00405217
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403ac6
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403ada
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x403af3
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40a720
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x482f66
push dword [ebp - 0x40]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403b37
push ebx
call fcn.00409c5b
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x403b4b
mov eax, 0x482f66
jmp 0x403b50
mov eax, 0x482f6b
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00405217
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x403b81
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403b95
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x482adc
mov ebx, dword [ebp + 0x3c]
push dword [ebx]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x403be1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x403bdc
push eax
mov ebx, eax
call fcn.0040106c
inc eax
push eax
call fcn.00409c4f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403bff
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx]
test eax, eax
je 0x403bff
push eax
mov ebx, eax
call fcn.0040106c
inc eax
push eax
call fcn.00409c4f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00405217
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403c30
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403c44
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040537f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040537f
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x48]
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x10]
mov eax, 7
call fcn.00409c79
cmp dword [ebp - 0x4c], esp
je 0x403ca4
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x403e12
push 0x482adc
mov ebx, dword [ebp + 0x5c]
push dword [ebx]
call fcn.004023e7
add esp, 8
cmp eax, 0
je 0x403dda
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x40a060
call fcn.00409c55
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0x5c]
call fcn.00405217
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040537f
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x403d32
push ebx
call fcn.00409c5b
add esp, 4
push 0x482adc
mov ebx, dword [ebp + 0x64]
push dword [ebx]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 0
push dword [ebp + 0x64]
call fcn.00405217
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040537f
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x403d8b
push ebx
call fcn.00409c5b
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x403d9f
mov eax, 0
jmp 0x403da2
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esp
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
push 1
push dword [ebp - 0x24]
mov eax, 8
call fcn.00409c79
cmp dword [ebp - 0x64], esp
je 0x403dda
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x40], esp
push 4
mov eax, 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 0x58
push dword [ebp - 0x24]
mov eax, 9
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x403e12
push 6
call fcn.00409c73
add esp, 4
cmp dword [ebp + 0x44], 0
je 0x403e59
mov dword [ebp - 0x40], esp
push 4
mov eax, 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 0x58
push dword [ebp - 0x24]
mov eax, 9
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x403e54
push 6
call fcn.00409c73
add esp, 4
jmp 0x403e91
mov dword [ebp - 0x40], esp
push 4
mov eax, 2
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 0x58
push dword [ebp - 0x24]
mov eax, 9
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x403e91
push 6
call fcn.00409c73
add esp, 4
push 0x482adc
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004023e7
add esp, 8
cmp eax, 0
je 0x403f77
push 0x482ae5
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str.Cookie:
mov ecx, 3
call fcn.004010d7
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00405217
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403ef9
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403f0d
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
push 0x80000301
push 0
push accept
push 0x80000301
push 0
push 0x10000000
push 2
mov ebx, 0x40a060
call fcn.00409c55
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0x44]
push 0xffffffff
push dword [ebp - 0x40]
push dword [ebp - 0x24]
mov eax, 0xa
call fcn.00409c79
cmp dword [ebp - 0x48], esp
je 0x403f77
push 6
call fcn.00409c73
add esp, 4
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x403f8c
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40a720
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x482f66
push dword [ebp - 0x40]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403fd0
push ebx
call fcn.00409c5b
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x404005
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x403fef
mov eax, 0x482add
push eax
push 1
mov ebx, 0x40a130
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404028
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404060
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Accept:
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404099
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
mov eax, 0
sete al
test eax, eax
je 0x4040cd
mov eax, str.Accept:_image_jpeg__application_x_ms_application__image_gif__application_xamlxml__image_pjpeg__application_x_ms_xbap__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_n
jmp 0x4040d2
mov eax, 0x482adc
mov dword [ebp - 0x4c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4040e8
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40410e
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404130
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Accept_Language:
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404169
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
mov eax, 0
sete al
test eax, eax
je 0x40419d
mov eax, str.Accept_Language:_zh_CN_r_n
jmp 0x4041a2
mov eax, 0x482adc
mov dword [ebp - 0x4c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4041b8
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4041de
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404200
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Connection:
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404239
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
mov eax, 0
sete al
test eax, eax
je 0x40426d
mov eax, str.Connection:_Keep_Alive_r_n
jmp 0x404272
mov eax, 0x482adc
mov dword [ebp - 0x4c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x404288
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4042ae
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4042d0
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4042e5
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40a720
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x482f66
push dword [ebp - 0x40]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404329
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Content_Type:
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404362
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
mov eax, 0
sete al
test eax, eax
je 0x404396
mov eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
jmp 0x40439b
mov eax, 0x482adc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x44], 0
je 0x4043c9
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4043c4
push eax
mov ebx, eax
call fcn.0040106c
inc eax
push eax
call fcn.00409c4f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4043ce
mov eax, 0x482adc
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4043e1
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4043f4
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40441a
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40443c
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x404460
mov eax, 0x482add
push eax
push 1
mov ebx, 0x40b470
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404486
push ebx
call fcn.00409c5b
add esp, 4
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00405217
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4044b4
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4044c8
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
mov eax, 0x482add
xor ecx, ecx
test eax, eax
je 0x4044f4
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x404507
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40451e
dec eax
test ecx, ecx
je 0x40451e
call fcn.004036fb
add esp, 0xc
test eax, eax
je 0x404593
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40453e
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40a720
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x482f66
push dword [ebp - 0x48]
call fcn.004023e7
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404582
push ebx
call fcn.00409c5b
add esp, 4
cmp dword [ebp - 0x4c], 0
je 0x404593
mov eax, 1
jmp 0x404595
xor eax, eax
mov dword [ebp - 0x50], eax
push dword [ebp + 0x14]
call fcn.0040537f
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x50], 0
je 0x4045b5
mov eax, dword [ebp - 0x54]
jmp 0x4045ba
mov eax, 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esp
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x28]
push dword [ebp - 0x58]
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x24]
mov eax, 0xb
call fcn.00409c79
cmp dword [ebp - 0x5c], esp
je 0x4045f5
push 6
call fcn.00409c73
add esp, 4
test eax, eax
je 0x404d29
push 0
mov ebx, 0x40c640
call fcn.00409c55
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], esp
push 0
push dword [ebp - 0x24]
mov eax, 0xc
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x404639
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x404697
push 0
mov ebx, 0x40c640
call fcn.00409c55
add esp, 4
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x58]
fsub qword [ebp - 0x60]
fcomp qword [0x4830fc]
fnstsw ax
test ah, 0x41
jne 0x404692
jmp 0x404697
jmp 0x404612
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x40b370
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4046cc
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x1000
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x40]
push 0
push 0x16
push dword [ebp - 0x24]
mov eax, 0xd
call fcn.00409c79
cmp dword [ebp - 0x44], esp
je 0x404723
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.004057d8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404757
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x28], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x40b370
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4047a7
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040537f
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x28]
push eax
push 0x400
push dword [ebp - 0x40]
push dword [ebp - 0x24]
mov eax, 0xe
call fcn.00409c79
cmp dword [ebp - 0x44], esp
je 0x4047e5
push 6
call fcn.00409c73
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x28]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404802
mov eax, 0x482add
push eax
push 2
mov ebx, 0x40b330
call fcn.00409c55
add esp, 0x1c
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40483a
push ebx
call fcn.00409c5b
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x40476b
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404869
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x404d29
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0
push 0
push 0
push getpeername
push 0
push 0x482ae5
push getpeername
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x4048c9
mov eax, 0x482adc
push eax
push 3
mov ebx, 0x40ae30
call fcn.00409c55
add esp, 0x28
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404901
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4048fd
imul eax, dword [ebx]
jmp 0x4048f2
mov ecx, eax
test ecx, ecx
je 0x404920
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404919
push ebx
push eax
call fcn.00409c5b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404907
call fcn.00409c5b
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.00401004
xor ecx, ecx
push eax
lea eax, [ebp - 0x3c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x404c8a
mov ebx, dword [ebp - 0x38]
call fcn.0040101d
push ebx
push ecx
mov eax, dword [ebp - 0x3c]
dec eax
jns 0x404968
push 4
call fcn.00409c73
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40497b
push 1
call fcn.00409c73
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push getpeername
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x483104
push getpeername
push 0
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
test eax, eax
jne 0x4049b6
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x404abc
mov ebx, dword [ebp - 0x38]
call fcn.0040101d
push ebx
push ecx
mov eax, dword [ebp - 0x3c]
dec eax
jns 0x4049f3
push 4
call fcn.00409c73
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404a06
push 1
call fcn.00409c73
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push getpeername
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00401064
push getpeername
push 0
push 0x483104
push getpeername
push 0
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
test eax, eax
jne 0x404a51
mov eax, 0x482adc
push eax
push 6
mov ebx, 0x40ac40
call fcn.00409c55
add esp, 0x4c
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x404a7a
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40ac20
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404aa0
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ab6
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0040101d
push ebx
push ecx
mov eax, dword [ebp - 0x3c]
dec eax
jns 0x404ad9
push 4
call fcn.00409c73
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404aec
push 1
call fcn.00409c73
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push getpeername
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
test eax, eax
jne 0x404b27
mov eax, 0x482adc
push eax
push 4
mov ebx, 0x40a5a0
call fcn.00409c55
add esp, 0x34
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x404c82
mov ebx, dword [ebp - 0x38]
call fcn.0040101d
push ebx
push ecx
mov eax, dword [ebp - 0x3c]
dec eax
jns 0x404b64
push 4
call fcn.00409c73
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404b77
push 1
call fcn.00409c73
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push 1
mov eax, 0x483119
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, str.Set_Cookie:
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x40]
call fcn.00405965
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404bb6
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404bc6
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x404bd9
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40ac20
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x404bff
push ebx
call fcn.00409c5b
add esp, 4
push 0x483127
push dword [ebp - 0x50]
mov ecx, 2
call fcn.004010d7
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404c27
push ebx
call fcn.00409c5b
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x404c3a
mov eax, 0x482adc
push eax
push 1
mov ebx, 0x40afc0
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x404c60
push ebx
call fcn.00409c5b
add esp, 4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x404c82
push ebx
call fcn.00409c5b
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40493d
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x404cb1
mov eax, 0x482add
push eax
push 1
mov ebx, 0x40b470
call fcn.00409c55
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404cd7
push ebx
call fcn.00409c5b
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ced
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp + 0x38], 0
jne 0x404d29
mov eax, 0x482adc
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d23
push ebx
call fcn.00409c5b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x24]
mov eax, 0xf
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x404d4b
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x40], esp
push dword [ebp - 0x10]
mov eax, 0xf
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x404d6d
push 6
call fcn.00409c73
add esp, 4
mov dword [ebp - 0x40], esp
push dword [ebp - 0xc]
mov eax, 0xf
call fcn.00409c79
cmp dword [ebp - 0x40], esp
je 0x404d8f
push 6
call fcn.00409c73
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x404da9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00409c4f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404dae
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404dbf
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404dcf
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404ddf
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404def
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404dff
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404e1f
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404e2f
push ebx
call fcn.00409c5b
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404e4d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404e49
imul eax, dword [ebx]
jmp 0x404e3e
mov ecx, eax
test ecx, ecx
je 0x404e6c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404e65
push ebx
push eax
call fcn.00409c5b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404e53
call fcn.00409c5b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x64