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

Disassembly:
push 0xffffffffffffffff
push 0x5227d0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
xor ebp, ebp
cmp dword [0x558ca4], ebp
mov dword [esp + 0x28], eax
je 0x46bbc4
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
mov dword [esp + 0x70], ebp
mov eax, dword [0x558c54]
mov esi, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push ebp
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jne 0x46bbe5
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x46bbb7
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004e66bd
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004e6578
add esp, 0x60
ret
call fcn.00410080
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov byte [esp + 0x70], 1
mov eax, dword [0x558ca4]
movzx ecx, word [eax]
lea edx, [esp + 0x30]
push edx
push ecx
call fcn.00468970
mov eax, dword [0x558c54]
mov edx, dword [eax]
add esp, 8
push esi
push eax
mov eax, dword [edx + 0x68]
call eax
cmp eax, 1
mov eax, dword [0x558cc4]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov edi, eax
sete bl
cmp edi, ebp
mov byte [esp + 0x1b], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], eax
je 0x46bef0
lea esp, [esp]
cmp edi, dword [esp + 0x3c]
jne 0x46bef0
cmp esi, ecx
sete al
test al, al
sete al
test al, al
je 0x46bd93
cmp esi, dword [edi + 4]
je 0x46bd8e
mov ebp, dword [esi + 8]
mov edx, dword [0x558ca4]
movzx ecx, word [ebp + 4]
movzx eax, word [edx]
cmp cx, ax
jne 0x46bce8
cmp bl, 1
jne 0x46bce8
movzx ecx, word [ebp + 6]
push ecx
call fcn.00469740
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46bd72
mov edx, dword [esp + 0x28]
mov esi, dword [ebx + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
add esi, 1
call edi
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call edi
push eax
push esi
push 0x10001
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringA]
sub eax, 2
jne 0x46bd6a
mov cx, word [ebx + 0xe]
cmp cx, word [esp + 0x24]
jmp 0x46bd1c
cmp word [ebp + 6], ax
jne 0x46bd72
cmp dword [edx + 0x10], 3
jl 0x46bd72
test bl, bl
jne 0x46bd72
push ecx
call fcn.00469740
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46bd72
mov edi, dword [ebx + 0x14]
mov esi, dword [esp + 0x28]
add edi, 1
call fcn.0040b6b0
test eax, eax
jne 0x46bd6a
cmp byte [ebp + 8], 1
jne 0x46bd46
cmp dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x4c]
jae 0x46bd33
lea esi, [esp + 0x4c]
mov edi, dword [ebx + 0x18]
add edi, 0x35
call fcn.0040b6b0
test eax, eax
je 0x46bdca
cmp byte [ebp + 8], 0
jne 0x46bd6a
cmp dword [esp + 0x60], 0x10
mov esi, dword [esp + 0x4c]
jae 0x46bd5b
lea esi, [esp + 0x4c]
mov edi, dword [ebx + 0x18]
add edi, 0x25
call fcn.0040b6b0
test eax, eax
je 0x46bdca
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
je 0x46bd8e
mov edx, dword [esi]
mov ecx, dword [esp + 0x2c]
mov bl, byte [esp + 0x1b]
mov dword [esp + 0x20], edx
mov esi, edx
xor ebp, ebp
jmp 0x46bc50
jmp fcn.004107d0
mov byte [esp + 0x70], 0
lea esi, [esp + 0x30]
call fcn.00410110
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x46bdbd
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e66bd
add esp, 4
mov dword [esp + 0x60], 0xf
jmp 0x46bbbb
mov eax, dword [ebp + 0xd]
test eax, eax
mov edi, dword [esp + 0x78]
lea ebx, [ebp + 0xd]
je 0x46be4c
cmp eax, edi
je 0x46be4c
push eax
push str.server_cord_already_established_:_discarding_session:__d
push 0x1000000
call fcn.00485d10
mov eax, dword [0x558c54]
mov edx, dword [ebx]
mov ecx, dword [eax]
add esp, 0xc
push 1
push edx
push eax
mov eax, dword [ecx + 0x5c]
call eax
lea eax, [esp + 0x1c]
mov esi, 0x59b2b0
call fcn.0046d790
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46beeb
cmp eax, esi
jne 0x46beeb
mov edx, dword [esp + 0x20]
cmp edx, dword [0x59b2b4]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x46be46
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.0046d4b0
mov dword [ebx], 0
cmp dword [ebx], edi
je 0x46bea5
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
mov dword [ebx], edi
push eax
mov ebx, 0x59b2b0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
call fcn.0046d3d0
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x46be7d
lea eax, [esp + 0x4c]
movzx ecx, word [esp + 0x24]
push ecx
push eax
push edi
push str.server_cord_established_:__d___s:_d_
push 0x2000001
call fcn.00485d10
mov eax, dword [0x558c54]
mov edx, dword [eax]
add esp, 0x14
push edi
push eax
mov eax, dword [edx + 0x64]
call eax
mov byte [esp + 0x70], 0
lea esi, [esp + 0x30]
call fcn.00410110
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x46becf
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004e66bd
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov eax, ebp
jmp 0x46bbc6
jmp fcn.00471830
jmp fcn.00410840