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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc8
xor ebp, ebp
inc ebp
test ecx, ecx
je 0x4b3e37
cmp dword [ecx], 0xbab1e
jne 0x4b3e37
mov ebp, 8
cmp byte [ecx + 0x10b], 0
je 0x4b3e44
mov eax, ebp
add esp, 0xc8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0xe0], 0
js 0x4b3e9e
mov dword [esp + 8], edx
mov dword [esp], ecx
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4b3ea5
xor esi, esi
mov edi, esi
mov ecx, ebx
lea edx, [esp + 0x34]
call fcn.004b3d81
mov ebp, eax
lea edx, [esi + 5]
xor ecx, ecx
mov eax, ebp
shr eax, cl
test eax, 0x10001
je 0x4b3e93
cmp dword [esp + ecx*4 + 0x34], 0xffffffff
je 0x4b3e8f
inc edi
inc ecx
cmp ecx, 5
jne 0x4b3e72
mov edi, edx
jmp 0x4b3e93
add esi, ecx
mov edi, esi
mov ebx, dword [ebx + 0x10]
mov esi, edi
test ebx, ebx
jne 0x4b3e60
jmp 0x4b3ea7
mov ebp, 0xa
jmp 0x4b3e37
xor edi, edi
lea ebx, [esp + 0x48]
mov esi, dword [esp]
mov ecx, esi
mov edx, ebx
call fcn.004b60a6
mov eax, dword [ebx]
mov ebx, dword [esp + 0xe0]
cmp eax, ebx
cmovb ebx, eax
movzx eax, byte [esp + 0xec]
add eax, dword [esp + 0xdc]
add eax, edi
cmp eax, 0xb
mov dword [esp + 0x20], eax
jb 0x4b3efe
lea eax, [eax*8]
push eax
call dword [0x7ec0dc]
add esp, 4
test eax, eax
jne 0x4b3f02
mov ebp, 3
jmp 0x4b3e37
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], ebx
xor ebp, ebp
test edi, edi
je 0x4b3fd8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4b3fd8
xor ebp, ebp
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x34]
call fcn.004b3d81
mov dword [esp + 4], eax
xor ebx, ebx
xor esi, esi
inc esi
mov ecx, ebx
shl esi, cl
mov eax, 0x10000
shl eax, cl
mov edx, dword [esp + 4]
shr edx, cl
test edx, 0x10001
je 0x4b3fc9
mov ecx, dword [esp + ebx*4 + 0x34]
cmp ecx, 0xffffffff
je 0x4b3fc9
mov edx, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0xc]
mov dword [ebp + edx*8], ecx
and esi, dword [esp + 4]
mov ecx, 0x300
cmove ecx, esi
mov edx, 0x29
cmovne esi, edx
mov edx, dword [esp + 0x14]
mov word [ebp + edx*8 + 4], cx
mov ebp, edx
test dword [esp + 4], eax
je 0x4b3fa1
or esi, 0x32
mov ecx, dword [esp + ebx*4 + 0x34]
call fcn.004b62ff
mov eax, dword [esp + 0xc]
or byte [eax + ebp*8 + 4], 0x10
push esi
mov esi, dword [esp + 4]
push dword [esi + 0x104]
push dword [esp + ebx*4 + 0x3c]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x4b4096
inc ebx
inc ebp
cmp ebx, 5
jne 0x4b3f34
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4b3f21
cmp dword [esp + 0xdc], 0
je 0x4b40b8
xor ebx, ebx
mov esi, dword [esp + 8]
movzx eax, word [esi + ebx*8 + 4]
mov ecx, eax
and ecx, 1
mov edx, 0x29
cmovne ecx, edx
mov edx, eax
and edx, 2
lea esi, [ecx + edx*2]
test al, 4
mov dword [esp + 0x14], ebp
je 0x4b401d
or esi, 0x32
mov eax, dword [esp + 8]
mov ecx, dword [eax + ebx*8]
call fcn.004b62ff
push esi
mov esi, dword [esp + 4]
push dword [esi + 0x104]
mov ebp, dword [esp + 0x10]
push dword [ebp + ebx*8]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x4b4096
mov ecx, ebp
mov eax, dword [ebp + ebx*8]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov dword [esi + ebp*8], eax
movzx eax, word [ecx + ebx*8 + 4]
and eax, 1
neg eax
and eax, 0x300
mov word [esi + ebp*8 + 4], ax
movzx ecx, word [ecx + ebx*8 + 4]
test cl, 6
je 0x4b4081
mov edx, ecx
and edx, 2
shl edx, 9
and ecx, 4
lea ecx, [edx + ecx*4]
movzx eax, ax
or eax, ecx
mov word [esi + ebp*8 + 4], ax
inc ebp
inc ebx
cmp dword [esp + 0xdc], ebx
mov esi, dword [esp + 8]
jne 0x4b3fec
jmp 0x4b40bc
mov ebp, 4
cmp dword [esp + 0x20], 0xb
jb 0x4b3e37
push dword [esp + 0xc]
call dword [0x7ec0e0]
add esp, 4
jmp 0x4b3e37
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xe4]
test ebp, ebp
jne 0x4b40d7
xor ecx, ecx
cmp byte [esp + 0xec], 0
je 0x4b42cc
mov dword [esp + 0x14], ebp
test ebp, ebp
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0xc]
je 0x4b4110
xor eax, eax
push eax
push eax
push dword [esp + 0x1c]
push ebp
call fcn.004d9ffb
add esp, 0x10
test eax, eax
js 0x4b4365
je 0x4b4110
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0
jmp 0x4b4134
mov eax, dword [esp]
add eax, 0x104
xor ecx, ecx
push ecx
push ebx
mov dword [esp + 0xc], 0
push ecx
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov al, 1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0xdc], 0
mov eax, dword [esp + 0xe4]
je 0x4b4215
test eax, eax
setne al
and al, byte [esp + 0x1c]
mov byte [esp + 0x13], al
lea eax, [edi*8 + 6]
add eax, ebp
mov dword [esp + 0x28], eax
xor ebx, ebx
mov eax, dword [esp + 0x28]
movzx eax, word [eax + ebx*8]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + ebx*8]
xor eax, eax
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x20], edx
push edx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
je 0x4b4193
xor ebp, ebp
jmp 0x4b41bf
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test al, 0x29
setne cl
lea edx, [ecx + 4]
test al, 0x32
cmove edx, ecx
mov ebp, eax
shr ebp, 1
and ebp, 2
or ebp, edx
test eax, eax
setne al
and al, byte [esp + 0x13]
movzx eax, al
add dword [esp + 4], eax
push 0
mov eax, dword [esp + 4]
push dword [eax + 0x104]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp byte [esp + 0x1c], 0
jne 0x4b4202
xor eax, eax
mov edx, dword [esp + 0x2c]
test edx, 0x300
setne al
mov ecx, edx
shr ecx, 2
and ecx, 4
shr edx, 9
and edx, 2
or edx, ecx
or edx, eax
movzx ebp, bp
or ebp, edx
mov word [esi + ebx*8 + 6], bp
inc ebx
cmp dword [esp + 0xdc], ebx
jne 0x4b4165
test edi, edi
je 0x4b42ae
mov esi, dword [esp]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4b42b1
cmp dword [esp + 0xe4], 0
setne al
and al, byte [esp + 0x1c]
mov byte [esp + 8], al
xor ebp, ebp
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x34]
call fcn.004b3d81
mov edi, eax
xor ebx, ebx
mov eax, edi
mov ecx, ebx
shr eax, cl
test eax, 0x10001
je 0x4b42a1
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x4c]
push eax
push ebp
push dword [esp + ebx*4 + 0x3c]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x4b4289
cmp dword [esp + 0x4c], 0
setne al
and al, byte [esp + 8]
movzx eax, al
add dword [esp + 4], eax
push 0
push dword [esi + 0x104]
push dword [esp + ebx*4 + 0x3c]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc ebx
cmp ebx, 5
jne 0x4b4251
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4b4240
jmp 0x4b42b1
mov esi, dword [esp]
push dword [esi + 0x104]
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esp + 4]
cmp dword [esp + 0x20], 0xb
mov eax, dword [esp + 0xc]
jb 0x4b42e5
push eax
mov esi, ecx
call dword [0x7ec0e0]
mov ecx, esi
add esp, 4
mov eax, ebp
test ebx, ebx
je 0x4b42ed
mov dword [ebx], ecx
xor ebp, ebp
test eax, eax
jne 0x4b3e37
cmp byte [esp + 0xe8], 0
je 0x4b3e37
cmp byte [esp + 0xec], 0
jne 0x4b3e37
mov dword [esp + 0x30], 0
mov ecx, dword [esp]
cmp dword [ecx], 0xbab1e
jne 0x4b3e37
cmp byte [ecx + 0x10b], 0
jne 0x4b3e37
lea edi, [esp + 0x30]
mov edx, edi
call fcn.004b60a6
mov eax, dword [edi]
test eax, eax
je 0x4b3e37
mov ecx, dword [esp + 0x24]
cmp eax, ecx
cmovb ecx, eax
push 0
push ecx
call fcn.004d9ec4
add esp, 8
jmp 0x4b3e37
mov ebp, 0xc
jmp 0x4b3e37