Function at 0x409be6
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
push 4
call fcn.0040ddfa
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x30005
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4778d0
call fcn.0040ddf4
add esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 4
call fcn.0040ddfa
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
push 0x30004
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x477790
call fcn.0040ddf4
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0xffffffffffffffff
push 0x13
push 0x16012cca
push 0x52010001
call fcn.0040de18
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16012cca
push 0x52010001
push 2
mov ebx, 0x410350
call fcn.0040de00
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409ce5
push ebx
call fcn.0040ddee
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x30005
push 0
push dword [ebp - 8]
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409d06
mov eax, 0x4b8314
push eax
push 0x30004
push 0
push dword [0x4f0eb0]
push 3
mov eax, 2
mov ebx, 0x477830
call fcn.0040ddf4
add esp, 0x28
push getpeername
push 0
push 0x4b8314
push 0
push 0
push 0
push getpeername
push 0
push str.DIRECT
push 0x30005
push 0
push dword [ebp - 8]
push 4
mov eax, 2
mov ebx, 0x477a10
call fcn.0040ddf4
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jge 0x409da8
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30005
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x477950
call fcn.0040ddf4
add esp, 0x28
push getpeername
push 0
push 0x4b8314
push 0
push 0
push 0
push getpeername
push 0
push str.REJECT
push 0x30005
push 0
push dword [ebp - 8]
push 4
mov eax, 2
mov ebx, 0x477a10
call fcn.0040ddf4
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jge 0x409e25
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30005
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x477950
call fcn.0040ddf4
add esp, 0x28
mov dword [ebp - 0x10], 0
push dword [0x4f0ebc]
push str.Authorization:_Bearer
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x4f0ec0]
test ebx, ebx
je 0x409e5e
push ebx
call fcn.0040ddee
add esp, 4
pop eax
mov dword [0x4f0ec0], eax
inc dword [ebp - 0x10]
push 0
push 0
push 0
push 0x30005
push 0
push dword [ebp - 8]
push 2
mov eax, 2
mov ebx, 0x477930
call fcn.0040ddf4
add esp, 0x1c
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x40e1c0
call fcn.0040de00
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.004021a3
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x409f0a
push 0
push 0
push 0
push 0x30005
push 0
push dword [ebp - 8]
push 2
mov eax, 2
mov ebx, 0x477930
call fcn.0040ddf4
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30005
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x4779d0
call fcn.0040ddf4
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409f52
push ebx
call fcn.0040ddee
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x409f69
mov eax, 0x4b8314
push eax
push getpeername
push 0
push str.name
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x4779b0
call fcn.0040ddf4
add esp, 0x28
push 0
mov ebx, 0x40f680
call fcn.0040de00
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push 1
push 3
push 1
push 1
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.004078d6
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x40f570
call fcn.0040de00
add esp, 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040a43a
mov dword [ebp - 0x3c], eax
push 0x4b8323
push dword [ebp - 0x3c]
push 0x4b88aa
push dword [ebp - 0x38]
push 0x4b88b2
push dword [ebp - 0x34]
mov ecx, 6
call fcn.0040106f
add esp, 0x18
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a030
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a040
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a050
push ebx
call fcn.0040ddee
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40a063
mov eax, 0x4b8314
push eax
push 0x10005
push 0x16012c1d
push 0x52010001
push 2
mov ebx, 0x4104b0
call fcn.0040de00
add esp, 0x1c
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a095
push ebx
call fcn.0040ddee
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a0a8
mov eax, 0x4b8314
push eax
push 0x30004
push 0
push dword [0x4f0ec4]
push 2
mov eax, 2
mov ebx, 0x4777f0
call fcn.0040ddf4
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push str._proxies_
push dword [0x4f0eb8]
push str.http:__127.0.0.1:
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a103
push ebx
call fcn.0040ddee
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a117
push ebx
call fcn.0040ddee
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40a12e
mov eax, 0x4b8314
push eax
push getpeername
push 0
push str.name
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x4779b0
call fcn.0040ddf4
add esp, 0x28
mov ebx, 9
call fcn.0040146e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x30004
push 0
push dword [ebp - 0x18]
push 6
mov eax, 2
mov ebx, 0x4777d0
call fcn.0040ddf4
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a1b6
push ebx
call fcn.0040ddee
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 0x4f0ec0
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
lea eax, [ebp - 0x20]
push eax
push 1
push 3
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b798
mov ebx, eax
test ebx, ebx
je 0x40a23e
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a24e
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a25e
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a26e
push ebx
call fcn.0040ddee
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a27e
push ebx
call fcn.0040ddee
add esp, 4
cmp dword [ebp - 0x28], 0xcc
je 0x40a32e
push 0
mov ebx, 0x40f680
call fcn.0040de00
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push 1
push 3
push 1
push 1
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.004078d6
mov dword [ebp - 0x34], eax
push 0x4b88c7
push dword [ebp - 0x34]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a2e9
push ebx
call fcn.0040ddee
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40a2fc
mov eax, 0x4b8314
push eax
push 0x10005
push 0x16012c1d
push 0x52010001
push 2
mov ebx, 0x4104b0
call fcn.0040de00
add esp, 0x1c
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a32e
push ebx
call fcn.0040ddee
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16012c1e
push 0x52010001
call fcn.0040de18
add esp, 0x10
mov dword [ebp - 0x2c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40a35a
mov eax, 0x4b8314
push eax
push 1
mov ebx, 0x40e7f0
call fcn.0040de00
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a380
push ebx
call fcn.0040ddee
add esp, 4
push 1
push 1
push 1
push dword [ebp - 0x30]
call fcn.004092a9
jmp 0x409e64