Function at 0x412b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x3c]
sub esp, 0x3c
push 0xffffffffffffffff
push 0x4c150b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp + 0x38], edi
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x20]
cmp esi, dword [edi + 0x24]
jbe 0x412b5c
call fcn.00480e22
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x412cbe
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x412b78
call fcn.00480e22
movzx eax, word [edi + 0x2c]
mov ecx, esi
mov esi, dword [edi + 0x74]
push eax
call fcn.0045f000
mov eax, dword [edi + 0x74]
mov dword [ebp + 0x10], vtable.SocketStream.0
mov dword [ebp + 0x14], vtable.SocketStream.1.0
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x98]
mov eax, dword [edi + 0x4c]
push ecx
lea edx, [edi + 0x50]
push edx
push eax
lea ecx, [edi + 0x30]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.004508b0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.00450a40
lea eax, [ebp - 0xdc]
call fcn.00450c10
lea ecx, [ebp + 0x1c]
push ecx
call fcn.0045cd30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x84]
mov esi, eax
cmp eax, dword [ebp - 0x80]
jbe 0x412bfb
call fcn.00480e22
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x412cc5
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x412c1a
call fcn.00480e22
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push esi
lea ecx, [ebp + 0x1c]
call eax
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x74]
push eax
call edx
lea eax, [ebp - 0xdc]
push eax
call fcn.00451030
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 4]
lea ebx, [edi + 0x7c]
mov ecx, ebx
mov dword [ebp + 8], vtable.AutoLock.0
mov dword [ebp + 0xc], ebx
call eax
mov byte [ebp - 4], 4
cmp byte [edi + 0x78], 0
jne 0x412ccc
lea ecx, [ebp - 0x50]
push ecx
call fcn.004392d0
push 0
push 0
mov byte [ebp - 4], 5
mov edx, dword [edi + 0x74]
mov esi, dword [edi + 0x6c]
push eax
push edx
call fcn.0040e660
mov eax, dword [ebp - 0x24]
xor esi, esi
mov dword [ebp - 0x34], vtable.StringStorage.0
cmp eax, esi
je 0x412ca4
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.00480e32
add esp, 4
mov dword [edi + 0x74], esi
jmp 0x412cce
mov eax, dword [eax]
jmp 0x412b6e
mov eax, dword [eax]
jmp 0x412c10
xor esi, esi
mov byte [ebp - 4], 3
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x1c], vtable.AnsiStringStorage.0
cmp eax, esi
je 0x412cf2
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [ebp + 0x20]
push ecx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
call fcn.00480e32
add esp, 4
lea esi, [ebp - 0xdc]
call fcn.00450970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x3c
mov esp, ebp
pop ebp
ret