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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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 eax, 0xe28809
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4378c4
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x30], 0
jne 0x4378f0
mov eax, 0xe2883d
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4378ea
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28844
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437925
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c09
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x43795f
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437992
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4379a6
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4379ba
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4379e0
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4379f0
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437a04
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c1b
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x437a3e
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437a71
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437a85
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437a99
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437abf
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437acf
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437ae3
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c26
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x437b1d
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437b50
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437b64
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437b78
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437b9e
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437bae
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437bc2
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c32
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x437bfc
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437c2f
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437c43
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437c57
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437c7d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437c8d
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437ca1
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c41
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c4c
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437d04
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437d18
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437d2c
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437d52
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437d62
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437d76
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c60
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c7b
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437dd9
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437ded
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437e01
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437e27
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437e37
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437e4b
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c7f
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe286b0
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437eae
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437ec2
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437ed6
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437efc
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437f0c
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437f20
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c88
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x437f5a
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5e1190
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x437f8d
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437fa1
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437fb5
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437fdb
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x437feb
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437fff
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x438021
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
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 0x438032
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 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
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
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
push 1
mov eax, 0xe28c93
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00411c0d
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x438136
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x438146
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x438156
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x438166
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x438176
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x438186
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x438196
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5e4d50
call fcn.005ddd41
add esp, 0x10
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4381cd
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004116f2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4381f1
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xa3c5e4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe28e82
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040fc5d
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x438241
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x438251
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x438267
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xa3c5e4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe28e8c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040fc5d
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4382b9
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4382c9
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4382df
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x438301
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x438306
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x438317
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x438327
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x438337
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x438347
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x438357
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c